EMANE  1.2.1
EMANE::Models::CommEffect::ShimHeader Class Reference

#include <shimheader.h>

Inheritance diagram for EMANE::Models::CommEffect::ShimHeader:
EMANE::Serializable

Public Member Functions

 ShimHeader (const void *p, size_t length)
 
 ShimHeader (const TimePoint &txTimePoint, std::uint32_t u32GroupId, std::uint32_t u32SequenceNumber)
 
Serialization serialize () const override
 
const TimePointgetTxTimePoint () const
 
std::uint32_t getGroupId () const
 
std::uint32_t getSequenceNumber () const
 

Detailed Description

Definition at line 45 of file shimheader.h.

Constructor & Destructor Documentation

◆ ShimHeader() [1/2]

EMANE::Models::CommEffect::ShimHeader::ShimHeader ( const void *  p,
size_t  length 
)
Exceptions
SerializationException

Definition at line 37 of file shimheader.cc.

◆ ShimHeader() [2/2]

EMANE::Models::CommEffect::ShimHeader::ShimHeader ( const TimePoint txTimePoint,
std::uint32_t  u32GroupId,
std::uint32_t  u32SequenceNumber 
)

Definition at line 53 of file shimheader.cc.

Member Function Documentation

◆ getGroupId()

std::uint32_t EMANE::Models::CommEffect::ShimHeader::getGroupId ( ) const
inline

Definition at line 40 of file shimheader.inl.

◆ getSequenceNumber()

std::uint32_t EMANE::Models::CommEffect::ShimHeader::getSequenceNumber ( ) const
inline

Definition at line 46 of file shimheader.inl.

◆ getTxTimePoint()

const EMANE::TimePoint & EMANE::Models::CommEffect::ShimHeader::getTxTimePoint ( ) const
inline

Definition at line 34 of file shimheader.inl.

◆ serialize()

EMANE::Serialization EMANE::Models::CommEffect::ShimHeader::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 61 of file shimheader.cc.


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