Go to the source code of this file.
#define DEFAULT_COMPONENT_ALLOCATOR |
( |
|
cname | ) |
|
Value: static
void Deallocate(
IComponent* cmp) {
delete static_cast<CCmp##cname*
> (cmp); } \
virtual int GetComponentTypeId() const \
{ \
return CID_##cname; \
}
Definition: IComponent.h:33
shared_ptr< u8 > Allocate(size_t size)
Definition: shared_ptr.cpp:55
Abstraction around a SpiderMonkey JSContext.
Definition: ScriptInterface.h:71
#define DEFAULT_MOCK_COMPONENT |
( |
| ) |
|
Value:virtual int GetComponentTypeId() const \
{ \
return -1; \
} \
{ \
} \
virtual void Deinit() \
{ \
} \
{ \
} \
{ \
} \
An entity initialisation parameter node.
Definition: ParamNode.h:148
#define UNUSED(param)
mark a function parameter as unused and avoid the corresponding compiler warning. ...
Definition: code_annotation.h:38
Serialization interface; see serialization overview.
Definition: ISerializer.h:120
static Status Init()
Definition: h_mgr.cpp:744
Deserialization interface; see serialization overview.
Definition: IDeserializer.h:34
#define DEFAULT_SCRIPT_WRAPPER |
( |
|
cname | ) |
|
#define REGISTER_COMPONENT_SCRIPT_WRAPPER |
( |
|
cname | ) |
|
Value: { \
mgr.RegisterComponentTypeScriptWrapper(CCmp##cname::GetInterfaceId(), CID_##cname, CCmp##
cname::Allocate, CCmp##cname::Deallocate, #cname, CCmp##cname::GetSchema()); \
CCmp##cname::ClassInit(mgr); \
}
shared_ptr< u8 > Allocate(size_t size)
Definition: shared_ptr.cpp:55
Definition: ComponentManager.h:40
#define REGISTER_COMPONENT_TYPE |
( |
|
cname | ) |
|
Value: { \
mgr.RegisterComponentType(CCmp##cname::GetInterfaceId(), CID_##cname, CCmp##
cname::Allocate, CCmp##cname::Deallocate, #cname, CCmp##cname::GetSchema()); \
CCmp##cname::ClassInit(mgr); \
}
shared_ptr< u8 > Allocate(size_t size)
Definition: shared_ptr.cpp:55
Definition: ComponentManager.h:40