|
EpcTools
An event based multi-threaded C++ development framework.
|
The private queue class. More...
#include <eqpriv.h>
Public Member Functions | |
| EQueuePrivate () | |
| Default constructor. More... | |
| ~EQueuePrivate () | |
| Class destructor. More... | |
| Void | init (Int nMsgSize, Int nMsgCnt, Int queueId, Bool bMultipleReaders, Bool bMultipleWriters, EQueueBase::Mode eMode) |
| Initializes the private message queue. More... | |
Public Member Functions inherited from EQueueBase | |
| Bool | push (EQueueMessage &msg, Bool wait=True) |
| Writes a message to the queue. More... | |
| EQueueMessage * | pop (Bool wait=True) |
| Retrieves the next message from the queue. More... | |
| Void | destroy () |
| Destroys the message queue. More... | |
Additional Inherited Members | |
Public Types inherited from EQueueBase | |
| enum | Mode { ReadOnly, WriteOnly, ReadWrite } |
| The queue access modes. More... | |
The private queue class.
| EQueuePrivate::EQueuePrivate | ( | ) |
Default constructor.
| EQueuePrivate::~EQueuePrivate | ( | ) |
Class destructor.
|
inline |
Initializes the private message queue.
| nMsgSize | the maximum message size. |
| nMsgCnt | the maximum number of messages that can be in the queue at one time. |
| queueId | the queue identifier. |
| bMultipleReaders | indicates whether or not that there are multiple readers. |
| bMultipleWriters | indicates whether or not that there are multiple writers. |
| eMode | the open mode. |
1.8.16