SoDaRadio-5.0.3-master:8901fb5
Public Member Functions | Private Attributes | List of all members
SoDa::MBoxMessage Class Reference

#include <MultiMBox.hxx>

Inheritance diagram for SoDa::MBoxMessage:
SoDa::Command SoDa::SoDaBuf SoDaTest::MyMsg

Public Member Functions

 MBoxMessage ()
 
void setReaderCount (unsigned int rc)
 
bool readyToDie ()
 
bool decReaderCount ()
 
bool free (std::queue< MBoxMessage *> &free_list)
 
void setMBoxTag (void *tag)
 
bool checkMBoxTag (void *tag)
 

Private Attributes

unsigned int reader_count
 
boost::mutex rc_mutex
 
void * mbox_tag
 

Detailed Description

Definition at line 43 of file MultiMBox.hxx.

Constructor & Destructor Documentation

◆ MBoxMessage()

SoDa::MBoxMessage::MBoxMessage ( )
inline

Definition at line 45 of file MultiMBox.hxx.

References reader_count.

Member Function Documentation

◆ checkMBoxTag()

bool SoDa::MBoxMessage::checkMBoxTag ( void *  tag)
inline

Definition at line 73 of file MultiMBox.hxx.

References mbox_tag.

◆ decReaderCount()

bool SoDa::MBoxMessage::decReaderCount ( )
inline

Definition at line 57 of file MultiMBox.hxx.

References reader_count.

◆ free()

bool SoDa::MBoxMessage::free ( std::queue< MBoxMessage *> &  free_list)
inline

Definition at line 59 of file MultiMBox.hxx.

References rc_mutex, and reader_count.

Referenced by SoDa::MultiMBox< SoDaTest::MyMsg >::flush().

◆ readyToDie()

bool SoDa::MBoxMessage::readyToDie ( )
inline

Definition at line 56 of file MultiMBox.hxx.

References reader_count.

◆ setMBoxTag()

void SoDa::MBoxMessage::setMBoxTag ( void *  tag)
inline

Definition at line 72 of file MultiMBox.hxx.

References mbox_tag.

◆ setReaderCount()

void SoDa::MBoxMessage::setReaderCount ( unsigned int  rc)
inline

Definition at line 50 of file MultiMBox.hxx.

References rc_mutex, and reader_count.

Member Data Documentation

◆ mbox_tag

void* SoDa::MBoxMessage::mbox_tag
private

Definition at line 78 of file MultiMBox.hxx.

Referenced by checkMBoxTag(), and setMBoxTag().

◆ rc_mutex

boost::mutex SoDa::MBoxMessage::rc_mutex
private

Definition at line 77 of file MultiMBox.hxx.

Referenced by free(), and setReaderCount().

◆ reader_count

unsigned int SoDa::MBoxMessage::reader_count
private

Definition at line 76 of file MultiMBox.hxx.

Referenced by decReaderCount(), free(), MBoxMessage(), readyToDie(), and setReaderCount().


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