Public Types | Public Member Functions | Private Types | Private Member Functions | Private Attributes | List of all members
message_filters::sync_policies::ExactTime< M0, M1, M2, M3, M4, M5, M6, M7, M8 > Struct Template Reference

#include <exact_time.h>

Inheritance diagram for message_filters::sync_policies::ExactTime< M0, M1, M2, M3, M4, M5, M6, M7, M8 >:
Inheritance graph
[legend]

Public Types

typedef Super::Events Events
 
typedef Super::M0Event M0Event
 
typedef Super::M1Event M1Event
 
typedef Super::M2Event M2Event
 
typedef Super::M3Event M3Event
 
typedef Super::M4Event M4Event
 
typedef Super::M5Event M5Event
 
typedef Super::M6Event M6Event
 
typedef Super::M7Event M7Event
 
typedef Super::M8Event M8Event
 
typedef Super::Messages Messages
 
typedef Super::RealTypeCount RealTypeCount
 
typedef Super::Signal Signal
 
typedef PolicyBase< M0, M1, M2, M3, M4, M5, M6, M7, M8 > Super
 
typedef Synchronizer< ExactTimeSync
 
typedef boost::tuple< M0Event, M1Event, M2Event, M3Event, M4Event, M5Event, M6Event, M7Event, M8EventTuple
 
- Public Types inherited from message_filters::PolicyBase< M0, M1, M2, M3, M4, M5, M6, M7, M8 >
typedef mpl::vector< ros::MessageEvent< M0 const >, ros::MessageEvent< M1 const >, ros::MessageEvent< M2 const >, ros::MessageEvent< M3 const >, ros::MessageEvent< M4 const >, ros::MessageEvent< M5 const >, ros::MessageEvent< M6 const >, ros::MessageEvent< M7 const >, ros::MessageEvent< M8 const > > Events
 
typedef mpl::at_c< Events, 0 >::type M0Event
 
typedef mpl::at_c< Events, 1 >::type M1Event
 
typedef mpl::at_c< Events, 2 >::type M2Event
 
typedef mpl::at_c< Events, 3 >::type M3Event
 
typedef mpl::at_c< Events, 4 >::type M4Event
 
typedef mpl::at_c< Events, 5 >::type M5Event
 
typedef mpl::at_c< Events, 6 >::type M6Event
 
typedef mpl::at_c< Events, 7 >::type M7Event
 
typedef mpl::at_c< Events, 8 >::type M8Event
 
typedef mpl::vector< M0, M1, M2, M3, M4, M5, M6, M7, M8 > Messages
 
typedef mpl::fold< Messages, mpl::int_< 0 >, mpl::if_< mpl::not_< boost::is_same< mpl::_2, NullType > >, mpl::next< mpl::_1 >, mpl::_1 > >::type RealTypeCount
 
typedef Signal9< M0, M1, M2, M3, M4, M5, M6, M7, M8 > Signal
 

Public Member Functions

template<int i>
void add (const typename mpl::at_c< Events, i >::type &evt)
 
 ExactTime (uint32_t queue_size)
 
 ExactTime (const ExactTime &e)
 
void initParent (Sync *parent)
 
ExactTimeoperator= (const ExactTime &rhs)
 
template<class C >
Connection registerDropCallback (const C &callback)
 
template<class C >
Connection registerDropCallback (C &callback)
 
template<class C , typename T >
Connection registerDropCallback (const C &callback, T *t)
 
template<class C , typename T >
Connection registerDropCallback (C &callback, T *t)
 

Private Types

typedef std::map< ros::Time, TupleM_TimeToTuple
 

Private Member Functions

void checkTuple (Tuple &t)
 
void clearOldTuples ()
 

Private Attributes

Signal drop_signal_
 
ros::Time last_signal_time_
 
boost::mutex mutex_
 
Syncparent_
 
uint32_t queue_size_
 
M_TimeToTuple tuples_
 

Detailed Description

template<typename M0, typename M1, typename M2 = NullType, typename M3 = NullType, typename M4 = NullType, typename M5 = NullType, typename M6 = NullType, typename M7 = NullType, typename M8 = NullType>
struct message_filters::sync_policies::ExactTime< M0, M1, M2, M3, M4, M5, M6, M7, M8 >

Definition at line 73 of file exact_time.h.

Member Typedef Documentation

template<typename M0 , typename M1 , typename M2 = NullType, typename M3 = NullType, typename M4 = NullType, typename M5 = NullType, typename M6 = NullType, typename M7 = NullType, typename M8 = NullType>
typedef Super::Events message_filters::sync_policies::ExactTime< M0, M1, M2, M3, M4, M5, M6, M7, M8 >::Events

Definition at line 79 of file exact_time.h.

