Template Class Server

Inheritance Relationships

Base Types

  • public rclcpp_action::ServerBase (Class ServerBase)

  • public std::enable_shared_from_this< Server< ActionT > >

Class Documentation

template<typename ActionT>
class Server : public rclcpp_action::ServerBase, public std::enable_shared_from_this<Server<ActionT>>

Public Types

using GoalCallback = std::function<GoalResponse(const GoalUUID&, std::shared_ptr<const typename ActionT::Goal>)>
using CancelCallback = std::function<CancelResponse(std::shared_ptr<ServerGoalHandle<ActionT>>)>
using AcceptedCallback = std::function<void(std::shared_ptr<ServerGoalHandle<ActionT>>)>

Public Functions

inline Server(rclcpp::node_interfaces::NodeBaseInterface::SharedPtr node_base, rclcpp::node_interfaces::NodeClockInterface::SharedPtr node_clock, rclcpp::node_interfaces::NodeLoggingInterface::SharedPtr node_logging, const std::string &name, const rcl_action_server_options_t &options, GoalCallback handle_goal, CancelCallback handle_cancel, AcceptedCallback handle_accepted)
inline ~Server()
inline void post_init_setup()

Public Members

GoalCallback handle_goal_
CancelCallback handle_cancel_
AcceptedCallback handle_accepted_