include_TEMPLATE_MSGS.h
Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027
00034 bool getTopicMessage(int topicSpecifier, TEMPLATE_MSGS &msg){
00035 return ((ROSiFace<TEMPLATE_MSGS,TEMPLATE_MSGS::ConstPtr>*)(_openTopics[topicSpecifier]))->getMessage(msg);
00036 }
00037
00044 bool getUpdateTopicMessage(int topicSpecifier, TEMPLATE_MSGS &msg){
00045 if(_openTopics[topicSpecifier]->updateMessage());
00046 return ((ROSiFace<TEMPLATE_MSGS,TEMPLATE_MSGS::ConstPtr>*)(_openTopics[topicSpecifier]))->getMessage(msg);
00047 }
00048
00055 bool writeTopic(int topicSpecifier, const TEMPLATE_MSGS &msg){
00056 return ((ROSiFace<TEMPLATE_MSGS,TEMPLATE_MSGS::ConstPtr>*)(_openTopics[topicSpecifier]))->sendMessage(msg);
00057 }
00058
00062 void getTopicMessages(int topicSpecifier, deque<TEMPLATE_MSGS> &msg){
00063 ((ROSiFace<TEMPLATE_MSGS,TEMPLATE_MSGS::ConstPtr>*)(_openTopics[topicSpecifier]))->getMsgList(msg);
00064 }
00065
00069 void getUpdateTopicMessages(int topicSpecifier, deque<TEMPLATE_MSGS> &msg){
00070 if(_openTopics[topicSpecifier]->updateMessage());
00071 ((ROSiFace<TEMPLATE_MSGS,TEMPLATE_MSGS::ConstPtr>*)(_openTopics[topicSpecifier]))->getMsgList(msg);
00072 }
00073
00074