ns3::SatNodeInfo Class Reference

The SatNodeInfo implements a container for all needed node related information. More...

#include "satellite-node-info.h"

+ Inheritance diagram for ns3::SatNodeInfo:
+ Collaboration diagram for ns3::SatNodeInfo:

Public Member Functions

 SatNodeInfo ()
 Default constructor. More...
 
 SatNodeInfo (SatEnums::SatNodeType_t nodeType, uint32_t nodeId, Mac48Address macAddress)
 Constructor with initialization parameters. More...
 
virtual ~SatNodeInfo ()
 Destructor for SatNodeInfo. More...
 
Mac48Address GetMacAddress () const
 Get MAC address. More...
 
uint32_t GetNodeId () const
 Get node identifier. More...
 
SatEnums::SatNodeType_t GetNodeType () const
 Get Node type (UT, SAT, GW, NCC, TER) More...
 

Private Attributes

Mac48Address m_macAddress
 
uint32_t m_nodeId
 
SatEnums::SatNodeType_t m_nodeType
 

Detailed Description

The SatNodeInfo implements a container for all needed node related information.

It may be passed to all entities which need node specific information, e.g. LLC, MAC and PHY layers.

Definition at line 40 of file satellite-node-info.h.

Constructor & Destructor Documentation

◆ SatNodeInfo() [1/2]

ns3::SatNodeInfo::SatNodeInfo ( )

Default constructor.

Definition at line 30 of file satellite-node-info.cc.

◆ SatNodeInfo() [2/2]

ns3::SatNodeInfo::SatNodeInfo ( SatEnums::SatNodeType_t  nodeType,
uint32_t  nodeId,
Mac48Address  macAddress 
)

Constructor with initialization parameters.

Parameters
nodeType
nodeId
macAddress

Definition at line 37 of file satellite-node-info.cc.

◆ ~SatNodeInfo()

ns3::SatNodeInfo::~SatNodeInfo ( )
virtual

Destructor for SatNodeInfo.

Definition at line 44 of file satellite-node-info.cc.

Member Function Documentation

◆ GetMacAddress()

Mac48Address ns3::SatNodeInfo::GetMacAddress ( ) const

Get MAC address.

Returns
Node (SatNetDevice) MAC address

Definition at line 63 of file satellite-node-info.cc.

References m_macAddress.

◆ GetNodeId()

uint32_t ns3::SatNodeInfo::GetNodeId ( ) const

Get node identifier.

Returns
Node identifier

Definition at line 49 of file satellite-node-info.cc.

References m_nodeId.

◆ GetNodeType()

SatEnums::SatNodeType_t ns3::SatNodeInfo::GetNodeType ( ) const

Get Node type (UT, SAT, GW, NCC, TER)

Returns
Node type enum

Definition at line 56 of file satellite-node-info.cc.

References m_nodeType.

Member Data Documentation

◆ m_macAddress

Mac48Address ns3::SatNodeInfo::m_macAddress
private

Definition at line 82 of file satellite-node-info.h.

Referenced by GetMacAddress().

◆ m_nodeId

uint32_t ns3::SatNodeInfo::m_nodeId
private

Definition at line 80 of file satellite-node-info.h.

Referenced by GetNodeId().

◆ m_nodeType

SatEnums::SatNodeType_t ns3::SatNodeInfo::m_nodeType
private

Definition at line 81 of file satellite-node-info.h.

Referenced by GetNodeType().


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