This class can be used to install LoraForwarder applications on a set of gateways. More...
#include "lora-forwarder-helper.h"
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 |
This class can be used to install LoraForwarder applications on a set of gateways.
Definition at line 44 of file lora-forwarder-helper.h.
ns3::LoraForwarderHelper::LoraForwarderHelper | ( | ) |
Definition at line 54 of file lora-forwarder-helper.cc.
References m_factory.
ns3::LoraForwarderHelper::~LoraForwarderHelper | ( | ) |
Definition at line 59 of file lora-forwarder-helper.cc.
|
static |
ApplicationContainer ns3::LoraForwarderHelper::Install | ( | NodeContainer | c | ) | const |
Definition at line 86 of file lora-forwarder-helper.cc.
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.
|
private |
Install if ground GW is a DVB GW.
Lora GW is on a satellite
node | Ground GW node where the forwarder is installed |
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().
|
private |
Install if ground GW is a Lora GW.
node | GW node where the forwarder is installed |
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().
void ns3::LoraForwarderHelper::SetAttribute | ( | std::string | name, |
const AttributeValue & | value | ||
) |
Definition at line 64 of file lora-forwarder-helper.cc.
References m_factory.
|
private |
Definition at line 82 of file lora-forwarder-helper.h.
Referenced by LoraForwarderHelper(), InstallPrivGwDvb(), InstallPrivGwLora(), and SetAttribute().