EMANE  1.2.1
EMANE::Models::RFPipe::MACHeaderMessage Class Reference

#include <rfpipemacheadermessage.h>

Inheritance diagram for EMANE::Models::RFPipe::MACHeaderMessage:
EMANE::Serializable

Public Member Functions

 MACHeaderMessage (std::uint64_t u64DataRate)
 
 MACHeaderMessage (const void *p, size_t len)
 
 ~MACHeaderMessage ()
 
std::uint64_t getDataRate () const
 
Serialization serialize () const override
 

Detailed Description

Definition at line 49 of file rfpipemacheadermessage.h.

Constructor & Destructor Documentation

◆ MACHeaderMessage() [1/2]

EMANE::Models::RFPipe::MACHeaderMessage::MACHeaderMessage ( std::uint64_t  u64DataRate)

Definition at line 54 of file rfpipemacheadermessage.cc.

◆ MACHeaderMessage() [2/2]

EMANE::Models::RFPipe::MACHeaderMessage::MACHeaderMessage ( const void *  p,
size_t  len 
)
Exceptions
SerializationException

Definition at line 59 of file rfpipemacheadermessage.cc.

◆ ~MACHeaderMessage()

EMANE::Models::RFPipe::MACHeaderMessage::~MACHeaderMessage ( )

Definition at line 73 of file rfpipemacheadermessage.cc.

Member Function Documentation

◆ getDataRate()

std::uint64_t EMANE::Models::RFPipe::MACHeaderMessage::getDataRate ( ) const

Definition at line 77 of file rfpipemacheadermessage.cc.

◆ serialize()

EMANE::Serialization EMANE::Models::RFPipe::MACHeaderMessage::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 83 of file rfpipemacheadermessage.cc.


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