Main Page   Class Hierarchy   Compound List   File List   Compound Members   File Members  

EtherPauseFrame Class Reference

#include <EtherFrame_m.h>

Inheritance diagram for EtherPauseFrame:

EtherFrame List of all members.

Public Methods

 EtherPauseFrame (const char *name=NULL, int kind=0)
 EtherPauseFrame (const EtherPauseFrame &other)
virtual ~EtherPauseFrame ()
EtherPauseFrame & operator= (const EtherPauseFrame &other)
virtual cObject * dup () const
virtual int getPauseTime () const
virtual void setPauseTime (int pauseTime_var)

Protected Attributes

int pauseTime_var

Constructor & Destructor Documentation

EtherPauseFrame::EtherPauseFrame const char *    name = NULL,
int    kind = 0
 

Definition at line 787 of file EtherFrame_m.cc.

References pauseTime_var.

Referenced by dup().

00787                                                            : EtherFrame(name,kind)
00788 {
00789     unsigned int i;
00790     this->pauseTime_var = 0;
00791 }

EtherPauseFrame::EtherPauseFrame const EtherPauseFrame &    other
 

Definition at line 793 of file EtherFrame_m.cc.

References operator=().

00793                                                              : EtherFrame()
00794 {
00795     unsigned int i;
00796     setName(other.name());
00797     operator=(other);
00798 }

EtherPauseFrame::~EtherPauseFrame   [virtual]
 

Definition at line 800 of file EtherFrame_m.cc.

00801 {
00802     unsigned int i;
00803 }


Member Function Documentation

virtual cObject* EtherPauseFrame::dup   const [inline, virtual]
 

Reimplemented from EtherFrame.

Definition at line 103 of file EtherFrame_m.h.

References EtherPauseFrame().

00103 {return new EtherPauseFrame(*this);}

int EtherPauseFrame::getPauseTime   const [virtual]
 

Definition at line 814 of file EtherFrame_m.cc.

References pauseTime_var.

Referenced by EtherPauseFrameDescriptor::getFieldAsString().

00815 {
00816     return pauseTime_var;
00817 }

EtherPauseFrame & EtherPauseFrame::operator= const EtherPauseFrame &    other
 

Definition at line 805 of file EtherFrame_m.cc.

References EtherFrame::operator=(), and pauseTime_var.

Referenced by EtherPauseFrame().

00806 {
00807     if (this==&other) return *this;
00808     unsigned int i;
00809     EtherFrame::operator=(other);
00810     this->pauseTime_var = other.pauseTime_var;
00811     return *this;
00812 }

void EtherPauseFrame::setPauseTime int    pauseTime_var [virtual]
 

Definition at line 819 of file EtherFrame_m.cc.

References pauseTime_var.

Referenced by EtherLLC::handleSendPause(), EtherEncap::handleSendPause(), MACRelayUnitBase::sendPauseFrame(), and EtherPauseFrameDescriptor::setFieldAsString().

00820 {
00821     this->pauseTime_var = pauseTime_var;
00822 }


Member Data Documentation

int EtherPauseFrame::pauseTime_var [protected]
 

Definition at line 97 of file EtherFrame_m.h.

Referenced by EtherPauseFrame(), getPauseTime(), operator=(), and setPauseTime().


The documentation for this class was generated from the following files:
Generated on Sat May 15 20:30:47 2004 for Ethernet by doxygen1.2.17