CSAD
 All Classes Namespaces Functions Variables Enumerations Enumerator Friends Groups Pages
Public Member Functions | Static Public Member Functions | List of all members
csad::Core Class Referenceabstract

Core - the Manager interface of the application. More...

Inheritance diagram for csad::Core:
csad::ContainerComponents csad::BaseObject

Public Member Functions

_FORCEINLINE ClassManagerclassManager ()
 Manager classes.
 
_FORCEINLINE Graphgraph ()
 Manager graphical elements.
 
_FORCEINLINE Inputinput ()
 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 Systemsystem ()
 the Manager of system objects
 
_FORCEINLINE Timertimer ()
 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 ComponentaddComponent (char *name)
 
_FORCEINLINE ComponentaddComponent (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 ComponentgetComponent (void *t)
 Returns the component of the given type, if it is not in a container returns 0.
 
_FORCEINLINE ComponentgetComponent (char *name)
 
_FORCEINLINE ComponentgetComponent (const char *name)
 
_FORCEINLINE ComponentsMaplist ()
 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 ParametersListread (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 CoreCreate ()
 creates the environment
 
static _FORCEINLINE Corecurrent ()
 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...
 

Detailed Description

Core - the Manager interface of the application.

See Also
csad: core