27 #include <boost/assign/list_of.hpp> 49 catch (
const std::out_of_range &ex)
51 ROS_FATAL_STREAM(
"Invalid time offset operation " << offset_operation_string <<
" specified");
66 processor->offset_operation_), processor->offset_));
boost::shared_ptr< const TimeProcessor > ConstPtr
static const boost::unordered_map< Operation, Operation > operation_inverse_map_
void process(ros::Time &time) const
static ConstPtr inverse(const ConstPtr &processor)
#define ROS_FATAL_STREAM(args)
Operation offset_operation_
static ConstPtr create(std::string offset_operation_string, ros::Duration offset=ros::Duration(0.0))
#define ROS_ASSERT_MSG(cond,...)
static const boost::unordered_map< std::string, Operation > operation_name_map_
TimeProcessor(Operation offset_operation, ros::Duration offset)