INET Framework for OMNeT++/OMNEST
inet::physicallayer::EthernetJamSignal Class Reference

Class generated from inet/physicallayer/wired/ethernet/EthernetSignal.msg:37 by opp_msgtool. More...

#include <EthernetSignal_m.h>

Inheritance diagram for inet::physicallayer::EthernetJamSignal:
inet::physicallayer::EthernetSignalBase inet::physicallayer::Signal inet::IPrintableObject

Public Member Functions

 EthernetJamSignal (const char *name=nullptr, short kind=0)
 
 EthernetJamSignal (const EthernetJamSignal &other)
 
virtual ~EthernetJamSignal ()
 
EthernetJamSignaloperator= (const EthernetJamSignal &other)
 
virtual EthernetJamSignaldup () const override
 
virtual void parsimPack (omnetpp::cCommBuffer *b) const override
 
virtual void parsimUnpack (omnetpp::cCommBuffer *b) override
 
virtual long getAbortedPkTreeID () const
 
virtual void setAbortedPkTreeID (long abortedPkTreeID)
 
- Public Member Functions inherited from inet::physicallayer::EthernetSignalBase
 EthernetSignalBase (const char *name=nullptr, short kind=0)
 
 EthernetSignalBase (const EthernetSignalBase &other)
 
virtual ~EthernetSignalBase ()
 
EthernetSignalBaseoperator= (const EthernetSignalBase &other)
 
virtual bool getSrcMacFullDuplex () const
 
virtual void setSrcMacFullDuplex (bool srcMacFullDuplex)
 
virtual double getBitrate () const
 
virtual void setBitrate (double bitrate)
 
- Public Member Functions inherited from inet::physicallayer::Signal
 Signal (const char *name=nullptr, short kind=0, int64_t bitLength=0)
 
 Signal (const Signal &other)
 
virtual const char * getFullName () const override
 
virtual std::ostream & printToStream (std::ostream &stream, int level, int evFlags=0) const override
 Prints this object to the provided output stream. More...
 
virtual std::string str () const override
 
- Public Member Functions inherited from inet::IPrintableObject
virtual ~IPrintableObject ()
 
virtual std::string printToString () const
 
virtual std::string printToString (int level, int evFlags=0) const
 
virtual std::string getInfoStringRepresentation (int evFlags=0) const
 
virtual std::string getDetailStringRepresentation (int evFlags=0) const
 
virtual std::string getDebugStringRepresentation (int evFlags=0) const
 
virtual std::string getTraceStringRepresentation (int evFlags=0) const
 
virtual std::string getCompleteStringRepresentation (int evFlags=0) const
 

Protected Member Functions

bool operator== (const EthernetJamSignal &)=delete
 
- Protected Member Functions inherited from inet::physicallayer::EthernetSignalBase
bool operator== (const EthernetSignalBase &)=delete
 

Protected Attributes

long abortedPkTreeID = 0
 
- Protected Attributes inherited from inet::physicallayer::EthernetSignalBase
bool srcMacFullDuplex = false
 
double bitrate = 0
 

Private Member Functions

void copy (const EthernetJamSignal &other)
 

Additional Inherited Members

- Public Types inherited from inet::IPrintableObject
enum  PrintLevel {
  PRINT_LEVEL_TRACE, PRINT_LEVEL_DEBUG, PRINT_LEVEL_DETAIL, PRINT_LEVEL_INFO,
  PRINT_LEVEL_COMPLETE = INT_MIN
}
 
enum  PrintFlag { PRINT_FLAG_FORMATTED = (1 << 0), PRINT_FLAG_MULTILINE = (1 << 1) }
 

Detailed Description

Class generated from inet/physicallayer/wired/ethernet/EthernetSignal.msg:37 by opp_msgtool.

//
// Represents jam on the Ethernet.
//
packet EthernetJamSignal extends EthernetSignalBase
{
    srcMacFullDuplex = false;
    long abortedPkTreeID = 0;  // this field stores the packetTreeId of the aborted packet
}

Constructor & Destructor Documentation

◆ EthernetJamSignal() [1/2]

inet::physicallayer::EthernetJamSignal::EthernetJamSignal ( const char *  name = nullptr,
short  kind = 0 
)

◆ EthernetJamSignal() [2/2]

inet::physicallayer::EthernetJamSignal::EthernetJamSignal ( const EthernetJamSignal other)

◆ ~EthernetJamSignal()

virtual inet::physicallayer::EthernetJamSignal::~EthernetJamSignal ( )
virtual

Member Function Documentation

◆ copy()

void inet::physicallayer::EthernetJamSignal::copy ( const EthernetJamSignal other)
private

◆ dup()

virtual EthernetJamSignal* inet::physicallayer::EthernetJamSignal::dup ( ) const
inlineoverridevirtual

Reimplemented from inet::physicallayer::EthernetSignalBase.

162 {return new EthernetJamSignal(*this);}

◆ getAbortedPkTreeID()

virtual long inet::physicallayer::EthernetJamSignal::getAbortedPkTreeID ( ) const
virtual

◆ operator=()

EthernetJamSignal& inet::physicallayer::EthernetJamSignal::operator= ( const EthernetJamSignal other)

◆ operator==()

bool inet::physicallayer::EthernetJamSignal::operator== ( const EthernetJamSignal )
protecteddelete

◆ parsimPack()

virtual void inet::physicallayer::EthernetJamSignal::parsimPack ( omnetpp::cCommBuffer *  b) const
overridevirtual

◆ parsimUnpack()

virtual void inet::physicallayer::EthernetJamSignal::parsimUnpack ( omnetpp::cCommBuffer *  b)
overridevirtual

◆ setAbortedPkTreeID()

virtual void inet::physicallayer::EthernetJamSignal::setAbortedPkTreeID ( long  abortedPkTreeID)
virtual

Member Data Documentation

◆ abortedPkTreeID

long inet::physicallayer::EthernetJamSignal::abortedPkTreeID = 0
protected

The documentation for this class was generated from the following file:
inet::physicallayer::EthernetJamSignal::EthernetJamSignal
EthernetJamSignal(const char *name=nullptr, short kind=0)