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::MsgHandle::MsgHandle ( void   )  [inline]

Definition at line 60 of file KBRTestApp.h.

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

Definition at line 62 of file KBRTestApp.h.

00063                                                      :
            key(key), seqNum(seqNum) {};


Member Function Documentation

MsgHandle& 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::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

Definition at line 57 of file KBRTestApp.h.

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

Definition at line 58 of file KBRTestApp.h.

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


The documentation for this struct was generated from the following file:
Generated on Wed May 26 16:21:17 2010 for OverSim by  doxygen 1.6.3