EEROS  1.0.0.0
API for the EEROS Real-Time Robotics Framework
RosTopicSynchronizer.hpp
Go to the documentation of this file.
1 #ifndef ORG_EEROS_CORE_ROS_TOPIC_SYNCHRONIZER_HPP_
2 #define ORG_EEROS_CORE_ROS_TOPIC_SYNCHRONIZER_HPP_
3 
4 #include <ros/ros.h>
5 #include <ros/callback_queue.h>
6 #include <list>
7 
8 namespace eeros {
9 
11  public:
13 
14  template <class rosTopicType>
15  void addTopic(std::string rosTopic);
16 
17  template <class rosTopicType2>
18  void callback(const rosTopicType2 msg);
19 
20 
21  private:
22  ros::NodeHandle syncNodeHandler;
23  ros::CallbackQueue syncCallbackQueue;
24 // std::list
25 
26  };
27 }
28 
29 #endif // ORG_EEROS_CORE_ROS_TOPIC_SYNCHRONIZER_HPP_
void callback(const rosTopicType2 msg)
Definition: RosTopicSynchronizer.cpp:21
Definition: Config.hpp:14
RosTopicSynchronizer()
Definition: RosTopicSynchronizer.cpp:8
void addTopic(std::string rosTopic)
Definition: RosTopicSynchronizer.cpp:15
Definition: RosTopicSynchronizer.hpp:10