Template Class Publisher

Inheritance Relationships

Base Types

Class Documentation

template<typename T>
class Publisher : public soar_ros::Output<T>, public soar_ros::Interface

Public Functions

inline Publisher(sml::Agent *agent, rclcpp::Node::SharedPtr node, const std::string &topic)
inline ~Publisher()
inline void run()
virtual T 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:

Public Members

rclcpp::Publisher<T>::SharedPtr pub