#include <trigger_matcher.h>
Public Types | |
typedef std::pair< ros::Time, boost::shared_ptr< C const > > | DataPair |
typedef boost::function< void(const ros::Time &, boost::shared_ptr < C const > &)> | MatchCallback |
Public Member Functions | |
void | dataCallback (double stamp, const C &data) |
void | dataCallback (const ros::Time &stamp, const C &data) |
void | dataCallback (double stamp, const boost::shared_ptr< C const > &data) |
void | dataCallback (const ros::Time &stamp, const boost::shared_ptr< C const > &data) |
void | dataCallback (const DataPair &pair) |
QueuedTriggerMatcher (unsigned int late_data_count_allowed, unsigned int max_trig_queue_length, unsigned int max_data_queue_length) | |
void | reset () |
void | setMatchCallback (MatchCallback &cb) |
virtual | ~QueuedTriggerMatcher () |
Protected Member Functions | |
virtual void | gotTrigger () |
Static Private Member Functions | |
static void | DefaultCallback (const ros::Time &t, boost::shared_ptr< C const > &d) |
Private Attributes | |
std::queue< DataPair > | data_queue_ |
MatchCallback | match_callback_ |
unsigned int | max_data_queue_length_ |
Definition at line 284 of file trigger_matcher.h.
typedef std::pair<ros::Time, boost::shared_ptr<C const> > timestamp_tools::QueuedTriggerMatcher< C >::DataPair |
Definition at line 287 of file trigger_matcher.h.
typedef boost::function<void(const ros::Time &, boost::shared_ptr<C const> &)> timestamp_tools::QueuedTriggerMatcher< C >::MatchCallback |
Definition at line 288 of file trigger_matcher.h.
virtual timestamp_tools::QueuedTriggerMatcher< C >::~QueuedTriggerMatcher | ( | ) | [inline, virtual] |
Definition at line 321 of file trigger_matcher.h.
timestamp_tools::QueuedTriggerMatcher< C >::QueuedTriggerMatcher | ( | unsigned int | late_data_count_allowed, |
unsigned int | max_trig_queue_length, | ||
unsigned int | max_data_queue_length | ||
) | [inline] |
Definition at line 330 of file trigger_matcher.h.
void timestamp_tools::QueuedTriggerMatcher< C >::dataCallback | ( | double | stamp, |
const C & | data | ||
) | [inline] |
Definition at line 337 of file trigger_matcher.h.
void timestamp_tools::QueuedTriggerMatcher< C >::dataCallback | ( | const ros::Time & | stamp, |
const C & | data | ||
) | [inline] |
Definition at line 342 of file trigger_matcher.h.
void timestamp_tools::QueuedTriggerMatcher< C >::dataCallback | ( | double | stamp, |
const boost::shared_ptr< C const > & | data | ||
) | [inline] |
Definition at line 348 of file trigger_matcher.h.
void timestamp_tools::QueuedTriggerMatcher< C >::dataCallback | ( | const ros::Time & | stamp, |
const boost::shared_ptr< C const > & | data | ||
) | [inline] |
Definition at line 353 of file trigger_matcher.h.
void timestamp_tools::QueuedTriggerMatcher< C >::dataCallback | ( | const DataPair & | pair | ) | [inline] |
Definition at line 366 of file trigger_matcher.h.
static void timestamp_tools::QueuedTriggerMatcher< C >::DefaultCallback | ( | const ros::Time & | t, |
boost::shared_ptr< C const > & | d | ||
) | [inline, static, private] |
Definition at line 295 of file trigger_matcher.h.
virtual void timestamp_tools::QueuedTriggerMatcher< C >::gotTrigger | ( | ) | [inline, protected, virtual] |
Implements timestamp_tools::TriggerMatcherBase.
Definition at line 301 of file trigger_matcher.h.
void timestamp_tools::QueuedTriggerMatcher< C >::reset | ( | ) | [inline] |
Definition at line 358 of file trigger_matcher.h.
void timestamp_tools::QueuedTriggerMatcher< C >::setMatchCallback | ( | MatchCallback & | cb | ) | [inline] |
Definition at line 325 of file trigger_matcher.h.
std::queue<DataPair> timestamp_tools::QueuedTriggerMatcher< C >::data_queue_ [private] |
Definition at line 292 of file trigger_matcher.h.
MatchCallback timestamp_tools::QueuedTriggerMatcher< C >::match_callback_ [private] |
Definition at line 291 of file trigger_matcher.h.
unsigned int timestamp_tools::QueuedTriggerMatcher< C >::max_data_queue_length_ [private] |
Definition at line 293 of file trigger_matcher.h.