Public Member Functions | Private Attributes | List of all members
micros_swarm::ListenerHelperT< Type > Class Template Reference

#include <listener_helper.h>

Inheritance diagram for micros_swarm::ListenerHelperT< Type >:
Inheritance graph
[legend]

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_
 

Detailed Description

template<typename Type>
class micros_swarm::ListenerHelperT< Type >

Definition at line 39 of file listener_helper.h.

Constructor & Destructor Documentation

template<typename Type >
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.

Member Function Documentation

template<typename Type >
virtual void micros_swarm::ListenerHelperT< Type >::call ( const std::vector< uint8_t > &  value_vec)
inlinevirtual

Implements micros_swarm::ListenerHelper.

Definition at line 47 of file listener_helper.h.

template<typename Type >
Type micros_swarm::ListenerHelperT< Type >::convertType ( const std::vector< uint8_t > &  value_vec)
inline

Definition at line 52 of file listener_helper.h.

Member Data Documentation

template<typename Type >
boost::function<void(const Type&)> micros_swarm::ListenerHelperT< Type >::callback_
private

Definition at line 59 of file listener_helper.h.

template<typename Type >
std::string micros_swarm::ListenerHelperT< Type >::key_
private

Definition at line 60 of file listener_helper.h.


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


micros_swarm
Author(s):
autogenerated on Mon Jun 10 2019 14:02:06