Chi-Tech
|
Go to the source code of this file.
Data Structures | |
class | ChiObjectFactory |
struct | ChiObjectFactory::ObjectRegistryEntry |
Macros | |
#define | ChiObjectFactoryJoinWordsA(x, y) x##y |
#define | ChiObjectFactoryJoinWordsB(x, y) ChiObjectFactoryJoinWordsA(x, y) |
#define | RegisterChiObject(namespace_name, object_name) |
#define | RegisterChiObjectParametersOnly(namespace_name, object_name) |
#define | RegisterSyntaxBlock(namespace_name, block_name, syntax_function) |
#define ChiObjectFactoryJoinWordsA | ( | x, | |
y | |||
) | x##y |
Small utility macro for joining two words.
Definition at line 10 of file ChiObjectFactory.h.
#define ChiObjectFactoryJoinWordsB | ( | x, | |
y | |||
) | ChiObjectFactoryJoinWordsA(x, y) |
IDK why this is needed. Seems like counter doesnt work properly without it
Definition at line 12 of file ChiObjectFactory.h.
#define RegisterChiObject | ( | namespace_name, | |
object_name | |||
) |
Macro for registering an object within the ChiObjectFactory singleton.
namespace_name | Name of the namespace within which the object is. |
object_name | Name of the object in the registry. Example: RegisterChiObject(kaka, Zorba);
#define RegisterChiObject(namespace_name, object_name) Definition: ChiObjectFactory.h:22 |
Definition at line 22 of file ChiObjectFactory.h.
#define RegisterChiObjectParametersOnly | ( | namespace_name, | |
object_name | |||
) |
Macro for registering an object (parameters only) within the ChiObjectFactory singleton.
namespace_name | Name of the namespace within which the object is. |
object_name | Name of the object in the registry. Example: RegisterChiObjectParametersOnly(kaka, Zorba);
#define RegisterChiObjectParametersOnly(namespace_name, object_name) Definition: ChiObjectFactory.h:38 |
Definition at line 38 of file ChiObjectFactory.h.
#define RegisterSyntaxBlock | ( | namespace_name, | |
block_name, | |||
syntax_function | |||
) |
Macro for registering a pure input parameters block within the ChiObjectFactory singleton AND giving it a custom name
namespace_name | Name of the namespace within which the object is. |
block_name | Name of the object in the registry. |
syntax_function | Actual syntax function for this object Example: RegisterSyntaxBlock(kaka, Zorba, ZorbaSyntaxFunction);
#define RegisterSyntaxBlock(namespace_name, block_name, syntax_function) Definition: ChiObjectFactory.h:55 |
Definition at line 55 of file ChiObjectFactory.h.