#include <synchronizer.h>
Public Types | |
typedef Policy::Events | Events |
typedef mpl::at_c< Messages, 0 > ::type | M0 |
typedef mpl::at_c< Events, 0 > ::type | M0Event |
typedef mpl::at_c< Messages, 1 > ::type | M1 |
typedef mpl::at_c< Events, 1 > ::type | M1Event |
typedef mpl::at_c< Messages, 2 > ::type | M2 |
typedef mpl::at_c< Events, 2 > ::type | M2Event |
typedef mpl::at_c< Messages, 3 > ::type | M3 |
typedef mpl::at_c< Events, 3 > ::type | M3Event |
typedef mpl::at_c< Messages, 4 > ::type | M4 |
typedef mpl::at_c< Events, 4 > ::type | M4Event |
typedef mpl::at_c< Messages, 5 > ::type | M5 |
typedef mpl::at_c< Events, 5 > ::type | M5Event |
typedef mpl::at_c< Messages, 6 > ::type | M6 |
typedef mpl::at_c< Events, 6 > ::type | M6Event |
typedef mpl::at_c< Messages, 7 > ::type | M7 |
typedef mpl::at_c< Events, 7 > ::type | M7Event |
typedef mpl::at_c< Messages, 8 > ::type | M8 |
typedef mpl::at_c< Events, 8 > ::type | M8Event |
typedef Policy::Messages | Messages |
typedef Policy::Signal | Signal |
Public Member Functions | |
template<int i> | |
void | add (const boost::shared_ptr< typename mpl::at_c< Messages, i >::type const > &msg) |
template<class F0 , class F1 > | |
void | connectInput (F0 &f0, F1 &f1) |
template<class F0 , class F1 , class F2 > | |
void | connectInput (F0 &f0, F1 &f1, F2 &f2) |
template<class F0 , class F1 , class F2 , class F3 > | |
void | connectInput (F0 &f0, F1 &f1, F2 &f2, F3 &f3) |
template<class F0 , class F1 , class F2 , class F3 , class F4 > | |
void | connectInput (F0 &f0, F1 &f1, F2 &f2, F3 &f3, F4 &f4) |
template<class F0 , class F1 , class F2 , class F3 , class F4 , class F5 > | |
void | connectInput (F0 &f0, F1 &f1, F2 &f2, F3 &f3, F4 &f4, F5 &f5) |
template<class F0 , class F1 , class F2 , class F3 , class F4 , class F5 , class F6 > | |
void | connectInput (F0 &f0, F1 &f1, F2 &f2, F3 &f3, F4 &f4, F5 &f5, F6 &f6) |
template<class F0 , class F1 , class F2 , class F3 , class F4 , class F5 , class F6 , class F7 > | |
void | connectInput (F0 &f0, F1 &f1, F2 &f2, F3 &f3, F4 &f4, F5 &f5, F6 &f6, F7 &f7) |
template<class F0 , class F1 , class F2 , class F3 , class F4 , class F5 , class F6 , class F7 , class F8 > | |
void | connectInput (F0 &f0, F1 &f1, F2 &f2, F3 &f3, F4 &f4, F5 &f5, F6 &f6, F7 &f7, F8 &f8) |
const std::string & | getName () |
Policy * | getPolicy () |
void | init () |
template<class C > | |
Connection | registerCallback (C &callback) |
template<class C > | |
Connection | registerCallback (const C &callback) |
template<class C , typename T > | |
Connection | registerCallback (const C &callback, T *t) |
template<class C , typename T > | |
Connection | registerCallback (C &callback, T *t) |
void | setName (const std::string &name) |
void | signal (const M0Event &e0, const M1Event &e1, const M2Event &e2, const M3Event &e3, const M4Event &e4, const M5Event &e5, const M6Event &e6, const M7Event &e7, const M8Event &e8) |
template<class F0 , class F1 > | |
Synchronizer (F0 &f0, F1 &f1) | |
template<class F0 , class F1 , class F2 > | |
Synchronizer (F0 &f0, F1 &f1, F2 &f2) | |
template<class F0 , class F1 , class F2 , class F3 > | |
Synchronizer (F0 &f0, F1 &f1, F2 &f2, F3 &f3) | |
template<class F0 , class F1 , class F2 , class F3 , class F4 > | |
Synchronizer (F0 &f0, F1 &f1, F2 &f2, F3 &f3, F4 &f4) | |
template<class F0 , class F1 , class F2 , class F3 , class F4 , class F5 > | |
Synchronizer (F0 &f0, F1 &f1, F2 &f2, F3 &f3, F4 &f4, F5 &f5) | |
template<class F0 , class F1 , class F2 , class F3 , class F4 , class F5 , class F6 > | |
Synchronizer (F0 &f0, F1 &f1, F2 &f2, F3 &f3, F4 &f4, F5 &f5, F6 &f6) | |
template<class F0 , class F1 , class F2 , class F3 , class F4 , class F5 , class F6 , class F7 > | |
Synchronizer (F0 &f0, F1 &f1, F2 &f2, F3 &f3, F4 &f4, F5 &f5, F6 &f6, F7 &f7) | |
template<class F0 , class F1 , class F2 , class F3 , class F4 , class F5 , class F6 , class F7 , class F8 > | |
Synchronizer (F0 &f0, F1 &f1, F2 &f2, F3 &f3, F4 &f4, F5 &f5, F6 &f6, F7 &f7, F8 &f8) | |
Synchronizer () | |
template<class F0 , class F1 > | |
Synchronizer (const Policy &policy, F0 &f0, F1 &f1) | |
template<class F0 , class F1 , class F2 > | |
Synchronizer (const Policy &policy, F0 &f0, F1 &f1, F2 &f2) | |
template<class F0 , class F1 , class F2 , class F3 > | |
Synchronizer (const Policy &policy, F0 &f0, F1 &f1, F2 &f2, F3 &f3) | |
template<class F0 , class F1 , class F2 , class F3 , class F4 > | |
Synchronizer (const Policy &policy, F0 &f0, F1 &f1, F2 &f2, F3 &f3, F4 &f4) | |
template<class F0 , class F1 , class F2 , class F3 , class F4 , class F5 > | |
Synchronizer (const Policy &policy, F0 &f0, F1 &f1, F2 &f2, F3 &f3, F4 &f4, F5 &f5) | |
template<class F0 , class F1 , class F2 , class F3 , class F4 , class F5 , class F6 > | |
Synchronizer (const Policy &policy, F0 &f0, F1 &f1, F2 &f2, F3 &f3, F4 &f4, F5 &f5, F6 &f6) | |
template<class F0 , class F1 , class F2 , class F3 , class F4 , class F5 , class F6 , class F7 > | |
Synchronizer (const Policy &policy, F0 &f0, F1 &f1, F2 &f2, F3 &f3, F4 &f4, F5 &f5, F6 &f6, F7 &f7) | |
template<class F0 , class F1 , class F2 , class F3 , class F4 , class F5 , class F6 , class F7 , class F8 > | |
Synchronizer (const Policy &policy, F0 &f0, F1 &f1, F2 &f2, F3 &f3, F4 &f4, F5 &f5, F6 &f6, F7 &f7, F8 &f8) | |
Synchronizer (const Policy &policy) | |
~Synchronizer () | |
Static Public Attributes | |
static const uint8_t | MAX_MESSAGES = 9 |
Private Member Functions | |
template<int i> | |
void | cb (const typename mpl::at_c< Events, i >::type &evt) |
void | disconnectAll () |
Private Attributes | |
Connection | input_connections_ [MAX_MESSAGES] |
std::string | name_ |
uint32_t | queue_size_ |
Signal | signal_ |
Definition at line 68 of file synchronizer.h.
typedef Policy::Events message_filters::Synchronizer< Policy >::Events |
Definition at line 72 of file synchronizer.h.
typedef mpl::at_c<Messages, 0>::type message_filters::Synchronizer< Policy >::M0 |
Definition at line 74 of file synchronizer.h.
typedef mpl::at_c<Events, 0>::type message_filters::Synchronizer< Policy >::M0Event |
Reimplemented in message_filters::TimeSynchronizer< M0, M1, M2, M3, M4, M5, M6, M7, M8 >.
Definition at line 83 of file synchronizer.h.
typedef mpl::at_c<Messages, 1>::type message_filters::Synchronizer< Policy >::M1 |
Definition at line 75 of file synchronizer.h.
typedef mpl::at_c<Events, 1>::type message_filters::Synchronizer< Policy >::M1Event |
Reimplemented in message_filters::TimeSynchronizer< M0, M1, M2, M3, M4, M5, M6, M7, M8 >.
Definition at line 84 of file synchronizer.h.
typedef mpl::at_c<Messages, 2>::type message_filters::Synchronizer< Policy >::M2 |
Definition at line 76 of file synchronizer.h.
typedef mpl::at_c<Events, 2>::type message_filters::Synchronizer< Policy >::M2Event |
Reimplemented in message_filters::TimeSynchronizer< M0, M1, M2, M3, M4, M5, M6, M7, M8 >.
Definition at line 85 of file synchronizer.h.
typedef mpl::at_c<Messages, 3>::type message_filters::Synchronizer< Policy >::M3 |
Definition at line 77 of file synchronizer.h.
typedef mpl::at_c<Events, 3>::type message_filters::Synchronizer< Policy >::M3Event |
Reimplemented in message_filters::TimeSynchronizer< M0, M1, M2, M3, M4, M5, M6, M7, M8 >.
Definition at line 86 of file synchronizer.h.
typedef mpl::at_c<Messages, 4>::type message_filters::Synchronizer< Policy >::M4 |
Definition at line 78 of file synchronizer.h.
typedef mpl::at_c<Events, 4>::type message_filters::Synchronizer< Policy >::M4Event |
Reimplemented in message_filters::TimeSynchronizer< M0, M1, M2, M3, M4, M5, M6, M7, M8 >.
Definition at line 87 of file synchronizer.h.
typedef mpl::at_c<Messages, 5>::type message_filters::Synchronizer< Policy >::M5 |
Definition at line 79 of file synchronizer.h.
typedef mpl::at_c<Events, 5>::type message_filters::Synchronizer< Policy >::M5Event |
Reimplemented in message_filters::TimeSynchronizer< M0, M1, M2, M3, M4, M5, M6, M7, M8 >.
Definition at line 88 of file synchronizer.h.
typedef mpl::at_c<Messages, 6>::type message_filters::Synchronizer< Policy >::M6 |
Definition at line 80 of file synchronizer.h.
typedef mpl::at_c<Events, 6>::type message_filters::Synchronizer< Policy >::M6Event |
Reimplemented in message_filters::TimeSynchronizer< M0, M1, M2, M3, M4, M5, M6, M7, M8 >.
Definition at line 89 of file synchronizer.h.
typedef mpl::at_c<Messages, 7>::type message_filters::Synchronizer< Policy >::M7 |
Definition at line 81 of file synchronizer.h.
typedef mpl::at_c<Events, 7>::type message_filters::Synchronizer< Policy >::M7Event |
Reimplemented in message_filters::TimeSynchronizer< M0, M1, M2, M3, M4, M5, M6, M7, M8 >.
Definition at line 90 of file synchronizer.h.
typedef mpl::at_c<Messages, 8>::type message_filters::Synchronizer< Policy >::M8 |
Definition at line 82 of file synchronizer.h.
typedef mpl::at_c<Events, 8>::type message_filters::Synchronizer< Policy >::M8Event |
Reimplemented in message_filters::TimeSynchronizer< M0, M1, M2, M3, M4, M5, M6, M7, M8 >.
Definition at line 91 of file synchronizer.h.
typedef Policy::Messages message_filters::Synchronizer< Policy >::Messages |
Definition at line 71 of file synchronizer.h.
typedef Policy::Signal message_filters::Synchronizer< Policy >::Signal |
Definition at line 73 of file synchronizer.h.
message_filters::Synchronizer< Policy >::Synchronizer | ( | F0 & | f0, |
F1 & | f1 | ||
) | [inline] |
Definition at line 96 of file synchronizer.h.
message_filters::Synchronizer< Policy >::Synchronizer | ( | F0 & | f0, |
F1 & | f1, | ||
F2 & | f2 | ||
) | [inline] |
Definition at line 103 of file synchronizer.h.
message_filters::Synchronizer< Policy >::Synchronizer | ( | F0 & | f0, |
F1 & | f1, | ||
F2 & | f2, | ||
F3 & | f3 | ||
) | [inline] |
Definition at line 110 of file synchronizer.h.
message_filters::Synchronizer< Policy >::Synchronizer | ( | F0 & | f0, |
F1 & | f1, | ||
F2 & | f2, | ||
F3 & | f3, | ||
F4 & | f4 | ||
) | [inline] |
Definition at line 117 of file synchronizer.h.
message_filters::Synchronizer< Policy >::Synchronizer | ( | F0 & | f0, |
F1 & | f1, | ||
F2 & | f2, | ||
F3 & | f3, | ||
F4 & | f4, | ||
F5 & | f5 | ||
) | [inline] |
Definition at line 124 of file synchronizer.h.
message_filters::Synchronizer< Policy >::Synchronizer | ( | F0 & | f0, |
F1 & | f1, | ||
F2 & | f2, | ||
F3 & | f3, | ||
F4 & | f4, | ||
F5 & | f5, | ||
F6 & | f6 | ||
) | [inline] |
Definition at line 131 of file synchronizer.h.
message_filters::Synchronizer< Policy >::Synchronizer | ( | F0 & | f0, |
F1 & | f1, | ||
F2 & | f2, | ||
F3 & | f3, | ||
F4 & | f4, | ||
F5 & | f5, | ||
F6 & | f6, | ||
F7 & | f7 | ||
) | [inline] |
Definition at line 138 of file synchronizer.h.
message_filters::Synchronizer< Policy >::Synchronizer | ( | F0 & | f0, |
F1 & | f1, | ||
F2 & | f2, | ||
F3 & | f3, | ||
F4 & | f4, | ||
F5 & | f5, | ||
F6 & | f6, | ||
F7 & | f7, | ||
F8 & | f8 | ||
) | [inline] |
Definition at line 145 of file synchronizer.h.
message_filters::Synchronizer< Policy >::Synchronizer | ( | ) | [inline] |
Definition at line 151 of file synchronizer.h.
message_filters::Synchronizer< Policy >::Synchronizer | ( | const Policy & | policy, |
F0 & | f0, | ||
F1 & | f1 | ||
) | [inline] |
Definition at line 157 of file synchronizer.h.
message_filters::Synchronizer< Policy >::Synchronizer | ( | const Policy & | policy, |
F0 & | f0, | ||
F1 & | f1, | ||
F2 & | f2 | ||
) | [inline] |
Definition at line 165 of file synchronizer.h.
message_filters::Synchronizer< Policy >::Synchronizer | ( | const Policy & | policy, |
F0 & | f0, | ||
F1 & | f1, | ||
F2 & | f2, | ||
F3 & | f3 | ||
) | [inline] |
Definition at line 173 of file synchronizer.h.
message_filters::Synchronizer< Policy >::Synchronizer | ( | const Policy & | policy, |
F0 & | f0, | ||
F1 & | f1, | ||
F2 & | f2, | ||
F3 & | f3, | ||
F4 & | f4 | ||
) | [inline] |
Definition at line 181 of file synchronizer.h.
message_filters::Synchronizer< Policy >::Synchronizer | ( | const Policy & | policy, |
F0 & | f0, | ||
F1 & | f1, | ||
F2 & | f2, | ||
F3 & | f3, | ||
F4 & | f4, | ||
F5 & | f5 | ||
) | [inline] |
Definition at line 189 of file synchronizer.h.
message_filters::Synchronizer< Policy >::Synchronizer | ( | const Policy & | policy, |
F0 & | f0, | ||
F1 & | f1, | ||
F2 & | f2, | ||
F3 & | f3, | ||
F4 & | f4, | ||
F5 & | f5, | ||
F6 & | f6 | ||
) | [inline] |
Definition at line 197 of file synchronizer.h.
message_filters::Synchronizer< Policy >::Synchronizer | ( | const Policy & | policy, |
F0 & | f0, | ||
F1 & | f1, | ||
F2 & | f2, | ||
F3 & | f3, | ||
F4 & | f4, | ||
F5 & | f5, | ||
F6 & | f6, | ||
F7 & | f7 | ||
) | [inline] |
Definition at line 205 of file synchronizer.h.
message_filters::Synchronizer< Policy >::Synchronizer | ( | const Policy & | policy, |
F0 & | f0, | ||
F1 & | f1, | ||
F2 & | f2, | ||
F3 & | f3, | ||
F4 & | f4, | ||
F5 & | f5, | ||
F6 & | f6, | ||
F7 & | f7, | ||
F8 & | f8 | ||
) | [inline] |
Definition at line 213 of file synchronizer.h.
message_filters::Synchronizer< Policy >::Synchronizer | ( | const Policy & | policy | ) | [inline] |
Definition at line 220 of file synchronizer.h.
message_filters::Synchronizer< Policy >::~Synchronizer | ( | ) | [inline] |
Definition at line 226 of file synchronizer.h.
void message_filters::Synchronizer< Policy >::add | ( | const boost::shared_ptr< typename mpl::at_c< Messages, i >::type const > & | msg | ) | [inline] |
Definition at line 340 of file synchronizer.h.
void message_filters::Synchronizer< Policy >::cb | ( | const typename mpl::at_c< Events, i >::type & | evt | ) | [inline, private] |
Definition at line 356 of file synchronizer.h.
void message_filters::Synchronizer< Policy >::connectInput | ( | F0 & | f0, |
F1 & | f1 | ||
) | [inline] |
Definition at line 237 of file synchronizer.h.
void message_filters::Synchronizer< Policy >::connectInput | ( | F0 & | f0, |
F1 & | f1, | ||
F2 & | f2 | ||
) | [inline] |
Definition at line 244 of file synchronizer.h.
void message_filters::Synchronizer< Policy >::connectInput | ( | F0 & | f0, |
F1 & | f1, | ||
F2 & | f2, | ||
F3 & | f3 | ||
) | [inline] |
Definition at line 251 of file synchronizer.h.
void message_filters::Synchronizer< Policy >::connectInput | ( | F0 & | f0, |
F1 & | f1, | ||
F2 & | f2, | ||
F3 & | f3, | ||
F4 & | f4 | ||
) | [inline] |
Definition at line 258 of file synchronizer.h.
void message_filters::Synchronizer< Policy >::connectInput | ( | F0 & | f0, |
F1 & | f1, | ||
F2 & | f2, | ||
F3 & | f3, | ||
F4 & | f4, | ||
F5 & | f5 | ||
) | [inline] |
Definition at line 265 of file synchronizer.h.
void message_filters::Synchronizer< Policy >::connectInput | ( | F0 & | f0, |
F1 & | f1, | ||
F2 & | f2, | ||
F3 & | f3, | ||
F4 & | f4, | ||
F5 & | f5, | ||
F6 & | f6 | ||
) | [inline] |
Definition at line 272 of file synchronizer.h.
void message_filters::Synchronizer< Policy >::connectInput | ( | F0 & | f0, |
F1 & | f1, | ||
F2 & | f2, | ||
F3 & | f3, | ||
F4 & | f4, | ||
F5 & | f5, | ||
F6 & | f6, | ||
F7 & | f7 | ||
) | [inline] |
Definition at line 279 of file synchronizer.h.
void message_filters::Synchronizer< Policy >::connectInput | ( | F0 & | f0, |
F1 & | f1, | ||
F2 & | f2, | ||
F3 & | f3, | ||
F4 & | f4, | ||
F5 & | f5, | ||
F6 & | f6, | ||
F7 & | f7, | ||
F8 & | f8 | ||
) | [inline] |
Definition at line 286 of file synchronizer.h.
void message_filters::Synchronizer< Policy >::disconnectAll | ( | ) | [inline, private] |
Definition at line 347 of file synchronizer.h.
const std::string& message_filters::Synchronizer< Policy >::getName | ( | ) | [inline] |
Definition at line 326 of file synchronizer.h.
Policy* message_filters::Synchronizer< Policy >::getPolicy | ( | ) | [inline] |
Definition at line 335 of file synchronizer.h.
void message_filters::Synchronizer< Policy >::init | ( | ) | [inline] |
Definition at line 231 of file synchronizer.h.
Connection message_filters::Synchronizer< Policy >::registerCallback | ( | C & | callback | ) | [inline] |
Definition at line 302 of file synchronizer.h.
Connection message_filters::Synchronizer< Policy >::registerCallback | ( | const C & | callback | ) | [inline] |
Definition at line 308 of file synchronizer.h.
Connection message_filters::Synchronizer< Policy >::registerCallback | ( | const C & | callback, |
T * | t | ||
) | [inline] |
Definition at line 314 of file synchronizer.h.
Connection message_filters::Synchronizer< Policy >::registerCallback | ( | C & | callback, |
T * | t | ||
) | [inline] |
Definition at line 320 of file synchronizer.h.
void message_filters::Synchronizer< Policy >::setName | ( | const std::string & | name | ) | [inline] |
Definition at line 325 of file synchronizer.h.
void message_filters::Synchronizer< Policy >::signal | ( | const M0Event & | e0, |
const M1Event & | e1, | ||
const M2Event & | e2, | ||
const M3Event & | e3, | ||
const M4Event & | e4, | ||
const M5Event & | e5, | ||
const M6Event & | e6, | ||
const M7Event & | e7, | ||
const M8Event & | e8 | ||
) | [inline] |
Definition at line 329 of file synchronizer.h.
Connection message_filters::Synchronizer< Policy >::input_connections_[MAX_MESSAGES] [private] |
Definition at line 365 of file synchronizer.h.
const uint8_t message_filters::Synchronizer< Policy >::MAX_MESSAGES = 9 [static] |
Definition at line 93 of file synchronizer.h.
std::string message_filters::Synchronizer< Policy >::name_ [private] |
Definition at line 367 of file synchronizer.h.
uint32_t message_filters::Synchronizer< Policy >::queue_size_ [private] |
Definition at line 361 of file synchronizer.h.
Signal message_filters::Synchronizer< Policy >::signal_ [private] |
Definition at line 363 of file synchronizer.h.