Main Page | Namespace List | Class Hierarchy | Compound List | File List | Compound Members | File Members

DCDT_MsgListElem Class Reference

Informations about the single message stored. More...

#include <DCDT_PostOffice.h>

List of all members.

Public Member Functions

 DCDT_MsgListElem ()
 ~DCDT_MsgListElem ()

Public Attributes

timeval insert_time
bool ToBeDeleted
bool local
 Flag: true -> message requested by a local user member ( member profile = MPM_USER ).

int LocalPublisherID
DCDT_MsgListElemnext
DCDT_MsgListElemprev
unsigned int readers [NUMINT_MEMBERS]
 Array of bit reporting members subscribed to this message type.

unsigned int type_mask [NUMINT_MSGTYPE]
 Type of the message.

DCDT_MsgMsgPtr
DCDT_Mutex mtxmask


Detailed Description

Informations about the single message stored.

When an elemet was deleted it checks if the message was read by all the members, if this is the last member the message is deleted, otherwise the readers counter is decremented.

Definition at line 81 of file DCDT_PostOffice.h.


Constructor & Destructor Documentation

DCDT_MsgListElem::DCDT_MsgListElem  )  [inline]
 

Definition at line 84 of file DCDT_PostOffice.h.

References MsgPtr, NUMINT_MEMBERS, readers, and ToBeDeleted.

DCDT_MsgListElem::~DCDT_MsgListElem  )  [inline]
 

Definition at line 110 of file DCDT_PostOffice.h.

References DCDT_Msg::Decrement_Readers_Counter(), DCDT_Msg::Get_Readers_Counter(), MsgPtr, next, and prev.


Member Data Documentation

struct timeval DCDT_MsgListElem::insert_time
 

Definition at line 128 of file DCDT_PostOffice.h.

Referenced by DCDT_PostOffice::CheckTimeoutElem().

bool DCDT_MsgListElem::local
 

Flag: true -> message requested by a local user member ( member profile = MPM_USER ).

Definition at line 148 of file DCDT_PostOffice.h.

Referenced by DCDT_PostOffice::SetReaders().

int DCDT_MsgListElem::LocalPublisherID
 

Definition at line 150 of file DCDT_PostOffice.h.

Referenced by DCDT_PostOffice::SetReaders().

DCDT_Msg* DCDT_MsgListElem::MsgPtr
 

Definition at line 167 of file DCDT_PostOffice.h.

Referenced by DCDT_MsgListElem(), and ~DCDT_MsgListElem().

DCDT_Mutex DCDT_MsgListElem::mtxmask
 

Mutex used when modifing the mask

Definition at line 185 of file DCDT_PostOffice.h.

DCDT_MsgListElem* DCDT_MsgListElem::next
 

Definition at line 152 of file DCDT_PostOffice.h.

Referenced by ~DCDT_MsgListElem().

DCDT_MsgListElem* DCDT_MsgListElem::prev
 

Definition at line 153 of file DCDT_PostOffice.h.

Referenced by ~DCDT_MsgListElem().

unsigned int DCDT_MsgListElem::readers[NUMINT_MEMBERS]
 

Array of bit reporting members subscribed to this message type.

Definition at line 162 of file DCDT_PostOffice.h.

Referenced by DCDT_MsgListElem(), DCDT_PostOffice::MatchReadersMask(), and DCDT_PostOffice::SetReaders().

bool DCDT_MsgListElem::ToBeDeleted
 

Definition at line 132 of file DCDT_PostOffice.h.

Referenced by DCDT_MsgListElem(), and DCDT_PostOffice::SetReaders().

unsigned int DCDT_MsgListElem::type_mask[NUMINT_MSGTYPE]
 

Type of the message.

Definition at line 165 of file DCDT_PostOffice.h.

Referenced by DCDT_PostOffice::GetTypeFromMask(), DCDT_PostOffice::MatchMsgTypeMask(), and DCDT_PostOffice::SetType().


The documentation for this class was generated from the following file:
Generated on Fri Jul 16 12:29:47 2004 for dcdt by doxygen 1.3.2