ComponentRegistry doesn't take over ownership of components.
More...
#include <Component.h>
|
| virtual void | RegisterComponent (const String &name, Component *component) |
| | Registers given component to given unique name.
|
| |
| virtual void | UnregisterComponent (const String &name) |
| | Unregister component mapped to given unique name.
|
| |
|
Component * | GetComponent (const String &name) |
| | Finds component with given unique name.
|
| |
| virtual void | Clear () |
| | Deletes all components from list. It does not destroy objects.
|
| |
|
void | PutAtTop (const String &id) |
| | Move component mapped to given unique name to the top of a surface.
|
| |
|
|
std::vector< std::pair< String, Component * > > & | getComponents () |
| | Returns reference to a list of components.
|
| |
|
|
ComponentCallback | m_Callback |
| | Action component callback.
|
| |
ComponentRegistry doesn't take over ownership of components.
◆ Clear()
| void Andromenda::ComponentRegistry::Clear |
( |
| ) |
|
|
virtual |
Deletes all components from list. It does not destroy objects.
Reimplemented in Andromenda::Surface.
◆ RegisterComponent()
| void Andromenda::ComponentRegistry::RegisterComponent |
( |
const String & | name, |
|
|
Component * | component ) |
|
virtual |
◆ UnregisterComponent()
| void Andromenda::ComponentRegistry::UnregisterComponent |
( |
const String & | name | ) |
|
|
virtual |
Unregister component mapped to given unique name.
- Parameters
-
Reimplemented in Andromenda::Surface.
The documentation for this class was generated from the following files: