10 #ifndef DYNAMIC_GRAPH_ROS_TIME_HH 11 #define DYNAMIC_GRAPH_ROS_TIME_HH 13 #include <dynamic-graph/entity.h> 14 #include <dynamic-graph/signal.h> 16 #include <boost/date_time/posix_time/posix_time_types.hpp> 20 class RosTime :
public dynamicgraph::Entity
22 DYNAMIC_GRAPH_ENTITY_DECL();
25 dynamicgraph::Signal<boost::posix_time::ptime, int> now_;
26 RosTime(
const std::string& name);
27 virtual std::string getDocString()
const;
30 boost::posix_time::ptime& update(boost::posix_time::ptime& time,
34 static const std::string docstring_;
39 #endif // DYNAMIC_GRAPH_ROS_TIME_HH this is this package namespace in order to avoid naming conflict
Definition: device.hh:22
Definition: ros_time.hh:20