KBRTestApp::KBRTestApp::MsgHandle Struct Reference

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

List of all members.

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


Detailed Description

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

Definition at line 55 of file KBRTestApp.h.


Constructor & Destructor Documentation

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

Definition at line 60 of file KBRTestApp.h.

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

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

Definition at line 62 of file KBRTestApp.h.

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


Member Function Documentation

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

Definition at line 67 of file KBRTestApp.h.

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

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

Definition at line 64 of file KBRTestApp.h.

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


Member Data Documentation

OverlayKey KBRTestApp::KBRTestApp::MsgHandle::key

int KBRTestApp::KBRTestApp::MsgHandle::seqNum


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

Generated on Tue Sep 8 17:26:59 2009 for OverSim by  doxygen 1.5.8