55 void MHEG5rootPrint(
MHEG5Root *root,
char *out)
58 MHEG5classPrint(root->clazz, out);
60 MHEG5intPrint(root->id, out);
115 destination->clazz = source->clazz;
116 destination->id = source->id;
141 CALL_PRINT((
">> MHEG5rootPrepare(%p)\n", root));
146 assert( !root->availabilityStatus );
154 root->availabilityStatus = MHEG5TRUE;
163 CALL_PRINT((
"<< MHEG5rootPrepare\n"));
194 assert(root->availabilityStatus);
213 if (!root->runningStatus)
215 root->runningStatus = MHEG5FALSE;
250 if (!root->availabilityStatus)
254 if (root->runningStatus)
258 root->availabilityStatus = MHEG5FALSE;
292 return MHEG5ERR_WRONGNUMBEROFPARAMS;
294 MHEG5resolveORef(params, &statusVar);
297 return MHEG5ERR_WRONGNUMBEROFPARAMS;
299 if (statusVar->clazz != MHEG5BOOLEANVARIABLE)
301 return MHEG5ERR_WRONGPARAM;
303 if (!statusVar->runningStatus)
305 return MHEG5ERR_PARAMNOTACTIVE;
308 if ((target) && (target->availabilityStatus))
317 return MHEG5ERR_NOERROR;
344 return MHEG5ERR_WRONGNUMBEROFPARAMS;
346 MHEG5resolveORef(params, &statusVar);
349 return MHEG5ERR_WRONGNUMBEROFPARAMS;
352 if (statusVar->clazz != MHEG5BOOLEANVARIABLE)
354 return MHEG5ERR_WRONGPARAM;
359 return MHEG5ERR_PARAMNOTACTIVE;
364 return MHEG5ERR_NOERROR;
void MHEG5rootClone(MHEG5Root *destination, MHEG5Root *source)
Implementation of the root part of the Close action.
Distributor for Prepare, Destruct, Activate, Deactivate and Clone calls. Distribute the +Prepare +Des...
MHEG5ErrorCode MHEG5getAvailabilityStatus(MHEG5Root *target, MHEG5GList *params)
Implementation of the GetAvailabilityStatus action GetAvailabilityStatus (AvailabilityStatusVar) Set ...
void MHEG5finalDeactivate(MHEG5Root *item)
Implement the MHEG5 Variable Class 21 Variable Class Defines a variable within the context of a Group...
MHEG5ErrorCode MHEG5getRunningStatus(MHEG5Root *target, MHEG5GList *params)
Implementation of the GetRunningStatus action GetRunningStatus (RunningStatusVar) Set the Variable re...
void MHEG5rootDestruct(MHEG5Root *root)
Implementation of the Destruction behaviour Destruction This behaviour has the basic semantics of ask...
void MHEG5rootDeactivate(MHEG5Root *root)
Implementation of the Deactivation behaviour Deactivation This behaviour has the basic semantics of n...
Event handling. Implementation of a combined queue for events and actions. This is the eventsystem wh...
void MHEG5rootActivate(MHEG5Root *root)
Implementation of the Activation behaviour Activation This behaviour has the basic semantics of immed...
Implement functions to retrieve MHEG5objects by GroupID and ID.
Mheg5 logging and debug printing.
void MHEG5rootFree(MHEG5Root *root)
Free off all memory associated with the specified object, including any exchanged attributes and inte...
void MHEG5rootPrepare(MHEG5Root *root)
Implementation of the Preparation behaviour Preparation This behaviour has the basic semantics of all...
void MHEG5rootInit(MHEG5Root *root)
Initialise a Root object with default values.
void MHEG5sendSync(MHEG5Root *source, MHEG5EventType event, MHEG5Int data)
Store an event in the synchronous event queue.