|
INET Framework for OMNeT++/OMNEST
|
Class generated from inet/common/DirectionTag.msg:32 by opp_msgtool.
More...
#include <DirectionTag_m.h>
Public Member Functions | |
| DirectionTag () | |
| DirectionTag (const DirectionTag &other) | |
| virtual | ~DirectionTag () |
| DirectionTag & | operator= (const DirectionTag &other) |
| virtual DirectionTag * | dup () const override |
| virtual void | parsimPack (omnetpp::cCommBuffer *b) const override |
| virtual void | parsimUnpack (omnetpp::cCommBuffer *b) override |
| virtual Direction | getDirection () const |
| virtual void | setDirection (Direction direction) |
Public Member Functions inherited from inet::TagBase | |
| virtual const Ptr< TagBase > | dupShared () const |
| virtual const Ptr< TagBase > | changeRegion (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 DirectionTag &)=delete |
Protected Attributes | |
| Direction | direction = DIRECTION_UNDEFINED |
Private Member Functions | |
| void | copy (const DirectionTag &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) } |
Class generated from inet/common/DirectionTag.msg:32 by opp_msgtool.
// // This tag specifies the intended direction of the packet as one of inbound, // outbound, or undefined. The direction should be set to: // - outbound when // - a new packet is generated (e.g. in an application or in a protocol like TCP) // - a packet is sent to the lower layer // - a packet is received from the upper layer // - inbound when // - a packet is forwarded (e.g. in a protocol like IP) // - a packet is received from the lower layer // - a packet is sent to the upper layer // class DirectionTag extends TagBase { Direction direction = DIRECTION_UNDEFINED; }
| inet::DirectionTag::DirectionTag | ( | ) |
| inet::DirectionTag::DirectionTag | ( | const DirectionTag & | other | ) |
|
virtual |
|
private |
|
inlineoverridevirtual |
|
virtual |
| DirectionTag& inet::DirectionTag::operator= | ( | const DirectionTag & | other | ) |
|
protecteddelete |
|
overridevirtual |
Referenced by inet::doParsimPacking().
|
overridevirtual |
Referenced by inet::doParsimUnpacking().
|
virtual |
Referenced by inet::PacketEmitter::processPacket().
|
protected |