15 #include <rosgraph_msgs/Clock.h>
26 void operator()(rosgraph_msgs::ClockConstPtr cl, std::pair<uint32_t,uint32_t>& value)
28 value.first = cl->clock.sec;
29 value.second = cl->clock.nsec;
31 void operator()(
const rosgraph_msgs::Clock& cl, std::pair<uint32_t,uint32_t>& value)
33 value.first = cl.clock.sec;
34 value.second = cl.clock.nsec;
36 rosgraph_msgs::Clock
operator()(
const std::pair<uint32_t,uint32_t>& value)
38 rosgraph_msgs::Clock cl;
39 cl.clock.sec = value.first;
40 cl.clock.nsec = value.second;
Definition: areaofeffectconverter.h:20
Definition: clocktimeconverter.h:25
rosgraph_msgs::Clock operator()(const std::pair< uint32_t, uint32_t > &value)
Definition: clocktimeconverter.h:36
void operator()(rosgraph_msgs::ClockConstPtr cl, std::pair< uint32_t, uint32_t > &value)
Definition: clocktimeconverter.h:26
void operator()(const rosgraph_msgs::Clock &cl, std::pair< uint32_t, uint32_t > &value)
Definition: clocktimeconverter.h:31