|
INET Framework for OMNeT++/OMNEST
|
#include <PIMPacket_m.h>
Public Member Functions | |
| PIMAssert (const char *name=NULL, int kind=0) | |
| PIMAssert (const PIMAssert &other) | |
| virtual | ~PIMAssert () |
| PIMAssert & | operator= (const PIMAssert &other) |
| virtual PIMAssert * | dup () const |
| virtual void | parsimPack (cCommBuffer *b) |
| virtual void | parsimUnpack (cCommBuffer *b) |
| virtual short | getType () const |
| virtual void | setType (short type) |
| virtual IPAddress & | getGroupAddress () |
| virtual const IPAddress & | getGroupAddress () const |
| virtual void | setGroupAddress (const IPAddress &groupAddress) |
| virtual IPAddress & | getSourceAddress () |
| virtual const IPAddress & | getSourceAddress () const |
| virtual void | setSourceAddress (const IPAddress &sourceAddress) |
| virtual bool | getR () const |
| virtual void | setR (bool R) |
| virtual int | getMetric () const |
| virtual void | setMetric (int metric) |
| virtual int | getMetricPreference () const |
| virtual void | setMetricPreference (int metricPreference) |
Protected Member Functions | |
| bool | operator== (const PIMAssert &) |
Protected Attributes | |
| short | type_var |
| IPAddress | groupAddress_var |
| IPAddress | sourceAddress_var |
| bool | R_var |
| int | metric_var |
| int | metricPreference_var |
Private Member Functions | |
| void | copy (const PIMAssert &other) |
Class generated from ansa/pim/PIMPacket.msg by opp_msgc.
packet PIMAssert extends PIMPacket { short type enum(PIMPacketType) = Assert; IPAddress groupAddress; IPAddress sourceAddress; bool R; int metric; int metricPreference; }
Definition at line 279 of file PIMPacket_m.h.
| PIMAssert::PIMAssert | ( | const char * | name = NULL, |
| int | kind = 0 |
||
| ) |
Referenced by dup().
| PIMAssert::PIMAssert | ( | const PIMAssert & | other | ) |
| virtual PIMAssert::~PIMAssert | ( | ) | [virtual] |
| void PIMAssert::copy | ( | const PIMAssert & | other | ) | [private] |
| virtual PIMAssert* PIMAssert::dup | ( | ) | const [inline, virtual] |
Reimplemented from PIMPacket.
Definition at line 301 of file PIMPacket_m.h.
{return new PIMAssert(*this);}
| virtual IPAddress& PIMAssert::getGroupAddress | ( | ) | [virtual] |
| virtual const IPAddress& PIMAssert::getGroupAddress | ( | ) | const [inline, virtual] |
Definition at line 309 of file PIMPacket_m.h.
Referenced by getGroupAddress().
{return const_cast<PIMAssert*>(this)->getGroupAddress();}
| virtual int PIMAssert::getMetric | ( | ) | const [virtual] |
| virtual int PIMAssert::getMetricPreference | ( | ) | const [virtual] |
| virtual bool PIMAssert::getR | ( | ) | const [virtual] |
| virtual IPAddress& PIMAssert::getSourceAddress | ( | ) | [virtual] |
| virtual const IPAddress& PIMAssert::getSourceAddress | ( | ) | const [inline, virtual] |
Definition at line 312 of file PIMPacket_m.h.
Referenced by getSourceAddress().
{return const_cast<PIMAssert*>(this)->getSourceAddress();}
| virtual short PIMAssert::getType | ( | ) | const [virtual] |
Reimplemented from PIMPacket.
| bool PIMAssert::operator== | ( | const PIMAssert & | ) | [protected] |
| virtual void PIMAssert::parsimPack | ( | cCommBuffer * | b | ) | [virtual] |
Reimplemented from PIMPacket.
Referenced by doPacking().
| virtual void PIMAssert::parsimUnpack | ( | cCommBuffer * | b | ) | [virtual] |
Reimplemented from PIMPacket.
Referenced by doUnpacking().
| virtual void PIMAssert::setGroupAddress | ( | const IPAddress & | groupAddress | ) | [virtual] |
| virtual void PIMAssert::setMetric | ( | int | metric | ) | [virtual] |
| virtual void PIMAssert::setMetricPreference | ( | int | metricPreference | ) | [virtual] |
| virtual void PIMAssert::setR | ( | bool | R | ) | [virtual] |
| virtual void PIMAssert::setSourceAddress | ( | const IPAddress & | sourceAddress | ) | [virtual] |
| virtual void PIMAssert::setType | ( | short | type | ) | [virtual] |
Reimplemented from PIMPacket.
IPAddress PIMAssert::groupAddress_var [protected] |
Definition at line 283 of file PIMPacket_m.h.
int PIMAssert::metric_var [protected] |
Definition at line 286 of file PIMPacket_m.h.
int PIMAssert::metricPreference_var [protected] |
Definition at line 287 of file PIMPacket_m.h.
bool PIMAssert::R_var [protected] |
Definition at line 285 of file PIMPacket_m.h.
IPAddress PIMAssert::sourceAddress_var [protected] |
Definition at line 284 of file PIMPacket_m.h.
short PIMAssert::type_var [protected] |
Reimplemented from PIMPacket.
Definition at line 282 of file PIMPacket_m.h.