The SatNodeInfo implements a container for all needed node related information. More...
#include "satellite-node-info.h"
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 |
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 42 of file satellite-node-info.h.
ns3::SatNodeInfo::SatNodeInfo | ( | ) |
Default constructor.
Definition at line 30 of file satellite-node-info.cc.
ns3::SatNodeInfo::SatNodeInfo | ( | SatEnums::SatNodeType_t | nodeType, |
uint32_t | nodeId, | ||
Mac48Address | macAddress | ||
) |
Constructor with initialization parameters.
nodeType | |
nodeId | |
macAddress |
Definition at line 37 of file satellite-node-info.cc.
|
virtual |
Destructor for SatNodeInfo.
Definition at line 44 of file satellite-node-info.cc.
Mac48Address ns3::SatNodeInfo::GetMacAddress | ( | ) | const |
Get MAC address.
Definition at line 63 of file satellite-node-info.cc.
References m_macAddress.
uint32_t ns3::SatNodeInfo::GetNodeId | ( | ) | const |
Get node identifier.
Definition at line 49 of file satellite-node-info.cc.
References m_nodeId.
SatEnums::SatNodeType_t ns3::SatNodeInfo::GetNodeType | ( | ) | const |
Get Node type (UT, SAT, GW, NCC, TER)
Definition at line 56 of file satellite-node-info.cc.
References m_nodeType.
|
private |
Definition at line 84 of file satellite-node-info.h.
Referenced by GetMacAddress().
|
private |
Definition at line 82 of file satellite-node-info.h.
Referenced by GetNodeId().
|
private |
Definition at line 83 of file satellite-node-info.h.
Referenced by GetNodeType().