template<typename M0 , typename M1 , typename M2 = NullType, typename M3 = NullType, typename M4 = NullType, typename M5 = NullType, typename M6 = NullType, typename M7 = NullType, typename M8 = NullType>
typedef Super::M0Event message_filters::sync_policies::ExactTime< M0, M1, M2, M3, M4, M5, M6, M7, M8 >::M0Event

Definition at line 81 of file exact_time.h.

template<typename M0 , typename M1 , typename M2 = NullType, typename M3 = NullType, typename M4 = NullType, typename M5 = NullType, typename M6 = NullType, typename M7 = NullType, typename M8 = NullType>
typedef Super::M1Event message_filters::sync_policies::ExactTime< M0, M1, M2, M3, M4, M5, M6, M7, M8 >::M1Event

Definition at line 82 of file exact_time.h.

template<typename M0 , typename M1 , typename M2 = NullType, typename M3 = NullType, typename M4 = NullType, typename M5 = NullType, typename M6 = NullType, typename M7 = NullType, typename M8 = NullType>
typedef Super::M2Event message_filters::sync_policies::ExactTime< M0, M1, M2, M3, M4, M5, M6, M7, M8 >::M2Event

Definition at line 83 of file exact_time.h.

template<typename M0 , typename M1 , typename M2 = NullType, typename M3 = NullType, typename M4 = NullType, typename M5 = NullType, typename M6 = NullType, typename M7 = NullType, typename M8 = NullType>
typedef Super::M3Event message_filters::sync_policies::ExactTime< M0, M1, M2, M3, M4, M5, M6, M7, M8 >::M3Event

Definition at line 84 of file exact_time.h.

template<typename M0 , typename M1 , typename M2 = NullType, typename M3 = NullType, typename M4 = NullType, typename M5 = NullType, typename M6 = NullType, typename M7 = NullType, typename M8 = NullType>
typedef Super::M4Event message_filters::sync_policies::ExactTime< M0, M1, M2, M3, M4, M5, M6, M7, M8 >::M4Event

Definition at line 85 of file exact_time.h.

template<typename M0 , typename M1 , typename M2 = NullType, typename M3 = NullType, typename M4 = NullType, typename M5 = NullType, typename M6 = NullType, typename M7 = NullType, typename M8 = NullType>
typedef Super::M5Event message_filters::sync_policies::ExactTime< M0, M1, M2, M3, M4, M5, M6, M7, M8 >::M5Event

Definition at line 86 of file exact_time.h.

template<typename M0 , typename M1 , typename M2 = NullType, typename M3 = NullType, typename M4 = NullType, typename M5 = NullType, typename M6 = NullType, typename M7 = NullType, typename M8 = NullType>
typedef Super::M6Event message_filters::sync_policies::ExactTime< M0, M1, M2, M3, M4, M5, M6, M7, M8 >::M6Event

Definition at line 87 of file exact_time.h.

template<typename M0 , typename M1 , typename M2 = NullType, typename M3 = NullType, typename M4 = NullType, typename M5 = NullType, typename M6 = NullType, typename M7 = NullType, typename M8 = NullType>
typedef Super::M7Event message_filters::sync_policies::ExactTime< M0, M1, M2, M3, M4, M5, M6, M7, M8 >::M7Event

Definition at line 88 of file exact_time.h.

template<typename M0 , typename M1 , typename M2 = NullType, typename M3 = NullType, typename M4 = NullType, typename M5 = NullType, typename M6 = NullType, typename M7 = NullType, typename M8 = NullType>
typedef Super::M8Event message_filters::sync_policies::ExactTime< M0, M1, M2, M3, M4, M5, M6, M7, M8 >::M8Event

Definition at line 89 of file exact_time.h.

template<typename M0 , typename M1 , typename M2 = NullType, typename M3 = NullType, typename M4 = NullType, typename M5 = NullType, typename M6 = NullType, typename M7 = NullType, typename M8 = NullType>
typedef std::map<ros::Time, Tuple> message_filters::sync_policies::ExactTime< M0, M1, M2, M3, M4, M5, M6, M7, M8 >::M_TimeToTuple
private

Definition at line 231 of file exact_time.h.

template<typename M0 , typename M1 , typename M2 = NullType, typename M3 = NullType, typename M4 = NullType, typename M5 = NullType, typename M6 = NullType, typename M7 = NullType, typename M8 = NullType>
typedef Super::Messages message_filters::sync_policies::ExactTime< M0, M1, M2, M3, M4, M5, M6, M7, M8 >::Messages

Definition at line 77 of file exact_time.h.

template<typename M0 , typename M1 , typename M2 = NullType, typename M3 = NullType, typename M4 = NullType, typename M5 = NullType, typename M6 = NullType, typename M7 = NullType, typename M8 = NullType>
typedef Super::RealTypeCount message_filters::sync_policies::ExactTime< M0, M1, M2, M3, M4, M5, M6, M7, M8 >::RealTypeCount

