![]() |
VR-Link API Documentation for HLA 1.3
|
Collaboration diagram for DtShmMsgQueueManager:Public Member Functions | |
| DtShmMsgQueueManager (DtShmMsgQueue *q, int size, int sem, int firstSem, bool pleaseInit, bool dropOldest) | |
| virtual | ~DtShmMsgQueueManager (void) |
| void | setBlockingRead (bool mode) |
| void | setBlockingWrite (bool mode) |
| bool | isBlockingRead () |
| bool | isBlockingWrite () |
| bool | isDropOldest () |
| int | getGoAway () |
| DtU32 | notifyReader () |
| void | setNotifyReader (DtU32 count) |
Protected Attributes | |
| DtShmMsgQueue * | queue |
| int | physEnd |
| int | semid |
| struct sembuf | testAndSetLock |
| struct sembuf | clearLock |
| struct sembuf | addBytes |
| struct sembuf | subBytes |
| struct sembuf | addPackets |
| struct sembuf | subPackets |
Private Member Functions | |
| int | lockFront (int wait) |
| void | unlockFront (void) |
| void | incrPacketCount (int amount) |
| void | incrByteCount (int amount) |
| void | decrByteCount (int amount) |
| void | decrPacketCount (int amount) |
| int | getPhysEnd () |
| void | setFront (int newFront) |
| int | getFront () |
| void | setGoAway (int reason) |
| void | setDropOldest (bool mode) |
| void | setInternal (int mode) |
| bool | isInternal () |
| DtMsgQueueElement * | getQueueElement (int i) |
Friends | |
| class | DtShmMsgQueueReader |
| class | DtShmMsgQueueWriter |
| DtShmMsgQueueManager::DtShmMsgQueueManager | ( | DtShmMsgQueue * | q, |
| int | size, | ||
| int | sem, | ||
| int | firstSem, | ||
| bool | pleaseInit, | ||
| bool | dropOldest | ||
| ) |
| virtual DtShmMsgQueueManager::~DtShmMsgQueueManager | ( | void | ) | [virtual] |
| void DtShmMsgQueueManager::decrByteCount | ( | int | amount | ) | [private] |
| void DtShmMsgQueueManager::decrPacketCount | ( | int | amount | ) | [private] |
| int DtShmMsgQueueManager::getFront | ( | ) | [inline, private] |
| int DtShmMsgQueueManager::getGoAway | ( | ) | [inline] |
| int DtShmMsgQueueManager::getPhysEnd | ( | ) | [inline, private] |
| DtMsgQueueElement* DtShmMsgQueueManager::getQueueElement | ( | int | i | ) | [inline, private] |
References Dt_Msg_Queue_Element::data.
| void DtShmMsgQueueManager::incrByteCount | ( | int | amount | ) | [private] |
| void DtShmMsgQueueManager::incrPacketCount | ( | int | amount | ) | [private] |
| bool DtShmMsgQueueManager::isBlockingRead | ( | ) | [inline] |
| bool DtShmMsgQueueManager::isBlockingWrite | ( | ) | [inline] |
| bool DtShmMsgQueueManager::isDropOldest | ( | ) | [inline] |
| bool DtShmMsgQueueManager::isInternal | ( | ) | [inline, private] |
| int DtShmMsgQueueManager::lockFront | ( | int | wait | ) | [private] |
| void DtShmMsgQueueManager::setBlockingRead | ( | bool | mode | ) | [inline] |
| void DtShmMsgQueueManager::setBlockingWrite | ( | bool | mode | ) | [inline] |
| void DtShmMsgQueueManager::setDropOldest | ( | bool | mode | ) | [inline, private] |
| void DtShmMsgQueueManager::setFront | ( | int | newFront | ) | [inline, private] |
| void DtShmMsgQueueManager::setGoAway | ( | int | reason | ) | [inline, private] |
| void DtShmMsgQueueManager::setInternal | ( | int | mode | ) | [inline, private] |
| void DtShmMsgQueueManager::setNotifyReader | ( | DtU32 | count | ) | [inline] |
| void DtShmMsgQueueManager::unlockFront | ( | void | ) | [private] |
friend class DtShmMsgQueueReader [friend] |
friend class DtShmMsgQueueWriter [friend] |
struct sembuf DtShmMsgQueueManager::addBytes [protected] |
struct sembuf DtShmMsgQueueManager::addPackets [protected] |
struct sembuf DtShmMsgQueueManager::clearLock [protected] |
int DtShmMsgQueueManager::physEnd [protected] |
DtShmMsgQueue* DtShmMsgQueueManager::queue [protected] |
int DtShmMsgQueueManager::semid [protected] |
struct sembuf DtShmMsgQueueManager::subBytes [protected] |
struct sembuf DtShmMsgQueueManager::subPackets [protected] |
struct sembuf DtShmMsgQueueManager::testAndSetLock [protected] |