Style - container styles. More...
Public Member Functions | |
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. | |
CSAD_API void * | set (unsigned _int32 id, void *param) |
used for any interface commands. | |
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. | |
virtual CSAD_API void | quit () |
Transfers control to the nested components quit calling each of them. | |
template<typename T > | |
_FORCEINLINE void | removeComponent () |
Detaches the component from a container. | |
CSAD_API void * | setComponents (unsigned int id, void *param) |
virtual CSAD_API void | start () |
Transfers control to the nested components start calling each of them. | |
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. | |
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... | |
Static Public Member Functions inherited from csad::ContainerComponents | |
static CSAD_API int | regClass (const char *name, const void *info, tfSTDCALL_p_FUNC_p fun) |
Style - container styles.
Necessary to create the model of the parameter list. Not tied to a particular environment, allows you to store various components and their parameters for future use. Unlike the base of the container tied to the Manager graphics. You can use any set of components, which contains the necessary settings, which can be the same for a large number of objects. Changing the style settings after you install it in your object, may not always lead to a change of an object that requires a re-install of the style object.
For description in the configuration:
<Style name="the name of the style"> ... components ... </Style>