INET Framework for OMNeT++/OMNEST
ANSAQOS::SNPacket Class Reference

#include <AnsaQosSystem.h>

List of all members.

Public Member Functions

 SNPacket ()
 SNPacket (cMessage *c_msg, int c_sn)
int getSn ()
void setSn (int n_sn)
void substractSn (int subNum)
cMessage * getMsg ()
void setMsg (cMessage *n_msg)

Private Attributes

cMessage * msg
int sn

Detailed Description

Definition at line 127 of file AnsaQosSystem.h.


Constructor & Destructor Documentation

Definition at line 134 of file AnsaQosSystem.h.

{msg = NULL; sn = 0;}
ANSAQOS::SNPacket::SNPacket ( cMessage *  c_msg,
int  c_sn 
) [inline]

Definition at line 135 of file AnsaQosSystem.h.

{msg = c_msg; sn = c_sn;}

Member Function Documentation

cMessage* ANSAQOS::SNPacket::getMsg ( ) [inline]

Definition at line 141 of file AnsaQosSystem.h.

{return msg;}
int ANSAQOS::SNPacket::getSn ( ) [inline]

Definition at line 137 of file AnsaQosSystem.h.

{return sn;}
void ANSAQOS::SNPacket::setMsg ( cMessage *  n_msg) [inline]

Definition at line 142 of file AnsaQosSystem.h.

{msg = n_msg;}
void ANSAQOS::SNPacket::setSn ( int  n_sn) [inline]

Definition at line 138 of file AnsaQosSystem.h.

{sn = n_sn;}
void ANSAQOS::SNPacket::substractSn ( int  subNum) [inline]

Definition at line 139 of file AnsaQosSystem.h.

{sn = sn - subNum;}

Member Data Documentation

cMessage* ANSAQOS::SNPacket::msg [private]

Definition at line 130 of file AnsaQosSystem.h.

Referenced by getMsg(), setMsg(), and SNPacket().

int ANSAQOS::SNPacket::sn [private]

Definition at line 131 of file AnsaQosSystem.h.

Referenced by getSn(), setSn(), SNPacket(), and substractSn().


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