#include <listener_helper.h>
Public Member Functions | |
virtual void | call (const std::vector< uint8_t > &value_vec) |
Type | convertType (const std::vector< uint8_t > &value_vec) |
ListenerHelperT (const std::string &key, const boost::function< void(const Type &)> &callback) | |
Private Attributes | |
boost::function< void(const Type &)> | callback_ |
std::string | key_ |
Definition at line 39 of file listener_helper.h.
micros_swarm::ListenerHelperT< Type >::ListenerHelperT | ( | const std::string & | key, |
const boost::function< void(const Type &)> & | callback | ||
) | [inline] |
Definition at line 41 of file listener_helper.h.
virtual void micros_swarm::ListenerHelperT< Type >::call | ( | const std::vector< uint8_t > & | value_vec | ) | [inline, virtual] |
Implements micros_swarm::ListenerHelper.
Definition at line 47 of file listener_helper.h.
Type micros_swarm::ListenerHelperT< Type >::convertType | ( | const std::vector< uint8_t > & | value_vec | ) | [inline] |
Definition at line 52 of file listener_helper.h.
boost::function<void(const Type&)> micros_swarm::ListenerHelperT< Type >::callback_ [private] |
Definition at line 59 of file listener_helper.h.
std::string micros_swarm::ListenerHelperT< Type >::key_ [private] |
Definition at line 60 of file listener_helper.h.