SOLA
Loading...
Searching...
No Matches
Public Member Functions | List of all members
daisi::path_planning::AGVLogical Class Reference

#include <agv_logical.h>

Public Member Functions

 AGVLogical (cpps::Topology topology, consensus::ConsensusSettings consensus_settings, bool first_node, const ns3::Ptr< ns3::Socket > &socket, uint32_t device_id)
 
std::string getConnectionString () const
 
void registerByAuthority (const std::string &ip)
 

Detailed Description

Logical agent of an AGV, that connected together with an physical AGV, follows drive commands and stores replications of Paxos instances.

Member Function Documentation

◆ registerByAuthority()

void daisi::path_planning::AGVLogical::registerByAuthority ( const std::string &  ip)

Register this AGV with an authority (PickupStation) by sending an message::NewAuthorityAGV message to the pickup station. If the AGV was already registered by an other authority, the other authority will not be notified about the change.

Parameters
ipIP of the pickup station

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