18 namespace ksComponentState
A class that serves as the base for user-defined applications.
Definition ksApplication.h:44
Base component class.
Definition ksComponent.h:36
virtual bool init(ksApplication *app)
Initializes component.
Definition ksComponent.cpp:14
ksComponentState::TYPE componentState
Holds current state of the component.
Definition ksComponent.h:42
virtual bool postInit(ksApplication *app)
Method called after component initialization, used to setup references to other components.
Definition ksComponent.cpp:24
virtual bool loop(ksApplication *app)
Handles component loop logic, called from application loop.
Definition ksComponent.cpp:19
Implements RTTI (run-time type information) for objects.
Definition ksRtti.h:26