15#ifndef CS4HOME_CORE__FLOW_HPP_
16#define CS4HOME_CORE__FLOW_HPP_
21#include <initializer_list>
23#include "rclcpp/rclcpp.hpp"
24#include "rclcpp/macros.hpp"
37 RCLCPP_SMART_PTR_DEFINITIONS(
Flow)
43 explicit Flow(
const std::vector<std::string> & nodes);
54 const std::vector<std::string> &
get_nodes()
const {
return nodes_;}
57 std::vector<std::string> nodes_;
Flow(const std::vector< std::string > &nodes)
Constructs a Flow object with a specified sequence of nodes.
Definition Flow.cpp:32
const std::vector< std::string > & get_nodes() const
Retrieves the sequence of nodes in the flow.
Definition Flow.hpp:54
void print() const
Prints the sequence of nodes in the flow to the standard output.
Definition Flow.cpp:44
Definition Afferent.hpp:32