Zen API

- Home
- Topics
- Types
- Files

All Classes Files Functions Variables Typedefs Friends Macros Modules Pages

#define kMsgQueue_AddExT | ( |  | kMsgQueue_queue,
|  |  | TPtr_item,
|  |  | kMsgQueueItemOption_options
| ) |  |
| related

Adds an item to the queue with the specified options.

This method is a type-checked variant of kMsgQueue_AddEx. A debug assertion will be raised if the size of the specified item type is not equal to the size of the collection item type.

Parameters

  kMsgQueue_queue | Queue object.
  TPtr_item | Strongly-typed pointer to item to be added.
  kMsgQueueItemOption_options | Bitset of item options.

Returns
  Operation status.

See also
  kMsgQueue_Add