OverSim
KBRTestApp::MsgHandle Struct Reference

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

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 56 of file KBRTestApp.h.

Constructor & Destructor Documentation

KBRTestApp::MsgHandle::MsgHandle ( void  )
inline

Definition at line 61 of file KBRTestApp.h.

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

Definition at line 63 of file KBRTestApp.h.

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

Member Function Documentation

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

Definition at line 68 of file KBRTestApp.h.

{
key = rhs.key;
seqNum = rhs.seqNum;
return (*this);
};
bool KBRTestApp::MsgHandle::operator== ( const MsgHandle rhs) const
inline

Definition at line 65 of file KBRTestApp.h.

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

Member Data Documentation

OverlayKey KBRTestApp::MsgHandle::key

Definition at line 58 of file KBRTestApp.h.

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

int KBRTestApp::MsgHandle::seqNum

Definition at line 59 of file KBRTestApp.h.

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


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