SOLA
Loading...
Searching...
No Matches
Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
daisi::path_planning::PathPlanningApplication Struct Referencefinal

#include <path_planning_application.h>

Inheritance diagram for daisi::path_planning::PathPlanningApplication:

Public Member Functions

void DoDispose () final
 
void StartApplication () final
 
void initPickupStation (const PickupStationInfo &info, const consensus::ConsensusSettings &settings, NextTOMode next_to_mode)
 
void initDeliveryStation (const DeliveryStationInfo &info, const consensus::ConsensusSettings &settings)
 
void initAGVLogical (const consensus::ConsensusSettings &settings, bool first_node)
 
void initAGVPhysical (const cpps::AmrDescription &description, ns3::Ptr< cpps::AmrMobilityModelNs3 > mobility, int id_friendly)
 
void initConsensusCentralServer (const consensus::CentralSettings &settings)
 
void postInit ()
 
void setTopology (cpps::Topology topology)
 
void generateUDPSockets (uint32_t number=3)
 
ns3::Ptr< ns3::Socket > generateTCPSocket ()
 

Static Public Member Functions

static ns3::TypeId GetTypeId ()
 

Public Attributes

ns3::Ipv4Address local_ip_address
 ns-3 attribute with first IP of this application
 
ns3::Ipv4Address local_ip_address_tcp
 
uint16_t listening_port
 ns-3 attribute with first port used for this application
 
uint16_t listening_port_tcp
 ns-3 attribute with second port used for this application
 
std::variant< std::monostate, cpps::AGVPhysicalBasic, AGVLogical, PickupStation, DeliveryStation, consensus::CentralServerapplication
 Variant that is holding the actual application.
 

Detailed Description

ns-3 application, containing the real application (PickupStation, DeliveryStation, AGVLogical, AGVPhysical or CentralServer) and helps setting up the ns-3 network components for this application

Member Function Documentation

◆ generateUDPSockets()

void daisi::path_planning::PathPlanningApplication::generateUDPSockets ( uint32_t  number = 3)

Creating number sockets connected to the IP of this application and injects them into the global SolaNet simulation variable By default SOLA needs 3 sockets (SOLA itself, MINHTON and natter).

Parameters
numbernumber of sockets to create

Member Data Documentation

◆ local_ip_address_tcp

ns3::Ipv4Address daisi::path_planning::PathPlanningApplication::local_ip_address_tcp

ns-3 attribute with second IP of this application (only used for AGVLogical which connects to the management overlay and the physical AGV)


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