Public Member Functions | Protected Member Functions | Private Attributes | List of all members
timestamp_tools::TriggerMatcher Class Reference

#include <trigger_matcher.h>

Inheritance diagram for timestamp_tools::TriggerMatcher:
Inheritance graph

Public Member Functions

ros::Time getTimestampBlocking (const ros::Time &t)
ros::Time getTimestampBlocking (const ros::Time &t, double timeout)
ros::Time getTimestampNoblock (const ros::Time &data_time)
void reset ()
 TriggerMatcher (unsigned int late_data_count_allowed, unsigned int max_trig_queue_length)
virtual ~TriggerMatcher ()
- Public Member Functions inherited from timestamp_tools::TriggerMatcherBase
bool hasTimestamp ()
void setLateDataCountAllowed (unsigned int v)
void setTrigDelay (double delay)
void setTrigDelay (const ros::Duration &delay)
void triggerCallback (double stamp)
void triggerCallback (const std_msgs::HeaderConstPtr &msg)
void triggerCallback (const ros::Time &stamp)
 TriggerMatcherBase (unsigned int late_data_count_allowed, unsigned int max_trig_queue_length)
virtual ~TriggerMatcherBase ()

Protected Member Functions

virtual void gotTrigger ()
- Protected Member Functions inherited from timestamp_tools::TriggerMatcherBase
virtual void baseReset ()
ros::Time getTimestampNoblockPrelocked (const ros::Time &data_time)

Private Attributes

boost::mutex data_source_mutex_
boost::condition_variable got_trigger_condition_

Additional Inherited Members

- Public Attributes inherited from timestamp_tools::TriggerMatcherBase
bool verbose_
- Static Public Attributes inherited from timestamp_tools::TriggerMatcherBase
static const ros::Time DropData = ros::TIME_MIN
static const ros::Time RetryLater = ros::TIME_MAX
- Protected Attributes inherited from timestamp_tools::TriggerMatcherBase
boost::mutex mutex_

Detailed Description

Definition at line 216 of file trigger_matcher.h.

Constructor & Destructor Documentation

virtual timestamp_tools::TriggerMatcher::~TriggerMatcher ( )

Definition at line 229 of file trigger_matcher.h.

timestamp_tools::TriggerMatcher::TriggerMatcher ( unsigned int  late_data_count_allowed,
unsigned int  max_trig_queue_length 

Definition at line 232 of file trigger_matcher.h.

Member Function Documentation

ros::Time timestamp_tools::TriggerMatcher::getTimestampBlocking ( const ros::Time t)

Definition at line 244 of file trigger_matcher.h.

ros::Time timestamp_tools::TriggerMatcher::getTimestampBlocking ( const ros::Time t,
double  timeout 

Definition at line 259 of file trigger_matcher.h.

ros::Time timestamp_tools::TriggerMatcher::getTimestampNoblock ( const ros::Time data_time)

Definition at line 274 of file trigger_matcher.h.

virtual void timestamp_tools::TriggerMatcher::gotTrigger ( )

Implements timestamp_tools::TriggerMatcherBase.

Definition at line 223 of file trigger_matcher.h.

void timestamp_tools::TriggerMatcher::reset ( )

Definition at line 236 of file trigger_matcher.h.

Member Data Documentation

boost::mutex timestamp_tools::TriggerMatcher::data_source_mutex_

Definition at line 219 of file trigger_matcher.h.

boost::condition_variable timestamp_tools::TriggerMatcher::got_trigger_condition_

Definition at line 220 of file trigger_matcher.h.

The documentation for this class was generated from the following file:

Author(s): Blaise Gassend
autogenerated on Tue Mar 23 2021 02:23:30