INET Framework for OMNeT++/OMNEST
ControlManetRouting Class Reference

#include <ControlManetRouting_m.h>

List of all members.

Public Member Functions

 ControlManetRouting (const char *name=NULL, int kind=0)
 ControlManetRouting (const ControlManetRouting &other)
virtual ~ControlManetRouting ()
ControlManetRoutingoperator= (const ControlManetRouting &other)
virtual ControlManetRoutingdup () const
virtual void parsimPack (cCommBuffer *b)
virtual void parsimUnpack (cCommBuffer *b)
virtual IPAddressgetSrcAddress ()
virtual const IPAddressgetSrcAddress () const
virtual void setSrcAddress (const IPAddress &srcAddress)
virtual IPAddressgetDestAddress ()
virtual const IPAddressgetDestAddress () const
virtual void setDestAddress (const IPAddress &destAddress)
virtual int getOptionCode () const
virtual void setOptionCode (int optionCode)

Protected Member Functions

bool operator== (const ControlManetRouting &)

Protected Attributes

IPAddress srcAddress_var
IPAddress destAddress_var
int optionCode_var

Private Member Functions

void copy (const ControlManetRouting &other)

Detailed Description

Class generated from networklayer/ipv4/ControlManetRouting.msg by opp_msgc.

 packet ControlManetRouting
 {
     IPAddress srcAddress;
     IPAddress destAddress;
     int optionCode enum(ManetControlType) = MANET_ROUTE_NO_OPTION;
 }
 

Definition at line 51 of file ControlManetRouting_m.h.


Constructor & Destructor Documentation

ControlManetRouting::ControlManetRouting ( const char *  name = NULL,
int  kind = 0 
)

Referenced by dup().


Member Function Documentation

void ControlManetRouting::copy ( const ControlManetRouting other) [private]
virtual ControlManetRouting* ControlManetRouting::dup ( ) const [inline, virtual]

Definition at line 70 of file ControlManetRouting_m.h.

{return new ControlManetRouting(*this);}
virtual const IPAddress& ControlManetRouting::getDestAddress ( ) const [inline, virtual]

Definition at line 79 of file ControlManetRouting_m.h.

Referenced by getDestAddress().

{return const_cast<ControlManetRouting*>(this)->getDestAddress();}
virtual int ControlManetRouting::getOptionCode ( ) const [virtual]
virtual const IPAddress& ControlManetRouting::getSrcAddress ( ) const [inline, virtual]

Definition at line 76 of file ControlManetRouting_m.h.

Referenced by getSrcAddress().

{return const_cast<ControlManetRouting*>(this)->getSrcAddress();}
ControlManetRouting& ControlManetRouting::operator= ( const ControlManetRouting other)
bool ControlManetRouting::operator== ( const ControlManetRouting ) [protected]
virtual void ControlManetRouting::parsimPack ( cCommBuffer *  b) [virtual]

Referenced by doPacking().

virtual void ControlManetRouting::parsimUnpack ( cCommBuffer *  b) [virtual]

Referenced by doUnpacking().

virtual void ControlManetRouting::setDestAddress ( const IPAddress destAddress) [virtual]
virtual void ControlManetRouting::setOptionCode ( int  optionCode) [virtual]
virtual void ControlManetRouting::setSrcAddress ( const IPAddress srcAddress) [virtual]

Member Data Documentation

Definition at line 56 of file ControlManetRouting_m.h.


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