|
Wraith
0.1.5
Basic 3D game engine in C++
|
Updatable control update callback and registration/deregistration. More...
#include <Updatable.h>


Public Member Functions | |
| Updatable () | |
| Default constructor. More... | |
| Updatable (const Updatable &)=default | |
| Updatable & | operator= (const Updatable &)=default |
| Updatable (Updatable &&)=default | |
| Updatable & | operator= (Updatable &&)=default |
Protected Member Functions | |
| void | submitUpdateRegistration () |
| Submit update registration to current scene. More... | |
| void | submitUpdateDeregistration () |
| Submit update deregistration to current scene. More... | |
| bool | isRegisteredForUpdate () const |
| Query if this object is registered for update. More... | |
Private Member Functions | |
| void | setDeleteReference (const UpdatableManager::StorageListReference &) |
| UpdatableManager::StorageListReference | getDeleteReference () const |
| void | registerToScene () |
| Registers to the current scene. More... | |
| void | deregisterFromScene () |
| Deregisters from the current scene. More... | |
| virtual void | update () |
| Update callback for this object. More... | |
Static Private Member Functions | |
| static void | DebugPrint (const std::string &message) |
Private Attributes | |
| UpdatableManager::StorageListReference | _deleteReference |
| UpdateRegistrationCommand * | _pUpdateRegistrationCommand |
| UpdateDeregistrationCommand * | _pUpdateDeregistrationCommand |
| RegistrationState | _currentRegistrationState |
Static Private Attributes | |
| static const std::string | DEBUG_TITLE_MESSAGE = "Updatable_DEBUG: " |
Friends | |
| class | UpdatableAttorney |
Updatable control update callback and registration/deregistration.
| Updatable::Updatable | ( | ) |
Default constructor.
Initializes its UpdateRegistrationCommand and UpdateDeregistrationCommand. Also sets its RegistrationState to RegistrationState::CURRENTLY_DEREGISTERED.