![]() |
MHEG5
18.9.0
MHEG5 Documentation
|
Implementation of the Group class Description Defines the structure and behaviour of objects used as composition of Ingredients. Base class Root Subclasses Scene, Application Status Abstract class. More...
Go to the source code of this file.
Classes | |
struct | sMHEG5Group |
Macros | |
#define | GRP_HASH_TABLE_SIZE 251 |
Typedefs | |
typedef struct sMHEG5Group | MHEG5Group |
Functions | |
void | MHEG5groupAddItem (MHEG5Group *group, MHEG5Ingredient *item) |
Add an Item to the List. More... | |
void | MHEG5groupDelItem (MHEG5Group *group, MHEG5Ingredient *item) |
Delete Item from the List. More... | |
void | MHEG5groupInit (MHEG5Group *group) |
Initialise an Group object with default Values. More... | |
void | MHEG5groupFree (MHEG5Group *group) |
Free off all memory associated with the specified object, including any exchanged attributes and internal data. The data holding the object itself is not freed. More... | |
void | MHEG5groupPrepare (MHEG5Group *group) |
Implementation of the Preparation behaviour Preparation. More... | |
void | MHEG5groupDestruct (MHEG5Group *group) |
Implementation of the Destruction behaviour Destruction. More... | |
void | MHEG5groupActivate (MHEG5Group *group) |
Implementation of the Activation behaviour Activation. More... | |
void | MHEG5groupDeactivate (MHEG5Group *group) |
Implementation of the Deactivation behaviour Deactivation If group is not active, ignore behaviour. If group is active, do the following three steps: More... | |
MHEG5ErrorCode | MHEG5setCachePriority (MHEG5Root *target, MHEG5GList *params) |
Implementation of the SetCachePriority action SetCachePriority (NewCachePriority) Set the GroupCachePriority attribute to NewCachePriority. Provisions of use: The Target object shall be available. NewCachePriority shall be set within the range [0, 255]. SetCachePriority –> Target, NewCachePriority Target –> GenericObjectReference NewCachePriority –> GenericInteger. More... | |
MHEG5ErrorCode | MHEG5setTimer (MHEG5Root *target, MHEG5GList *params) |
This actions sets a new Timer which results in a TimerFired event when the given time is reached. Implementation of the SetTimer (TimerId, TimerValue, AbsoluteTime) action of the group class SetTimer (TimerId, TimerValue, AbsoluteTime) Update the list of timers of the group. Execute the following sequence of actions: More... | |
void | MH5_GroupInit (void) |
This function initialises Group Timers. More... | |
Implementation of the Group class Description Defines the structure and behaviour of objects used as composition of Ingredients. Base class Root Subclasses Scene, Application Status Abstract class.
Definition in file mh5group.h.
#define GRP_HASH_TABLE_SIZE 251 |
Definition at line 40 of file mh5group.h.
typedef struct sMHEG5Group MHEG5Group |
void MH5_GroupInit | ( | void | ) |
void MHEG5groupActivate | ( | MHEG5Group * | group | ) |
Implementation of the Activation behaviour Activation.
group | Group to activate |
MHEG5PROFILE_UK1_06
Definition at line 672 of file mh5group.c.
void MHEG5groupAddItem | ( | MHEG5Group * | group, |
MHEG5Ingredient * | item | ||
) |
Add an Item to the List.
group | Group to add item to |
item | Item to add |
Definition at line 205 of file mh5group.c.
void MHEG5groupDeactivate | ( | MHEG5Group * | group | ) |
Implementation of the Deactivation behaviour Deactivation If group is not active, ignore behaviour. If group is active, do the following three steps:
group | Group to deactivate |
MHEG5PROFILE_UK1_06
Definition at line 802 of file mh5group.c.
void MHEG5groupDelItem | ( | MHEG5Group * | group, |
MHEG5Ingredient * | item | ||
) |
Delete Item from the List.
group | Group to delete item from |
item | Item to delete |
Definition at line 235 of file mh5group.c.
void MHEG5groupDestruct | ( | MHEG5Group * | group | ) |
Implementation of the Destruction behaviour Destruction.
group | Group to destruct |
MHEG5PROFILE_UK1_06
Definition at line 497 of file mh5group.c.
void MHEG5groupFree | ( | MHEG5Group * | group | ) |
Free off all memory associated with the specified object, including any exchanged attributes and internal data. The data holding the object itself is not freed.
group | Pointer to object to free. |
Definition at line 315 of file mh5group.c.
void MHEG5groupInit | ( | MHEG5Group * | group | ) |
Initialise an Group object with default Values.
group | Pointer to a group object to initialise |
Definition at line 285 of file mh5group.c.
void MHEG5groupPrepare | ( | MHEG5Group * | group | ) |
Implementation of the Preparation behaviour Preparation.
group | Group to apply behaviour to |
MHEG5PROFILE_UK1_06
Definition at line 349 of file mh5group.c.
MHEG5ErrorCode MHEG5setCachePriority | ( | MHEG5Root * | target, |
MHEG5GList * | params | ||
) |
Implementation of the SetCachePriority action SetCachePriority (NewCachePriority) Set the GroupCachePriority attribute to NewCachePriority. Provisions of use: The Target object shall be available. NewCachePriority shall be set within the range [0, 255]. SetCachePriority –> Target, NewCachePriority Target –> GenericObjectReference NewCachePriority –> GenericInteger.
target | target object for this action |
params | Action parameters |
Definition at line 937 of file mh5group.c.
MHEG5ErrorCode MHEG5setTimer | ( | MHEG5Root * | target, |
MHEG5GList * | params | ||
) |
This actions sets a new Timer which results in a TimerFired event when the given time is reached. Implementation of the SetTimer (TimerId, TimerValue, AbsoluteTime) action of the group class SetTimer (TimerId, TimerValue, AbsoluteTime) Update the list of timers of the group. Execute the following sequence of actions:
target | target object for this action |
params | Function parameter |
target | target object for this action |
params | Function parameter |
Definition at line 1070 of file mh5group.c.