15 #include <rosgraph_msgs/Clock.h>
29 void operator()(rosgraph_msgs::ClockConstPtr cl, std::pair<uint32_t, uint32_t> &value)
31 value.first = cl->clock.sec;
32 value.second = cl->clock.nsec;
34 void operator()(
const rosgraph_msgs::Clock &cl, std::pair<uint32_t, uint32_t> &value)
36 value.first = cl.clock.sec;
37 value.second = cl.clock.nsec;
39 rosgraph_msgs::Clock
operator()(
const std::pair<uint32_t, uint32_t> &value)
41 rosgraph_msgs::Clock cl;
42 cl.clock.sec = value.first;
43 cl.clock.nsec = value.second;
Definition: clocktimeconversion.h:27
void operator()(const rosgraph_msgs::Clock &cl, std::pair< uint32_t, uint32_t > &value)
Definition: clocktimeconversion.h:34
rosgraph_msgs::Clock operator()(const std::pair< uint32_t, uint32_t > &value)
Definition: clocktimeconversion.h:39
void operator()(rosgraph_msgs::ClockConstPtr cl, std::pair< uint32_t, uint32_t > &value)
Definition: clocktimeconversion.h:29
Definition: adore_if_ros_scheduling_constants.h:19