KBRTestApp::MsgHandle Struct Reference

List of all members.


Detailed Description

type for storing seen messages in a circular buffer, holds OverlayKey of the sender and SequenceNumber

Public Member Functions

 MsgHandle (void)
 MsgHandle (const OverlayKey &key, int seqNum)
bool operator== (const MsgHandle &rhs) const
MsgHandleoperator= (const MsgHandle &rhs)

Public Attributes

OverlayKey key
int seqNum

Constructor & Destructor Documentation

KBRTestApp::MsgHandle::MsgHandle ( void   )  [inline]

00059                         :
00060             key(OverlayKey::UNSPECIFIED_KEY), seqNum(-1) {};
        MsgHandle(const OverlayKey& key, int seqNum) :

KBRTestApp::MsgHandle::MsgHandle ( const OverlayKey key,
int  seqNum 
) [inline]

00061                                                      :
00062             key(key), seqNum(seqNum) {};
        bool operator==(const MsgHandle& rhs) const {


Member Function Documentation

bool KBRTestApp::MsgHandle::operator== ( const MsgHandle rhs  )  const [inline]

00063                                                     {
00064             return ((key == rhs.key) && (seqNum == rhs.seqNum));
00065         };

MsgHandle& KBRTestApp::MsgHandle::operator= ( const MsgHandle rhs  )  [inline]

00066                                                    {
00067             key = rhs.key;
00068             seqNum = rhs.seqNum;
00069             return (*this);
00070         };


Member Data Documentation

Referenced by operator=(), and operator==().

Referenced by operator=(), and operator==().


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

Generated on Fri Sep 19 13:05:07 2008 for ITM OverSim by  doxygen 1.5.5