#include <EtherFrame_m.h>
Public Methods | |
| EtherAutoconfig (const char *name=NULL, int kind=0) | |
| EtherAutoconfig (const EtherAutoconfig &other) | |
| virtual | ~EtherAutoconfig () |
| EtherAutoconfig & | operator= (const EtherAutoconfig &other) |
| virtual cObject * | dup () const |
| virtual double | getTxrate () const |
| virtual void | setTxrate (double txrate_var) |
| virtual bool | getHalfDuplex () const |
| virtual void | setHalfDuplex (bool halfDuplex_var) |
Protected Attributes | |
| double | txrate_var |
| bool | halfDuplex_var |
|
||||||||||||
|
Definition at line 968 of file EtherFrame_m.cc. References halfDuplex_var, and txrate_var. Referenced by dup().
00968 : cMessage(name,kind)
00969 {
00970 unsigned int i;
00971 this->txrate_var = 0;
00972 this->halfDuplex_var = false;
00973 }
|
|
|
Definition at line 975 of file EtherFrame_m.cc. References operator=().
00975 : cMessage()
00976 {
00977 unsigned int i;
00978 setName(other.name());
00979 operator=(other);
00980 }
|
|
|
Definition at line 982 of file EtherFrame_m.cc.
00983 {
00984 unsigned int i;
00985 }
|
|
|
Definition at line 120 of file EtherFrame_m.h. References EtherAutoconfig().
00120 {return new EtherAutoconfig(*this);}
|
|
|
Definition at line 1007 of file EtherFrame_m.cc. References halfDuplex_var. Referenced by EtherAutoconfigDescriptor::getFieldAsString(), and EtherMAC::handleAutoconfigMessage().
01008 {
01009 return halfDuplex_var;
01010 }
|
|
|
Definition at line 997 of file EtherFrame_m.cc. References txrate_var. Referenced by EtherAutoconfigDescriptor::getFieldAsString(), and EtherMAC::handleAutoconfigMessage().
00998 {
00999 return txrate_var;
01000 }
|
|
|
Definition at line 987 of file EtherFrame_m.cc. References halfDuplex_var, and txrate_var. Referenced by EtherAutoconfig().
00988 {
00989 if (this==&other) return *this;
00990 unsigned int i;
00991 cMessage::operator=(other);
00992 this->txrate_var = other.txrate_var;
00993 this->halfDuplex_var = other.halfDuplex_var;
00994 return *this;
00995 }
|
|
|
Definition at line 1012 of file EtherFrame_m.cc. References halfDuplex_var. Referenced by EtherHub::initialize(), EtherBus::initialize(), EtherAutoconfigDescriptor::setFieldAsString(), and EtherMAC::startAutoconfig().
01013 {
01014 this->halfDuplex_var = halfDuplex_var;
01015 }
|
|
|
Definition at line 1002 of file EtherFrame_m.cc. References txrate_var. Referenced by EtherBus::initialize(), EtherAutoconfigDescriptor::setFieldAsString(), and EtherMAC::startAutoconfig().
01003 {
01004 this->txrate_var = txrate_var;
01005 }
|
|
|
Definition at line 114 of file EtherFrame_m.h. Referenced by EtherAutoconfig(), getHalfDuplex(), operator=(), and setHalfDuplex(). |
|
|
Definition at line 113 of file EtherFrame_m.h. Referenced by EtherAutoconfig(), getTxrate(), operator=(), and setTxrate(). |
1.2.17