Template Class Service
Defined in File Service.hpp
Inheritance Relationships
Base Types
public soar_ros::Input< typename T::Request::SharedPtr >
(Template Class Input)public soar_ros::Output< typename T::Response::SharedPtr >
(Template Class Output)public soar_ros::Interface
(Class Interface)
Class Documentation
-
template<typename T, typename pRequestType = typename T::Request::SharedPtr, typename pResponseType = typename T::Response::SharedPtr>
class Service : public virtual soar_ros::Input<typename T::Request::SharedPtr>, public virtual soar_ros::Output<typename T::Response::SharedPtr>, public soar_ros::Interface Public Functions
-
inline ~Service()
-
virtual void parse(pRequestType msg) = 0
-
virtual pResponseType parse(sml::Identifier *id) override = 0
Parse Soar working memory structure to a ROS message.
- Parameters:
id –
- Returns:
-
inline virtual std::string getTopic() override
Get the topic of the subscriber.
- Returns:
-
inline virtual sml::Agent *getAgent() override
Get the agent of the current interface.
- Returns:
Protected Functions
-
inline ~Service()