VR-Link API Documentation for HLA Evolved
Public Member Functions | Protected Attributes | Private Member Functions | Friends
DtShmMsgQueueManager Class Reference
+ Collaboration diagram for DtShmMsgQueueManager:

List of all members.

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

DtShmMsgQueuequeue
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 ()
DtMsgQueueElementgetQueueElement (int i)

Friends

class DtShmMsgQueueReader
class DtShmMsgQueueWriter

Constructor & Destructor Documentation

DtShmMsgQueueManager::DtShmMsgQueueManager ( DtShmMsgQueue q,
int  size,
int  sem,
int  firstSem,
bool  pleaseInit,
bool  dropOldest 
)
virtual DtShmMsgQueueManager::~DtShmMsgQueueManager ( void  ) [virtual]

Member Function Documentation

void DtShmMsgQueueManager::decrByteCount ( int  amount) [private]
void DtShmMsgQueueManager::decrPacketCount ( int  amount) [private]
int DtShmMsgQueueManager::getFront ( ) [inline, private]
int DtShmMsgQueueManager::getPhysEnd ( ) [inline, private]
void DtShmMsgQueueManager::incrByteCount ( int  amount) [private]
void DtShmMsgQueueManager::incrPacketCount ( int  amount) [private]
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]

Friends And Related Function Documentation

friend class DtShmMsgQueueReader [friend]
friend class DtShmMsgQueueWriter [friend]

Member Data Documentation

struct sembuf DtShmMsgQueueManager::addBytes [protected]
struct sembuf DtShmMsgQueueManager::addPackets [protected]
struct sembuf DtShmMsgQueueManager::clearLock [protected]
int DtShmMsgQueueManager::semid [protected]
struct sembuf DtShmMsgQueueManager::subBytes [protected]
struct sembuf DtShmMsgQueueManager::subPackets [protected]
struct sembuf DtShmMsgQueueManager::testAndSetLock [protected]

The documentation for this class was generated from the following file:

Document ID: Generated on Mon May 14 08:06:18 EDT 2012 from SVN revision 114750
Copyright © 2005-2012 VT MÄK Inc. All Rights Reserved (www.mak.com)