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, NullType, NullType, NullType, NullType, NullType, NullType, NullType >
typedef mpl::vector< ros::MessageEvent< M0 const >, ros::MessageEvent< M1 const >, ros::MessageEvent< NullType const >, ros::MessageEvent< NullType const >, ros::MessageEvent< NullType const >, ros::MessageEvent< NullType const >, ros::MessageEvent< NullType const >, ros::MessageEvent< NullType const >, ros::MessageEvent< NullType 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, NullType, NullType, NullType, NullType, NullType, NullType, NullTypeMessages
 
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, NullType, NullType, NullType, NullType, NullType, NullType, NullTypeSignal
 

Public Member Functions

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

Private Types

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

Private Member Functions

void checkTuple (Tuple &t)
 
void clearOldTuples ()
 

Private Attributes

Signal drop_signal_
 
bool enable_reset_
 
ros::Time last_signal_time_
 
ros::Time last_stamp_
 
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 137 of file exact_time.h.

Member Typedef Documentation

◆ Events

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 175 of file exact_time.h.

◆ M0Event

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 177 of file exact_time.h.

◆ M1Event

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 178 of file exact_time.h.

◆ M2Event

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 179 of file exact_time.h.

◆ M3Event

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 180 of file exact_time.h.

◆ M4Event

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 181 of file exact_time.h.

◆ M5Event

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 182 of file exact_time.h.

◆ M6Event

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 183 of file exact_time.h.

◆ M7Event

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 184 of file exact_time.h.

◆ M8Event

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 185 of file exact_time.h.

◆ M_TimeToTuple

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 363 of file exact_time.h.

◆ Messages

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 173 of file exact_time.h.

◆ RealTypeCount

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 176 of file exact_time.h.

◆ Signal

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 174 of file exact_time.h.

◆ Super

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 172 of file exact_time.h.

◆ Sync

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 171 of file exact_time.h.

◆ Tuple

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 186 of file exact_time.h.

Constructor & Destructor Documentation

◆ ExactTime() [1/2]

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 188 of file exact_time.h.

◆ ExactTime() [2/2]

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 196 of file exact_time.h.

Member Function Documentation

◆ add()

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 218 of file exact_time.h.

◆ checkTuple()

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 291 of file exact_time.h.

◆ clearOldTuples()

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 333 of file exact_time.h.

◆ initParent()

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 212 of file exact_time.h.

◆ operator=()

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 201 of file exact_time.h.

◆ registerDropCallback() [1/4]

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 254 of file exact_time.h.

◆ registerDropCallback() [2/4]

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 274 of file exact_time.h.

◆ registerDropCallback() [3/4]

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 244 of file exact_time.h.

◆ registerDropCallback() [4/4]

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 264 of file exact_time.h.

◆ setReset()

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 >::setReset ( const bool  reset)
inline

Definition at line 283 of file exact_time.h.

Member Data Documentation

◆ drop_signal_

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 368 of file exact_time.h.

◆ enable_reset_

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>
bool message_filters::sync_policies::ExactTime< M0, M1, M2, M3, M4, M5, M6, M7, M8 >::enable_reset_
private

Definition at line 362 of file exact_time.h.

◆ last_signal_time_

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 365 of file exact_time.h.

◆ last_stamp_

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_stamp_
private

Definition at line 366 of file exact_time.h.

◆ mutex_

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 370 of file exact_time.h.

◆ parent_

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 359 of file exact_time.h.

◆ queue_size_

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 361 of file exact_time.h.

◆ tuples_

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 364 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 Sat Oct 17 2020 19:28:52