Definition at line 80 of file exact_time.h.

template<typename M0 , typename M1 , typename M2 = NullType, typename M3 = NullType, typename M4 = NullType, typename M5 = NullType, typename M6 = NullType, typename M7 = NullType, typename M8 = NullType>
typedef Super::Signal message_filters::sync_policies::ExactTime< M0, M1, M2, M3, M4, M5, M6, M7, M8 >::Signal

Definition at line 78 of file exact_time.h.

template<typename M0 , typename M1 , typename M2 = NullType, typename M3 = NullType, typename M4 = NullType, typename M5 = NullType, typename M6 = NullType, typename M7 = NullType, typename M8 = NullType>
typedef PolicyBase<M0, M1, M2, M3, M4, M5, M6, M7, M8> message_filters::sync_policies::ExactTime< M0, M1, M2, M3, M4, M5, M6, M7, M8 >::Super

Definition at line 76 of file exact_time.h.

template<typename M0 , typename M1 , typename M2 = NullType, typename M3 = NullType, typename M4 = NullType, typename M5 = NullType, typename M6 = NullType, typename M7 = NullType, typename M8 = NullType>
typedef Synchronizer<ExactTime> message_filters::sync_policies::ExactTime< M0, M1, M2, M3, M4, M5, M6, M7, M8 >::Sync

Definition at line 75 of file exact_time.h.

template<typename M0 , typename M1 , typename M2 = NullType, typename M3 = NullType, typename M4 = NullType, typename M5 = NullType, typename M6 = NullType, typename M7 = NullType, typename M8 = NullType>
typedef boost::tuple<M0Event, M1Event, M2Event, M3Event, M4Event, M5Event, M6Event, M7Event, M8Event> message_filters::sync_policies::ExactTime< M0, M1, M2, M3, M4, M5, M6, M7, M8 >::Tuple

Definition at line 90 of file exact_time.h.

Constructor & Destructor Documentation

template<typename M0 , typename M1 , typename M2 = NullType, typename M3 = NullType, typename M4 = NullType, typename M5 = NullType, typename M6 = NullType, typename M7 = NullType, typename M8 = NullType>
message_filters::sync_policies::ExactTime< M0, M1, M2, M3, M4, M5, M6, M7, M8 >::ExactTime ( uint32_t  queue_size)
inline

Definition at line 92 of file exact_time.h.

template<typename M0 , typename M1 , typename M2 = NullType, typename M3 = NullType, typename M4 = NullType, typename M5 = NullType, typename M6 = NullType, typename M7 = NullType, typename M8 = NullType>
message_filters::sync_policies::ExactTime< M0, M1, M2, M3, M4, M5, M6, M7, M8 >::ExactTime ( const ExactTime< M0, M1, M2, M3, M4, M5, M6, M7, M8 > &  e)
inline

Definition at line 98 of file exact_time.h.

Member Function Documentation

template<typename M0 , typename M1 , typename M2 = NullType, typename M3 = NullType, typename M4 = NullType, typename M5 = NullType, typename M6 = NullType, typename M7 = NullType, typename M8 = NullType>
template<int i>
void message_filters::sync_policies::ExactTime< M0, M1, M2, M3, M4, M5, M6, M7, M8 >::add ( const typename mpl::at_c< Events, i >::type &  evt)
inline

Definition at line 119 of file exact_time.h.

template<typename M0 , typename M1 , typename M2 = NullType, typename M3 = NullType, typename M4 = NullType, typename M5 = NullType, typename M6 = NullType, typename M7 = NullType, typename M8 = NullType>
void message_filters::sync_policies::ExactTime< M0, M1, M2, M3, M4, M5, M6, M7, M8 >::checkTuple ( Tuple t)
inlineprivate

Definition at line 160 of file exact_time.h.

template<typename M0 , typename M1 , typename M2 = NullType, typename M3 = NullType, typename M4 = NullType, typename M5 = NullType, typename M6 = NullType, typename M7 = NullType, typename M8 = NullType>
void message_filters::sync_policies::ExactTime< M0, M1, M2, M3, M4, M5, M6, M7, M8 >::clearOldTuples ( )
inlineprivate

Definition at line 202 of file exact_time.h.

template<typename M0 , typename M1 , typename M2 = NullType, typename M3 = NullType, typename M4 = NullType, typename M5 = NullType, typename M6 = NullType, typename M7 = NullType, typename M8 = NullType>
void message_filters::sync_policies::ExactTime< M0, M1, M2, M3, M4, M5, M6, M7, M8 >::initParent ( Sync parent)
inline

Definition at line 113 of file exact_time.h.

