ns3::LoraForwarderHelper Class Reference

This class can be used to install LoraForwarder applications on a set of gateways. More...

#include "lora-forwarder-helper.h"

+ Inheritance diagram for ns3::LoraForwarderHelper:
+ Collaboration diagram for ns3::LoraForwarderHelper:

Public Member Functions

 LoraForwarderHelper ()
 
 ~LoraForwarderHelper ()
 
ApplicationContainer Install (NodeContainer c) const
 
ApplicationContainer Install (Ptr< Node > node) const
 
void SetAttribute (std::string name, const AttributeValue &value)
 

Static Public Member Functions

static TypeId GetTypeId (void)
 Get the type ID. More...
 

Private Member Functions

Ptr< Application > InstallPrivGwDvb (Ptr< Node > node) const
 Install if ground GW is a DVB GW. More...
 
Ptr< Application > InstallPrivGwLora (Ptr< Node > node) const
 Install if ground GW is a Lora GW. More...
 

Private Attributes

ObjectFactory m_factory
 

Detailed Description

This class can be used to install LoraForwarder applications on a set of gateways.

Definition at line 44 of file lora-forwarder-helper.h.

Constructor & Destructor Documentation

◆ LoraForwarderHelper()

ns3::LoraForwarderHelper::LoraForwarderHelper ( )

Definition at line 54 of file lora-forwarder-helper.cc.

References m_factory.

◆ ~LoraForwarderHelper()

ns3::LoraForwarderHelper::~LoraForwarderHelper ( )

Definition at line 59 of file lora-forwarder-helper.cc.

Member Function Documentation

◆ GetTypeId()

TypeId ns3::LoraForwarderHelper::GetTypeId ( void  )
static

Get the type ID.

Returns
the object TypeId

Definition at line 46 of file lora-forwarder-helper.cc.

◆ Install() [1/2]

ApplicationContainer ns3::LoraForwarderHelper::Install ( NodeContainer  c) const

Definition at line 86 of file lora-forwarder-helper.cc.

◆ Install() [2/2]

ApplicationContainer ns3::LoraForwarderHelper::Install ( Ptr< Node >  node) const

Definition at line 70 of file lora-forwarder-helper.cc.

References InstallPrivGwDvb(), InstallPrivGwLora(), ns3::SatEnums::REGENERATION_NETWORK, and ns3::SatEnums::TRANSPARENT.

+ Here is the call graph for this function:

◆ InstallPrivGwDvb()

Ptr< Application > ns3::LoraForwarderHelper::InstallPrivGwDvb ( Ptr< Node >  node) const
private

Install if ground GW is a DVB GW.

Lora GW is on a satellite

Parameters
nodeGround GW node where the forwarder is installed
Returns
LoraForwarder application

Definition at line 134 of file lora-forwarder-helper.cc.

References ns3::SatNetDevice::GetMac(), m_factory, ns3::LoraForwarder::ReceiveFromLora(), and ns3::LoraForwarder::ReceiveFromPointToPoint().

Referenced by Install().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ InstallPrivGwLora()

Ptr< Application > ns3::LoraForwarderHelper::InstallPrivGwLora ( Ptr< Node >  node) const
private

Install if ground GW is a Lora GW.

Parameters
nodeGW node where the forwarder is installed
Returns
LoraForwarder application

Definition at line 98 of file lora-forwarder-helper.cc.

References ns3::SatNetDevice::GetMac(), m_factory, ns3::LoraForwarder::ReceiveFromLora(), and ns3::LoraForwarder::ReceiveFromPointToPoint().

Referenced by Install().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ SetAttribute()

void ns3::LoraForwarderHelper::SetAttribute ( std::string  name,
const AttributeValue &  value 
)

Definition at line 64 of file lora-forwarder-helper.cc.

References m_factory.

Member Data Documentation

◆ m_factory

ObjectFactory ns3::LoraForwarderHelper::m_factory
private

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