VR-Link API Documentation for DIS
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
List of all members | Public Member Functions | Protected Attributes | Private Member Functions | Friends
DtShmMsgQueueManager Class Reference
+ 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

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 ( )
inlineprivate
int DtShmMsgQueueManager::getGoAway ( )
inline
int DtShmMsgQueueManager::getPhysEnd ( )
inlineprivate
DtMsgQueueElement* DtShmMsgQueueManager::getQueueElement ( int  i)
inlineprivate
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 ( )
inlineprivate
int DtShmMsgQueueManager::lockFront ( int  wait)
private
DtU32 DtShmMsgQueueManager::notifyReader ( )
void DtShmMsgQueueManager::setBlockingRead ( bool  mode)
inline
void DtShmMsgQueueManager::setBlockingWrite ( bool  mode)
inline
void DtShmMsgQueueManager::setDropOldest ( bool  mode)
inlineprivate
void DtShmMsgQueueManager::setFront ( int  newFront)
inlineprivate
void DtShmMsgQueueManager::setGoAway ( int  reason)
inlineprivate
void DtShmMsgQueueManager::setInternal ( int  mode)
inlineprivate
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::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

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

Document ID: Generated on Mon Jun 22 21:18:40 EDT 2020 from SVN revision 213785
Copyright © 2005-2018 MAK Technologies. All Rights Reserved (www.mak.com)