Define OpenSnRegisterObjectInNamespace

Define Documentation

OpenSnRegisterObjectInNamespace(namespace_name, object_name)

Macro for registering an object within the ObjectFactory singleton.

Note

Remember to include the header “framework/object_factory.h”.

Parameters:
  • namespace_name – Name of the namespace within which the object is.

  • object_name – Name of the object in the registry. Example:

    OpenSnRegisterObjectInNamespace(kaka, Zorba);