77 U32BIT token_num, actions_num, num;
80 MHEG5ingredientPrint(&tokenGroup->
ingredient, out);
85 MHEG_PRINT(out,
":TokenGroupItems (");
91 while (token_num != 0)
100 MHEG5intPrint(currTGItem->
id, out);
104 MHEG_PRINT(out,
"(");
106 MHEG_PRINT(out,
" ");
107 MHEG5intPrint(currTGItem->
id, out);
108 MHEG_PRINT(out,
")");
112 MHEG_PRINT(out,
":ActionSlots (");
120 while (actions_num != 0)
123 MHEG_PRINT(out,
"( // AS=");
124 MHEG5intPrint(num, out);
126 MHEG5actionPrint(*actions_ptr, out);
128 MHEG_PRINT(out,
")");
136 MHEG_PRINT(out,
")");
141 MHEG_PRINT(out,
")");
150 MHEG_PRINT(out,
")");
154 if (actions_num != 0)
158 MHEG_PRINT(out,
":NoTokenActionSlot ");
166 MHEG_PRINT(out,
"(");
168 MHEG5actionPrint(*actions_ptr, out);
170 MHEG_PRINT(out,
")");
175 while (actions_num != 0);
194 U32BIT token_num, actions_num;
352 int ind = (event_indent_num << 1) + 1;
365 DBG_PRINTF(
"Tokengroup: %c%ld posn: %d aslot: %d",
413 extra_trace_param = (position << 16) | idx;
416 if (position >= ((
MHEG5TokenGroup *)target)->tokens_num || position < 0)
423 token_ptr += position;
424 if (idx <= token_ptr->actions_num && idx > 0)
429 MHEG5LogPrintf(MHEG5CALLS,
"MHEG5callActionSlot position = %d, %d\n", position, idx);
433 if (mheg_trace_debug & (TACTIONS | TEVNTS))
MHEG5Bool availabilityStatus
void MHEG5tokenManagerDestruct(MHEG5TokenManager *tokenManager)
Destruct a TokenManager object.
void MHEG5tokenManagerFree(MHEG5TokenManager *tokenManager)
Free off all memory associated with the specified object, including any exchanged attributes and inte...
Distributor for Prepare, Destruct, Activate, Deactivate and Clone calls. Distribute the +Prepare +Des...
MHEG5Bool MHEG5sameGroup(MH5GroupPtr gptr, MH5GroupRef gref)
Compares group ptr with group ref to see whether they both reference the same group. The first is pointer to group, the second can be a relative group name and will be converted to absolute prior to the comparison, so two different references that resolve to reference the same group name produces a True return value.
void MHEG5finalActivate(MHEG5Root *item)
void MHEG5PrependActionList(MHEG5ActionList actions)
Execute the supplied list of actions before others.
MHEG5Root * MHEG5findObject(MH5GroupRef gid, MHEG5Int id)
MHEG5GList * MHEG5resolveGenericInteger(MHEG5GList *params, MHEG5Int *value)
void MHEG5ingredientDestruct(MHEG5Ingredient *ingredient)
Implementation of the Destruction behaviour Execute the following sequence of actions: ...
union sMH5GroupRef::@5 ptr
MHEG5ErrorCode MHEG5callActionSlot(MHEG5Root *target, MHEG5GList *params)
void MHEG5tokenGroupDestruct(MHEG5TokenGroup *tokenGroup)
Implement the MHEG5 Variable Class 21 Variable Class Defines a variable within the context of a Group...
void MHEG5stringDestruct(MHEG5String *item)
Destruct a MHEG5String.
Implement the MHEG5 Tokengroup Class 29 TokenGroup Class. Defines a group of Visible objects for navi...
void MHEG5tokenManagerPrepare(MHEG5TokenManager *tokenManager)
Sets all internal attributes for the specified object to their default values.
void MHEG5tokenGroupDeactivate(MHEG5TokenGroup *tokenGroup)
Implement Functions to support Service Gateways. Functions for standarizing several GroupIDs like +DS...
void MHEG5tokenGroupPrepare(MHEG5TokenGroup *tokenGroup)
void MHEG5tokenGroupActivate(MHEG5TokenGroup *tokenGroup)
MHEG5TokenSlot * tokens_ptr
Event handling. Implementation of a combined queue for events and actions. This is the eventsystem wh...
void MHEG5tokenGroupFree(MHEG5TokenGroup *tokenGroup)
<Function description>="">
void MHEG5ingredientDeactivate(MHEG5Ingredient *ingredient)
Implementation of Deactivate behaviour Inherrited from Root class.
Implement functions to retrieve MHEG5objects by GroupID and ID.
void MHEG5ingredientPrepare(MHEG5Ingredient *ingredient)
Implementation of the Preparation behaviour Inherrited from Root class.
Mheg5 logging and debug printing.
MHEG5Ingredient ingredient
void MHEG5actionDestruct(MHEG5ActionList actions)
<Function description>="">
void MHEG5queueUnresolveTargets(MHEG5ActionList actions)
Clear targets for the action list.
MHEG5ActionList * actions_ptr
void MHEG5queueResolveTargets(MHEG5ActionList actions)
Finds targets for the action list.
void MHEG5ingredientFree(MHEG5Ingredient *ingredient)
Free off all memory associated with the specified object, including any exchanged attributes and inte...
MHEG5TokenManager tokenManager
void MHEG5sendSync(MHEG5Root *source, MHEG5EventType event, MHEG5Int data)
Store an event in the synchronous event queue.