Core - the Manager interface of the application. More...
Public Member Functions | |
_FORCEINLINE ClassManager * | classManager () |
Manager classes. | |
_FORCEINLINE Graph * | graph () |
Manager graphical elements. | |
_FORCEINLINE Input * | input () |
The Manager of the input systems. | |
MEMNULL _FORCEINLINE ObjectManager * | manager () |
the root object Manager | |
virtual void | quit ()=0 |
Transfers control to the nested components quit calling each of them. | |
virtual void | start ()=0 |
Transfers control to the nested components start calling each of them. | |
_FORCEINLINE System * | system () |
the Manager of system objects | |
_FORCEINLINE Timer & | timer () |
timer | |
Public Member Functions inherited from csad::ContainerComponents | |
template<typename T > | |
_FORCEINLINE T * | addComponent () |
Adds the component of the specified type in the container if this component already exists, returns available. | |
_FORCEINLINE Component * | addComponent (char *name) |
_FORCEINLINE Component * | addComponent (const char *name) |
_FORCEINLINE iterator | begin () |
The first element of the list of components. | |
template<typename T > | |
_FORCEINLINE void | deleteComponent () |
Detaches the component from the container and remove the component. | |
_FORCEINLINE iterator | end () |
The final element of the list component. | |
_FORCEINLINE void | freeComponents () |
detaches and removes components | |
template<typename T > | |
_FORCEINLINE T * | getComponent () |
Returns the component of the given type, if it is not in a container returns 0. | |
_FORCEINLINE Component * | getComponent (void *t) |
Returns the component of the given type, if it is not in a container returns 0. | |
_FORCEINLINE Component * | getComponent (char *name) |
_FORCEINLINE Component * | getComponent (const char *name) |
_FORCEINLINE ComponentsMap & | list () |
Returns list of Components. | |
template<typename T > | |
_FORCEINLINE void | removeComponent () |
Detaches the component from a container. | |
CSAD_API void * | set (unsigned _int32, void *) |
used for any interface commands. | |
CSAD_API void * | setComponents (unsigned int id, void *param) |
virtual CSAD_API void | update () |
Transfers control to the nested components causing update each of them. | |
Public Member Functions inherited from csad::BaseObject | |
_FORCEINLINE bool | isContainer () |
returns true if the object is a container. | |
_FORCEINLINE ParametersList * | read (ParametersList *data) |
read attributes object. | |
_FORCEINLINE void * | type () |
the output pointer to the typeid() of the class. | |
_FORCEINLINE void | write (ParametersList *data) |
record attributes of the object. | |
Static Public Member Functions | |
static _FORCEINLINE Core * | Create () |
creates the environment | |
static _FORCEINLINE Core & | current () |
returns the current environment | |
static _FORCEINLINE void | set (Core *core) |
sets the active environment | |
Static Public Member Functions inherited from csad::ContainerComponents | |
static CSAD_API int | regClass (const char *name, const void *info, tfSTDCALL_p_FUNC_p fun) |
Additional Inherited Members | |
Public Types inherited from csad::BaseObject | |
enum | BASE { ANY = 0x00000000, EVENT = 0x00000001, TYPE = 0x00000002, CONTAINER = 0x00000003, MANAGER_COUNT = 0x00000004, MANAGER = 0x00000005, WRITE = 0x00000006, READ = 0x00000007, SELECT = 0x00000008, RUN = 0x00000009, LIST = 0x0000000A, LIST_COUNT = 0x0000000B, NAME = 0x0000000C, CHILD_NAME = 0x0000000D } |
the basic format of the interface More... | |
Core - the Manager interface of the application.