SOLA
Loading...
Searching...
No Matches
Public Member Functions | List of all members
daisi::cpps::logical::AmrLogicalAgent Class Reference
Inheritance diagram for daisi::cpps::logical::AmrLogicalAgent:
daisi::cpps::logical::LogicalAgent

Public Member Functions

 AmrLogicalAgent (const AlgorithmConfig &config, bool first_node)
 
virtual void init ()
 Method called by the container on start. Initializing components such as Sola.
 
void start () override
 
void notifyTaskAssigned ()
 
ns3::InetSocketAddress getServerAddress () const
 Get address from TCP socket listening on connections from AmrPhysicalAsset.
 
- Public Member Functions inherited from daisi::cpps::logical::LogicalAgent
 LogicalAgent (std::shared_ptr< CppsLoggerNs3 > logger, AlgorithmConfig config_algo, bool first_node)
 
void processMessage (const Message &msg)
 Forwarding a received message to the appropriate algorithm interface for processing.
 
bool isRunning () const
 Helper method for event scheduling.
 
bool canStop () const
 Helper method for event scheduling.
 
void prepareStop ()
 Helper method for event scheduling.
 

Additional Inherited Members

- Protected Member Functions inherited from daisi::cpps::logical::LogicalAgent
void initCommunication ()
 Initializing communication via Sola which all logical agents require.
 
- Protected Attributes inherited from daisi::cpps::logical::LogicalAgent
std::vector< std::unique_ptr< AlgorithmInterface > > algorithms_
 The algorithms which logical messages will be forwarded to for processing.
 
daisi::cpps::common::CppsCommunicatorPtr communicator_
 Collection of members to communicate.
 
std::shared_ptr< CppsLoggerNs3logger_
 Logging relevant information into Database.
 
const AlgorithmConfig algorithm_config_
 Information about which algorithm interfaces will be initialized after the initialization of Sola is finished.
 
std::string uuid_
 Needed for initialization of Sola.
 
bool first_node_
 

Member Function Documentation

◆ start()

void daisi::cpps::logical::AmrLogicalAgent::start ( )
overridevirtual

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