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

Definition at line 54 of file KBRTestApp.h.


Public Member Functions

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

Public Attributes

OverlayKey key
int seqNum

Constructor & Destructor Documentation

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

Definition at line 59 of file KBRTestApp.h.

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

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

Definition at line 61 of file KBRTestApp.h.

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


Member Function Documentation

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

Definition at line 63 of file KBRTestApp.h.

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

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

Definition at line 66 of file KBRTestApp.h.

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


Member Data Documentation

Definition at line 56 of file KBRTestApp.h.

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

Definition at line 57 of file KBRTestApp.h.

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


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

Generated on Wed Mar 25 16:32:53 2009 for OverSim by  doxygen 1.5.5