INET Framework for OMNeT++/OMNEST
inet::NetworkProtocolReq Class Reference

Class generated from inet/common/ProtocolTag.msg:190 by opp_msgtool. More...

#include <ProtocolTag_m.h>

Inheritance diagram for inet::NetworkProtocolReq:
inet::ProtocolTagBase inet::TagBase inet::IPrintableObject

Public Member Functions

 NetworkProtocolReq ()
 
 NetworkProtocolReq (const NetworkProtocolReq &other)
 
virtual ~NetworkProtocolReq ()
 
NetworkProtocolReqoperator= (const NetworkProtocolReq &other)
 
virtual NetworkProtocolReqdup () const override
 
virtual void parsimPack (omnetpp::cCommBuffer *b) const override
 
virtual void parsimUnpack (omnetpp::cCommBuffer *b) override
 
- Public Member Functions inherited from inet::ProtocolTagBase
 ProtocolTagBase ()
 
 ProtocolTagBase (const ProtocolTagBase &other)
 
virtual ~ProtocolTagBase ()
 
ProtocolTagBaseoperator= (const ProtocolTagBase &other)
 
virtual const ProtocolfindProtocol () const
 
virtual void setProtocol (const Protocol *protocol)
 
const ProtocolgetProtocol () const
 
- Public Member Functions inherited from inet::TagBase
virtual const Ptr< TagBasedupShared () const
 
virtual const Ptr< TagBasechangeRegion (b offsetDelta, b lengthDelta) const
 
virtual void parsimPack (cCommBuffer *buffer) const override
 
virtual void parsimUnpack (cCommBuffer *buffer) override
 
virtual std::ostream & printToStream (std::ostream &stream, int level, int evFlags) const override
 Prints this object to the provided output stream. More...
 
virtual std::ostream & printFieldsToStream (std::ostream &stream, int level, int evFlags) const
 
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 NetworkProtocolReq &)=delete
 
- Protected Member Functions inherited from inet::ProtocolTagBase
bool operator== (const ProtocolTagBase &)=delete
 

Private Member Functions

void copy (const NetworkProtocolReq &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) }
 
- Protected Attributes inherited from inet::ProtocolTagBase
const Protocolprotocol = nullptr
 

Detailed Description

Class generated from inet/common/ProtocolTag.msg:190 by opp_msgtool.

//
// This request determines the network protocol that should be used to send the
// packet. It may be present from the application to the network protocol and
// from the network protocol to the physical layer.
//
class NetworkProtocolReq extends ProtocolTagBase
{
}

Constructor & Destructor Documentation

◆ NetworkProtocolReq() [1/2]

inet::NetworkProtocolReq::NetworkProtocolReq ( )

◆ NetworkProtocolReq() [2/2]

inet::NetworkProtocolReq::NetworkProtocolReq ( const NetworkProtocolReq other)

◆ ~NetworkProtocolReq()

virtual inet::NetworkProtocolReq::~NetworkProtocolReq ( )
virtual

Member Function Documentation

◆ copy()

void inet::NetworkProtocolReq::copy ( const NetworkProtocolReq other)
private

◆ dup()

virtual NetworkProtocolReq* inet::NetworkProtocolReq::dup ( ) const
inlineoverridevirtual

Reimplemented from inet::ProtocolTagBase.

539 {return new NetworkProtocolReq(*this);}

◆ operator=()

NetworkProtocolReq& inet::NetworkProtocolReq::operator= ( const NetworkProtocolReq other)

◆ operator==()

bool inet::NetworkProtocolReq::operator== ( const NetworkProtocolReq )
protecteddelete

◆ parsimPack()

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

Reimplemented from inet::ProtocolTagBase.

Referenced by inet::doParsimPacking().

◆ parsimUnpack()

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

Reimplemented from inet::ProtocolTagBase.

Referenced by inet::doParsimUnpacking().


The documentation for this class was generated from the following file:
inet::NetworkProtocolReq::NetworkProtocolReq
NetworkProtocolReq()