template<typename M0 , typename M1 , typename M2 = NullType, typename M3 = NullType, typename M4 = NullType, typename M5 = NullType, typename M6 = NullType, typename M7 = NullType, typename M8 = NullType>
ExactTime& message_filters::sync_policies::ExactTime< M0, M1, M2, M3, M4, M5, M6, M7, M8 >::operator= ( const ExactTime< M0, M1, M2, M3, M4, M5, M6, M7, M8 > &  rhs)
inline

Definition at line 103 of file exact_time.h.

template<typename M0 , typename M1 , typename M2 = NullType, typename M3 = NullType, typename M4 = NullType, typename M5 = NullType, typename M6 = NullType, typename M7 = NullType, typename M8 = NullType>
template<class C >
Connection message_filters::sync_policies::ExactTime< M0, M1, M2, M3, M4, M5, M6, M7, M8 >::registerDropCallback ( const C &  callback)
inline

Definition at line 134 of file exact_time.h.

template<typename M0 , typename M1 , typename M2 = NullType, typename M3 = NullType, typename M4 = NullType, typename M5 = NullType, typename M6 = NullType, typename M7 = NullType, typename M8 = NullType>
template<class C >
Connection message_filters::sync_policies::ExactTime< M0, M1, M2, M3, M4, M5, M6, M7, M8 >::registerDropCallback ( C &  callback)
inline

Definition at line 140 of file exact_time.h.

template<typename M0 , typename M1 , typename M2 = NullType, typename M3 = NullType, typename M4 = NullType, typename M5 = NullType, typename M6 = NullType, typename M7 = NullType, typename M8 = NullType>
template<class C , typename T >
Connection message_filters::sync_policies::ExactTime< M0, M1, M2, M3, M4, M5, M6, M7, M8 >::registerDropCallback ( const C &  callback,
T *  t 
)
inline

Definition at line 146 of file exact_time.h.

template<typename M0 , typename M1 , typename M2 = NullType, typename M3 = NullType, typename M4 = NullType, typename M5 = NullType, typename M6 = NullType, typename M7 = NullType, typename M8 = NullType>
template<class C , typename T >
Connection message_filters::sync_policies::ExactTime< M0, M1, M2, M3, M4, M5, M6, M7, M8 >::registerDropCallback ( C &  callback,
T *  t 
)
inline

Definition at line 152 of file exact_time.h.

Member Data Documentation

template<typename M0 , typename M1 , typename M2 = NullType, typename M3 = NullType, typename M4 = NullType, typename M5 = NullType, typename M6 = NullType, typename M7 = NullType, typename M8 = NullType>
Signal message_filters::sync_policies::ExactTime< M0, M1, M2, M3, M4, M5, M6, M7, M8 >::drop_signal_
private

Definition at line 235 of file exact_time.h.

template<typename M0 , typename M1 , typename M2 = NullType, typename M3 = NullType, typename M4 = NullType, typename M5 = NullType, typename M6 = NullType, typename M7 = NullType, typename M8 = NullType>
ros::Time message_filters::sync_policies::ExactTime< M0, M1, M2, M3, M4, M5, M6, M7, M8 >::last_signal_time_
private

Definition at line 233 of file exact_time.h.

template<typename M0 , typename M1 , typename M2 = NullType, typename M3 = NullType, typename M4 = NullType, typename M5 = NullType, typename M6 = NullType, typename M7 = NullType, typename M8 = NullType>
boost::mutex message_filters::sync_policies::ExactTime< M0, M1, M2, M3, M4, M5, M6, M7, M8 >::mutex_
private

Definition at line 237 of file exact_time.h.

template<typename M0 , typename M1 , typename M2 = NullType, typename M3 = NullType, typename M4 = NullType, typename M5 = NullType, typename M6 = NullType, typename M7 = NullType, typename M8 = NullType>
Sync* message_filters::sync_policies::ExactTime< M0, M1, M2, M3, M4, M5, M6, M7, M8 >::parent_
private

Definition at line 228 of file exact_time.h.

template<typename M0 , typename M1 , typename M2 = NullType, typename M3 = NullType, typename M4 = NullType, typename M5 = NullType, typename M6 = NullType, typename M7 = NullType, typename M8 = NullType>
uint32_t message_filters::sync_policies::ExactTime< M0, M1, M2, M3, M4, M5, M6, M7, M8 >::queue_size_
private

Definition at line 230 of file exact_time.h.

template<typename M0 , typename M1 , typename M2 = NullType, typename M3 = NullType, typename M4 = NullType, typename M5 = NullType, typename M6 = NullType, typename M7 = NullType, typename M8 = NullType>
M_TimeToTuple message_filters::sync_policies::ExactTime< M0, M1, M2, M3, M4, M5, M6, M7, M8 >::tuples_
private

Definition at line 232 of file exact_time.h.


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


message_filters
Author(s): Josh Faust, Vijay Pradeep, Dirk Thomas
autogenerated on Mon Nov 2 2020 03:52:42