Class ExecutableList

Class Documentation

class ExecutableList

This class contains subscriptionbase, timerbase, etc. which can be used to run callbacks.

Public Functions

ExecutableList()
~ExecutableList()
void clear()
void add_subscription(rclcpp::SubscriptionBase::SharedPtr subscription)
void add_timer(rclcpp::TimerBase::SharedPtr timer)
void add_service(rclcpp::ServiceBase::SharedPtr service)
void add_client(rclcpp::ClientBase::SharedPtr client)
void add_waitable(rclcpp::Waitable::SharedPtr waitable)

Public Members

std::vector<rclcpp::SubscriptionBase::SharedPtr> subscription
size_t number_of_subscriptions
std::vector<rclcpp::TimerBase::SharedPtr> timer
size_t number_of_timers
std::vector<rclcpp::ServiceBase::SharedPtr> service
size_t number_of_services
std::vector<rclcpp::ClientBase::SharedPtr> client
size_t number_of_clients
std::vector<rclcpp::Waitable::SharedPtr> waitable
size_t number_of_waitables