Configurable Class Reference
Configurable components. More...
#include <configurable.h>
Inheritance diagram for Configurable:
Public Member Functions | |
LM_INTERFACE_CLASS (Configurable, Component, 1) | |
LM_DISABLE_COPY_AND_MOVE (Configurable) | |
LM_INTERFACE_F (0, Initialize, bool(const PropertyNode *prop)) | |
Initialize the configurable component. More... | |
Public Member Functions inherited from SIMDAlignedType | |
void * | operator new (std::size_t size) throw (std::bad_alloc) |
void | operator delete (void *p) |
Detailed Description
Configurable components.
Component with initialized with user defined types and properties. The configurable component has same format in the scene configuration file:
component_name: type: component_type params: param_1: ... param_2: ... ...
Member Function Documentation
Configurable::LM_INTERFACE_F | ( | 0 | , |
Initialize | , | ||
bool(const PropertyNode *prop) | |||
) |
Initialize the configurable component.
Initializes the component with the parameters specified by the property node prop
.
prop The propery node pointing to params
node.
- Return values
-
true Succeeded to initialize. false Failed to initialize.