|
EzGL
|
Component enlister and smart pointer factory. More...
Go to the source code of this file.
Data Structures | |
| class | EzGL::ComponentFactory |
| Component enlister and smart pointer factory. More... | |
Macros | |
| #define | EZGL_COMPONENT_ENLIST(Obj) |
| Enlist your custom component to the component factory. More... | |
Typedefs | |
| using | EzGL::ComponentPtr = std::unique_ptr< class IComponent > |
| Component smart pointer type. | |
| using | EzGL::ComponentVec = std::vector< ComponentPtr > |
| Component smart pointer container. | |
Component enlister and smart pointer factory.
| #define EZGL_COMPONENT_ENLIST | ( | Obj | ) |
Enlist your custom component to the component factory.
When implementing a component, place this in your header file just before the class definition.
| Obj | The name of the component class being enlisted. |
1.8.15