#include <time_processor.h>
Public Types | |
| typedef boost::shared_ptr< const TimeProcessor > | ConstPtr |
| enum | Operation { NONE, ADD_OFFSET, REMOVE_OFFSET } |
Public Member Functions | |
| void | process (ros::Time &time) const |
Static Public Member Functions | |
| static ConstPtr | create (std::string offset_operation_string, ros::Duration offset=ros::Duration(0.0)) |
| static ConstPtr | create (Operation offset_operation, ros::Duration offset=ros::Duration(0.0)) |
| static ConstPtr | inverse (const ConstPtr &processor) |
Private Member Functions | |
| TimeProcessor (Operation offset_operation, ros::Duration offset) | |
Private Attributes | |
| ros::Duration | offset_ |
| Operation | offset_operation_ |
Static Private Attributes | |
| static const boost::unordered_map< Operation, Operation > | operation_inverse_map_ |
| static const boost::unordered_map< std::string, Operation > | operation_name_map_ |
Definition at line 37 of file time_processor.h.
| typedef boost::shared_ptr<const TimeProcessor> message_relay::TimeProcessor::ConstPtr |
Definition at line 40 of file time_processor.h.
| Enumerator | |
|---|---|
| NONE | |
| ADD_OFFSET | |
| REMOVE_OFFSET | |
Definition at line 42 of file time_processor.h.
|
private |
Definition at line 74 of file time_processor.cpp.
|
static |
Definition at line 42 of file time_processor.cpp.
|
static |
Definition at line 56 of file time_processor.cpp.
|
static |
Definition at line 61 of file time_processor.cpp.
| void message_relay::TimeProcessor::process | ( | ros::Time & | time | ) | const |
Definition at line 78 of file time_processor.cpp.
|
private |
Definition at line 62 of file time_processor.h.
|
private |
Definition at line 61 of file time_processor.h.
|
staticprivate |
Definition at line 59 of file time_processor.h.
|
staticprivate |
Definition at line 58 of file time_processor.h.