Template Class Server< ros_babel_fish::impl::BabelFishAction >

Inheritance Relationships

Base Types

  • public ServerBase

  • public std::enable_shared_from_this< Server< ros_babel_fish::impl::BabelFishAction > >

Class Documentation

template<>
class Server<ros_babel_fish::impl::BabelFishAction> : public ServerBase, public std::enable_shared_from_this<Server<ros_babel_fish::impl::BabelFishAction>>

Public Types

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

Public Functions

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, ros_babel_fish::ActionTypeSupport::ConstSharedPtr type_support, const rcl_action_server_options_t &options, GoalCallback handle_goal, CancelCallback handle_cancel, AcceptedCallback handle_accepted)

Do not call directly, this is private API and might change. Use BabelFish::create_action_server.

~Server() override