INET Framework for OMNeT++/OMNEST
EtherAutoconfig Class Reference

#include <EtherFrame_m.h>

List of all members.

Public Member Functions

 EtherAutoconfig (const char *name=NULL, int kind=0)
 EtherAutoconfig (const EtherAutoconfig &other)
virtual ~EtherAutoconfig ()
EtherAutoconfigoperator= (const EtherAutoconfig &other)
virtual EtherAutoconfigdup () const
virtual void parsimPack (cCommBuffer *b)
virtual void parsimUnpack (cCommBuffer *b)
virtual double getTxrate () const
virtual void setTxrate (double txrate)
virtual bool getHalfDuplex () const
virtual void setHalfDuplex (bool halfDuplex)

Protected Member Functions

bool operator== (const EtherAutoconfig &)

Protected Attributes

double txrate_var
bool halfDuplex_var

Private Member Functions

void copy (const EtherAutoconfig &other)

Detailed Description

Class generated from linklayer/ethernet/EtherFrame.msg by opp_msgc.

 packet EtherAutoconfig
 {
     double txrate = 0;
     bool halfDuplex = false;
 }
 

Definition at line 277 of file EtherFrame_m.h.


Constructor & Destructor Documentation

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

Referenced by dup().

virtual EtherAutoconfig::~EtherAutoconfig ( ) [virtual]

Member Function Documentation

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

Definition at line 295 of file EtherFrame_m.h.

{return new EtherAutoconfig(*this);}
EtherAutoconfig& EtherAutoconfig::operator= ( const EtherAutoconfig other)
bool EtherAutoconfig::operator== ( const EtherAutoconfig ) [protected]
virtual void EtherAutoconfig::parsimPack ( cCommBuffer *  b) [virtual]

Referenced by doPacking().

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

Referenced by doUnpacking().


Member Data Documentation

Definition at line 281 of file EtherFrame_m.h.

double EtherAutoconfig::txrate_var [protected]

Definition at line 280 of file EtherFrame_m.h.


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