|
INET Framework for OMNeT++/OMNEST
|
#include <EtherFrame_m.h>
Public Member Functions | |
| EtherAutoconfig (const char *name=NULL, int kind=0) | |
| EtherAutoconfig (const EtherAutoconfig &other) | |
| virtual | ~EtherAutoconfig () |
| EtherAutoconfig & | operator= (const EtherAutoconfig &other) |
| virtual EtherAutoconfig * | dup () 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) |
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.
| EtherAutoconfig::EtherAutoconfig | ( | const char * | name = NULL, |
| int | kind = 0 |
||
| ) |
Referenced by dup().
| EtherAutoconfig::EtherAutoconfig | ( | const EtherAutoconfig & | other | ) |
| virtual EtherAutoconfig::~EtherAutoconfig | ( | ) | [virtual] |
| 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);}
| virtual bool EtherAutoconfig::getHalfDuplex | ( | ) | const [virtual] |
Referenced by EtherMAC::handleAutoconfigMessage(), and AnsaEtherMAC::handleAutoconfigMessage().
| virtual double EtherAutoconfig::getTxrate | ( | ) | const [virtual] |
Referenced by EtherMAC::handleAutoconfigMessage(), and AnsaEtherMAC::handleAutoconfigMessage().
| 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().
| virtual void EtherAutoconfig::setHalfDuplex | ( | bool | halfDuplex | ) | [virtual] |
| virtual void EtherAutoconfig::setTxrate | ( | double | txrate | ) | [virtual] |
Referenced by EtherBus::initialize(), EtherMAC::startAutoconfig(), and AnsaEtherMAC::startAutoconfig().
bool EtherAutoconfig::halfDuplex_var [protected] |
Definition at line 281 of file EtherFrame_m.h.
double EtherAutoconfig::txrate_var [protected] |
Definition at line 280 of file EtherFrame_m.h.