This method constructs an OMEventQueue object and initializes the OMTMMessageQueue<OMEvent> superclass of the event queue, with the given size and ability to grow dynamically.
OMEventQueue(const long messageQueueSize =
OMOSThread::DefaultMessageQueueSize,
OMBoolean dynamicMessageQueue = TRUE) :
OMTMMessageQueue<OMEvent>(messageQueueSize,
dynamicMessageQueue)
messageQueueSize
The size of the message queue. If not overridden, the message queue size is initialized to the value of the static constant DefaultMessageQueueSize in OMOSThread.
dynamicMessageQueue
A Boolean value that specifies whether the message queue size is dynamic (TRUE) or fixed (FALSE). By default, the message queue size is dynamic.