EMANE  1.2.1
EMANE::Models::TimingAnalysis::ShimHeaderMessage Class Reference

#include <shimheadermessage.h>

Inheritance diagram for EMANE::Models::TimingAnalysis::ShimHeaderMessage:
EMANE::Serializable

Public Member Functions

 ShimHeaderMessage (const EMANE::TimePoint &txTime, std::uint16_t source, std::uint16_t packetId)
 
 ShimHeaderMessage (const void *p, size_t len)
 
 ~ShimHeaderMessage ()
 
const TimePointgetTxTime () const
 
std::uint16_t getSource () const
 
std::uint16_t getPacketId () const
 
Serialization serialize () const override
 

Detailed Description

Definition at line 49 of file shimheadermessage.h.

Constructor & Destructor Documentation

◆ ShimHeaderMessage() [1/2]

EMANE::Models::TimingAnalysis::ShimHeaderMessage::ShimHeaderMessage ( const EMANE::TimePoint txTime,
std::uint16_t  source,
std::uint16_t  packetId 
)

Definition at line 70 of file shimheadermessage.cc.

◆ ShimHeaderMessage() [2/2]

EMANE::Models::TimingAnalysis::ShimHeaderMessage::ShimHeaderMessage ( const void *  p,
size_t  len 
)
Exceptions
SerializationException

Definition at line 78 of file shimheadermessage.cc.

◆ ~ShimHeaderMessage()

EMANE::Models::TimingAnalysis::ShimHeaderMessage::~ShimHeaderMessage ( )

Definition at line 94 of file shimheadermessage.cc.

Member Function Documentation

◆ getPacketId()

std::uint16_t EMANE::Models::TimingAnalysis::ShimHeaderMessage::getPacketId ( ) const

Definition at line 108 of file shimheadermessage.cc.

◆ getSource()

std::uint16_t EMANE::Models::TimingAnalysis::ShimHeaderMessage::getSource ( ) const

Definition at line 103 of file shimheadermessage.cc.

◆ getTxTime()

const EMANE::TimePoint & EMANE::Models::TimingAnalysis::ShimHeaderMessage::getTxTime ( ) const

Definition at line 98 of file shimheadermessage.cc.

◆ serialize()

EMANE::Serialization EMANE::Models::TimingAnalysis::ShimHeaderMessage::serialize ( ) const
overridevirtual

Gets the serialized form of the object

Returns
serialization
Exceptions
SerializationException
Note
Most objects use Google Protocol Buffers to perform serialization. This is why the Serialization type is a std::string. The serialized data is binary, non-printable data. The std::string just provides a simple API.
https://developers.google.com/protocol-buffers/

Reimplemented from EMANE::Serializable.

Definition at line 114 of file shimheadermessage.cc.


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