OpenEnroth 73e68f7
|
#include <PlatformApplicationAware.h>
Protected Member Functions | |
~PlatformApplicationAware ()=default | |
PlatformApplication * | application () const |
template<class T > | |
T * | component () const |
virtual void | installNotify () |
virtual void | removeNotify () |
Private Member Functions | |
void | initialize (PlatformApplication *application, const PlatformComponentStorage *componentStorage) |
void | deinitialize () |
Private Attributes | |
PlatformApplication * | _application = nullptr |
const PlatformComponentStorage * | _componentStorage = nullptr |
Friends | |
class | PlatformApplication |
Derive your component from PlatformApplicationAware
to get access to an application instance that it was installed into.
|
protecteddefault |
|
inlineprotected |
|
inlineprotected |
|
inlineprivate |
|
inlineprivate |
|
inlineprotectedvirtual |
Called after installation into a PlatformApplication
. application()
will return non-null inside this function.
Reimplemented in EngineRandomComponent.
|
inlineprotectedvirtual |
Called before removal from a PlatformApplication
. application()
will return non-null inside this function.
Reimplemented in EngineControlComponent, EngineDeterministicComponent, and EngineRandomComponent.
|
friend |
|
private |
|
private |