$search
#include <trigger_matcher.h>
Public Member Functions | |
bool | hasTimestamp () |
void | setLateDataCountAllowed (unsigned int v) |
void | setTrigDelay (const ros::Duration &delay) |
void | setTrigDelay (double delay) |
void | triggerCallback (const ros::Time &stamp) |
void | triggerCallback (const std_msgs::HeaderConstPtr &msg) |
void | triggerCallback (double stamp) |
TriggerMatcherBase (unsigned int late_data_count_allowed, unsigned int max_trig_queue_length) | |
virtual | ~TriggerMatcherBase () |
Public Attributes | |
bool | verbose_ |
Static Public Attributes | |
static const ros::Time | DropData = ros::TIME_MIN |
static const ros::Time | RetryLater = ros::TIME_MAX |
Protected Member Functions | |
virtual void | baseReset () |
ros::Time | getTimestampNoblockPrelocked (const ros::Time &data_time) |
virtual void | gotTrigger ()=0 |
Protected Attributes | |
boost::mutex | mutex_ |
Private Member Functions | |
bool | nonCausalHeads (const ros::Time &data_stamp) |
Private Attributes | |
ros::Time | last_data_stamp_ |
unsigned int | late_data_count_ |
unsigned int | late_data_count_allowed_ |
unsigned int | max_trig_queue_length_ |
bool | synchronized_ |
ros::Duration | trig_delay_ |
std::queue< ros::Time > | trig_queue_ |
Definition at line 49 of file trigger_matcher.h.
virtual timestamp_tools::TriggerMatcherBase::~TriggerMatcherBase | ( | ) | [inline, virtual] |
Definition at line 158 of file trigger_matcher.h.
timestamp_tools::TriggerMatcherBase::TriggerMatcherBase | ( | unsigned int | late_data_count_allowed, | |
unsigned int | max_trig_queue_length | |||
) | [inline] |
Definition at line 177 of file trigger_matcher.h.
virtual void timestamp_tools::TriggerMatcherBase::baseReset | ( | ) | [inline, protected, virtual] |
Definition at line 123 of file trigger_matcher.h.
ros::Time timestamp_tools::TriggerMatcherBase::getTimestampNoblockPrelocked | ( | const ros::Time & | data_time | ) | [inline, protected] |
Definition at line 55 of file trigger_matcher.h.
virtual void timestamp_tools::TriggerMatcherBase::gotTrigger | ( | ) | [protected, pure virtual] |
bool timestamp_tools::TriggerMatcherBase::hasTimestamp | ( | ) | [inline] |
Definition at line 153 of file trigger_matcher.h.
bool timestamp_tools::TriggerMatcherBase::nonCausalHeads | ( | const ros::Time & | data_stamp | ) | [inline, private] |
Definition at line 142 of file trigger_matcher.h.
void timestamp_tools::TriggerMatcherBase::setLateDataCountAllowed | ( | unsigned int | v | ) | [inline] |
Definition at line 162 of file trigger_matcher.h.
void timestamp_tools::TriggerMatcherBase::setTrigDelay | ( | const ros::Duration & | delay | ) | [inline] |
Definition at line 172 of file trigger_matcher.h.
void timestamp_tools::TriggerMatcherBase::setTrigDelay | ( | double | delay | ) | [inline] |
Definition at line 167 of file trigger_matcher.h.
void timestamp_tools::TriggerMatcherBase::triggerCallback | ( | const ros::Time & | stamp | ) | [inline] |
Definition at line 198 of file trigger_matcher.h.
void timestamp_tools::TriggerMatcherBase::triggerCallback | ( | const std_msgs::HeaderConstPtr & | msg | ) | [inline] |
Definition at line 193 of file trigger_matcher.h.
void timestamp_tools::TriggerMatcherBase::triggerCallback | ( | double | stamp | ) | [inline] |
Definition at line 188 of file trigger_matcher.h.
const ros::Time timestamp_tools::TriggerMatcherBase::DropData = ros::TIME_MIN [static] |
Definition at line 150 of file trigger_matcher.h.
Definition at line 135 of file trigger_matcher.h.
unsigned int timestamp_tools::TriggerMatcherBase::late_data_count_ [private] |
Definition at line 138 of file trigger_matcher.h.
unsigned int timestamp_tools::TriggerMatcherBase::late_data_count_allowed_ [private] |
Definition at line 137 of file trigger_matcher.h.
unsigned int timestamp_tools::TriggerMatcherBase::max_trig_queue_length_ [private] |
Definition at line 139 of file trigger_matcher.h.
boost::mutex timestamp_tools::TriggerMatcherBase::mutex_ [protected] |
Definition at line 52 of file trigger_matcher.h.
const ros::Time timestamp_tools::TriggerMatcherBase::RetryLater = ros::TIME_MAX [static] |
Definition at line 151 of file trigger_matcher.h.
bool timestamp_tools::TriggerMatcherBase::synchronized_ [private] |
Definition at line 140 of file trigger_matcher.h.
Definition at line 133 of file trigger_matcher.h.
std::queue<ros::Time> timestamp_tools::TriggerMatcherBase::trig_queue_ [private] |
Definition at line 131 of file trigger_matcher.h.
Definition at line 148 of file trigger_matcher.h.