Go to the source code of this file.
Functions | |
bool | getTopicMessage (int topicSpecifier, geometry_msgs::Twist &msg) |
Get the message from a topic. | |
bool | getUpdateTopicMessage (int topicSpecifier, geometry_msgs::Twist &msg) |
Update the topic and get the message. | |
bool | writeTopic (int topicSpecifier, const geometry_msgs::Twist &msg) |
Write a topic. | |
void | getTopicMessages (int topicSpecifier, deque< geometry_msgs::Twist > &msg) |
Get the actual list of the stored topic. | |
void | getUpdateTopicMessages (int topicSpecifier, deque< geometry_msgs::Twist > &msg) |
Get and update the actual list of the stored topic. |
bool getTopicMessage | ( | int | topicSpecifier, | |
geometry_msgs::Twist & | msg | |||
) |
Get the message from a topic.
[in] | topicSpecifier | This is the topic specifier number, and is given when the topic is opened. |
[out] | msg | String where store the info This method reads the topic specified by "topicSpecifier" and updates the internal variable. The method returns true if ros::ok(), false otherwise. If the specified topic was opened as write-only the method throws an exception and terminate the execution of the process. |
void getTopicMessages | ( | int | topicSpecifier, | |
deque< geometry_msgs::Twist > & | msg | |||
) |
Get the actual list of the stored topic.
[in] | topicSpecifier | This is the topic specifier number, and is given when the topic is opened. |
[in] | msg | List where the messages will be stored. |
bool getUpdateTopicMessage | ( | int | topicSpecifier, | |
geometry_msgs::Twist & | msg | |||
) |
Update the topic and get the message.
[in] | topicSpecifier | This is the topic specifier number, and is given when the topic is opened. |
[out] | msg | String where store the info This method reads the topic specified by "topicSpecifier" and updates the internal variable. The method returns true if ros::ok(), false otherwise. If the specified topic was opened as write-only the method throws an exception and terminate the execution of the process. |
void getUpdateTopicMessages | ( | int | topicSpecifier, | |
deque< geometry_msgs::Twist > & | msg | |||
) |
Get and update the actual list of the stored topic.
[in] | topicSpecifier | This is the topic specifier number, and is given when the topic is opened. |
[in] | msg | List where the messages will be stored. |
bool writeTopic | ( | int | topicSpecifier, | |
const geometry_msgs::Twist & | msg | |||
) |
Write a topic.
[in] | topicSpecifier | This is the topic specifier number, and is given when the topic is opened. |
[in] | &message | If a message is found on the topic, it is stored in this string. This method writes "message" on the topic specified by "topicSpecifier". The method returns true if ros::ok(), false otherwise. If the specified topic was opened as read-only the method throws an exception and terminate the execution of the process. |