Functions used to iterate through the elements in the order the server application would draw them onto the display or manipulating this drawing order.
More...
Functions used to iterate through the elements in the order the server application would draw them onto the display or manipulating this drawing order.
◆ ACAPI_DrawOrder_CreationOrderGetNext()
| GSErrCode ACAPI_DrawOrder_CreationOrderGetNext |
( |
API_Guid * | guid | ) |
|
Returns the next element's GUID from the previously initialized creation order table.
- Parameters
-
| guid | [in/out] On input, this is the GUID of the element for which the next in creation order is sought. On output, this is the GUID of the following element. |
- Returns
- NoError - The function completed successfully.
- APIERR_BADPARS - The guid parameter is nullptr.
- APIERR_GENERAL - The creation order table was not allocated beforehand.
- APIERR_NOMORE - The guid parameter is not in the table or it was the last element.
- Example
void PrintGuidsInCreationOrder ()
{
{
}
}
return;
}
◆ ACAPI_DrawOrder_DisposeCreationOrderTable()
| GSErrCode ACAPI_DrawOrder_DisposeCreationOrderTable |
( |
| ) |
|
Disposes of the previously allocated creation order table.
- Returns
- NoError - The function completed successfully.
- APIERR_GENERAL - The creation order table was not allocated beforehand.
- Example
void PrintGuidsInCreationOrder ()
{
{
}
}
return;
}
◆ ACAPI_DrawOrder_DrawOrderGetNext()
| GSErrCode ACAPI_DrawOrder_DrawOrderGetNext |
( |
API_ElemFilterFlags | filterBits, |
|
|
API_Elem_Head * | elemHead ) |
Returns a reference to the next element of the current database in the order specified by the BTF/STB system.
- Parameters
-
| filterBits | [in] Element filter attributes (pass as VALUE). |
| elemHead | [out] Element reference. |
- Returns
- NoError - The function completed successfully.
- APIERR_BADPARS - elemHead is nullptr.
- APIERR_NOMORE - No more elements in the list.
- Example
GSErrCode err;
while (err == NoError) {
if (err == NoError) {
}
}
err = NoError;
while (err == NoError) {
if (err == NoError) {
}
}
err = NoError;
◆ ACAPI_DrawOrder_DrawOrderInit()
| GSErrCode ACAPI_DrawOrder_DrawOrderInit |
( |
| ) |
|
Initializes a loop on the current database to get the elements in the order specified by the BTF/STB system.
- Returns
- NoError - The function completed successfully.
- Example
GSErrCode err;
while (err == NoError) {
if (err == NoError) {
}
}
err = NoError;
◆ ACAPI_DrawOrder_DrawOrderTerm()
| GSErrCode ACAPI_DrawOrder_DrawOrderTerm |
( |
| ) |
|
Signals the end of a draw order loop.
- Returns
- NoError - The function completed successfully.
◆ ACAPI_DrawOrder_InitCreationOrderTable()
| GSErrCode ACAPI_DrawOrder_InitCreationOrderTable |
( |
API_ElemFilter * | elemFilter | ) |
|
Initializes an internal table for fast access to the next element in creation order.
- Parameters
-
| elemFilter | [in] Optional parameter; can be nullptr. Use this filter to exclude element types from the access table. |
- Returns
- NoError - The function completed successfully.
- APIERR_MEMFULL - The internal creation order table cannot be allocated.
- APIERR_NESTING - Internal access table initializations cannot be nested; you should dispose of the previously allocated table before initializing a new one.
- Example
void PrintGuidsInCreationOrder ()
{
{
}
}
return;
}