Function plansys2::startup_function

Function Documentation

bool plansys2::startup_function(std::map<std::string, std::shared_ptr<LifecycleServiceClient>> &manager_nodes, std::chrono::seconds timeout)

Starts up all managed nodes using their LifecycleServiceClient interfaces.

Parameters:
  • manager_nodes[inout] Map of node names to their LifecycleServiceClient instances.

  • timeout[in] Timeout for each startup operation.

Returns:

true if all nodes started successfully, false otherwise.