AntHocNet 2.0.0
Paper-faithful ant-colony ad hoc routing: the shared core and its adapters
Loading...
Searching...
No Matches
ns3::anthocnet::AntHeader Class Reference

#include </home/runner/work/AntHocNet/AntHocNet/ns3/model/anthocnet-packet.h>

Inheritance diagram for ns3::anthocnet::AntHeader:
Header

Public Member Functions

 AntHeader ()=default
 
 AntHeader (const ::anthocnet::core::AntMessage &msg)
 
TypeId GetInstanceTypeId () const override
 
uint32_t GetSerializedSize () const override
 
void Serialize (Buffer::Iterator start) const override
 
uint32_t Deserialize (Buffer::Iterator start) override
 
void Print (std::ostream &os) const override
 
const ::anthocnet::core::AntMessage & Message () const
 
::anthocnet::core::AntMessage & Message ()
 
void SetMessage (const ::anthocnet::core::AntMessage &m)
 

Static Public Member Functions

static TypeId GetTypeId ()
 

Detailed Description

Definition at line 22 of file anthocnet-packet.h.

Constructor & Destructor Documentation

◆ AntHeader() [1/2]

ns3::anthocnet::AntHeader::AntHeader ( )
default

◆ AntHeader() [2/2]

ns3::anthocnet::AntHeader::AntHeader ( const ::anthocnet::core::AntMessage &  msg)
inlineexplicit

Definition at line 26 of file anthocnet-packet.h.

Member Function Documentation

◆ GetTypeId()

static TypeId ns3::anthocnet::AntHeader::GetTypeId ( )
static

◆ GetInstanceTypeId()

TypeId ns3::anthocnet::AntHeader::GetInstanceTypeId ( ) const
override

◆ GetSerializedSize()

uint32_t ns3::anthocnet::AntHeader::GetSerializedSize ( ) const
override

◆ Serialize()

void ns3::anthocnet::AntHeader::Serialize ( Buffer::Iterator  start) const
override

◆ Deserialize()

uint32_t ns3::anthocnet::AntHeader::Deserialize ( Buffer::Iterator  start)
override

◆ Print()

void ns3::anthocnet::AntHeader::Print ( std::ostream &  os) const
override

◆ Message() [1/2]

const ::anthocnet::core::AntMessage & ns3::anthocnet::AntHeader::Message ( ) const
inline

Definition at line 36 of file anthocnet-packet.h.

◆ Message() [2/2]

::anthocnet::core::AntMessage & ns3::anthocnet::AntHeader::Message ( )
inline

Definition at line 37 of file anthocnet-packet.h.

◆ SetMessage()

void ns3::anthocnet::AntHeader::SetMessage ( const ::anthocnet::core::AntMessage &  m)
inline

Definition at line 38 of file anthocnet-packet.h.


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