timestamp_tools::QueuedTriggerMatcher< C > Class Template Reference

#include <trigger_matcher.h>

Inheritance diagram for timestamp_tools::QueuedTriggerMatcher< C >:
Inheritance graph
[legend]

List of all members.

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 (const DataPair &pair)
void dataCallback (const ros::Time &stamp, const boost::shared_ptr< C const > &data)
void dataCallback (double stamp, const boost::shared_ptr< C const > &data)
void dataCallback (const ros::Time &stamp, const C &data)
void dataCallback (double stamp, const C &data)
 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< DataPairdata_queue_
MatchCallback match_callback_
unsigned int max_data_queue_length_

Detailed Description

template<class C>
class timestamp_tools::QueuedTriggerMatcher< C >

Definition at line 281 of file trigger_matcher.h.


Member Typedef Documentation

template<class C>
typedef std::pair<ros::Time, boost::shared_ptr<C const> > timestamp_tools::QueuedTriggerMatcher< C >::DataPair

Definition at line 284 of file trigger_matcher.h.

template<class C>
typedef boost::function<void(const ros::Time &, boost::shared_ptr<C const> &)> timestamp_tools::QueuedTriggerMatcher< C >::MatchCallback

Definition at line 285 of file trigger_matcher.h.


Constructor & Destructor Documentation

template<class C>
virtual timestamp_tools::QueuedTriggerMatcher< C >::~QueuedTriggerMatcher (  )  [inline, virtual]

Definition at line 318 of file trigger_matcher.h.

template<class C>
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 327 of file trigger_matcher.h.


Member Function Documentation

template<class C>
void timestamp_tools::QueuedTriggerMatcher< C >::dataCallback ( const DataPair pair  )  [inline]

Definition at line 363 of file trigger_matcher.h.

template<class C>
void timestamp_tools::QueuedTriggerMatcher< C >::dataCallback ( const ros::Time &  stamp,
const boost::shared_ptr< C const > &  data 
) [inline]

Definition at line 350 of file trigger_matcher.h.

template<class C>
void timestamp_tools::QueuedTriggerMatcher< C >::dataCallback ( double  stamp,
const boost::shared_ptr< C const > &  data 
) [inline]

Definition at line 345 of file trigger_matcher.h.

template<class C>
void timestamp_tools::QueuedTriggerMatcher< C >::dataCallback ( const ros::Time &  stamp,
const C &  data 
) [inline]

Definition at line 339 of file trigger_matcher.h.

template<class C>
void timestamp_tools::QueuedTriggerMatcher< C >::dataCallback ( double  stamp,
const C &  data 
) [inline]

Definition at line 334 of file trigger_matcher.h.

template<class C>
static void timestamp_tools::QueuedTriggerMatcher< C >::DefaultCallback ( const ros::Time &  t,
boost::shared_ptr< C const > &  d 
) [inline, static, private]

Definition at line 292 of file trigger_matcher.h.

template<class C>
virtual void timestamp_tools::QueuedTriggerMatcher< C >::gotTrigger (  )  [inline, protected, virtual]

Implements timestamp_tools::TriggerMatcherBase.

Definition at line 298 of file trigger_matcher.h.

template<class C>
void timestamp_tools::QueuedTriggerMatcher< C >::reset (  )  [inline]

Definition at line 355 of file trigger_matcher.h.

template<class C>
void timestamp_tools::QueuedTriggerMatcher< C >::setMatchCallback ( MatchCallback cb  )  [inline]

Definition at line 322 of file trigger_matcher.h.


Member Data Documentation

template<class C>
std::queue<DataPair> timestamp_tools::QueuedTriggerMatcher< C >::data_queue_ [private]

Definition at line 289 of file trigger_matcher.h.

Definition at line 288 of file trigger_matcher.h.

template<class C>
unsigned int timestamp_tools::QueuedTriggerMatcher< C >::max_data_queue_length_ [private]

Definition at line 290 of file trigger_matcher.h.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs


timestamp_tools
Author(s): Blaise Gassend
autogenerated on Fri Jan 11 09:10:06 2013