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

Class generated from inet/linklayer/ieee8021as/GptpPacket.msg:160 by opp_msgtool. More...

#include <GptpPacket_m.h>

Inheritance diagram for inet::GptpTlv:
inet::GptpFollowUpInformationTlv

Public Member Functions

 GptpTlv ()
 
 GptpTlv (const GptpTlv &other)
 
virtual ~GptpTlv ()
 
GptpTlvoperator= (const GptpTlv &other)
 
virtual void parsimPack (omnetpp::cCommBuffer *b) const
 
virtual void parsimUnpack (omnetpp::cCommBuffer *b)
 
virtual GptpTlvType getTlvType () const
 
virtual void setTlvType (GptpTlvType tlvType)
 
virtual uint16_t getLengthField () const
 
virtual void setLengthField (uint16_t lengthField)
 

Protected Member Functions

bool operator== (const GptpTlv &)=delete
 

Protected Attributes

GptpTlvType tlvType = static_cast<inet::GptpTlvType>(-1)
 
uint16_t lengthField = 0
 

Private Member Functions

void copy (const GptpTlv &other)
 

Detailed Description

Class generated from inet/linklayer/ieee8021as/GptpPacket.msg:160 by opp_msgtool.

class GptpTlv
{
    @packetData;
    GptpTlvType tlvType @bit(16);
    uint16_t lengthField @bit(16);
}

Constructor & Destructor Documentation

◆ GptpTlv() [1/2]

inet::GptpTlv::GptpTlv ( )

◆ GptpTlv() [2/2]

inet::GptpTlv::GptpTlv ( const GptpTlv other)

◆ ~GptpTlv()

virtual inet::GptpTlv::~GptpTlv ( )
virtual

Member Function Documentation

◆ copy()

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

◆ getLengthField()

virtual uint16_t inet::GptpTlv::getLengthField ( ) const
virtual

◆ getTlvType()

virtual GptpTlvType inet::GptpTlv::getTlvType ( ) const
virtual

◆ operator=()

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

◆ operator==()

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

◆ parsimPack()

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

◆ parsimUnpack()

virtual void inet::GptpTlv::parsimUnpack ( omnetpp::cCommBuffer *  b)
virtual

◆ setLengthField()

virtual void inet::GptpTlv::setLengthField ( uint16_t  lengthField)
virtual

◆ setTlvType()

virtual void inet::GptpTlv::setTlvType ( GptpTlvType  tlvType)
virtual

Member Data Documentation

◆ lengthField

uint16_t inet::GptpTlv::lengthField = 0
protected

◆ tlvType

GptpTlvType inet::GptpTlv::tlvType = static_cast<inet::GptpTlvType>(-1)
protected

The documentation for this class was generated from the following file: