DUNE: Uniform Navigational Environment  2016.05.0
DUNE::Tasks::Consumer< T, M > Class Template Reference

Public Types

typedef void(T::* Routine )(const M *)
 

Public Member Functions

 Consumer (T &o, Routine f)
 
void consume (const IMC::Message *msg)
 
 ~Consumer (void)
 
- Public Member Functions inherited from DUNE::Tasks::AbstractConsumer
 AbstractConsumer (void)
 
virtual ~AbstractConsumer (void)
 

Member Typedef Documentation

template<typename T, typename M>
typedef void(T::* DUNE::Tasks::Consumer< T, M >::Routine)(const M *)

Constructor & Destructor Documentation

template<typename T, typename M>
DUNE::Tasks::Consumer< T, M >::Consumer ( T &  o,
Routine  f 
)
inline

Constructor.

template<typename T, typename M>
DUNE::Tasks::Consumer< T, M >::~Consumer ( void  )
inline

Member Function Documentation

template<typename T, typename M>
void DUNE::Tasks::Consumer< T, M >::consume ( const IMC::Message msg)
inlinevirtual
Collaboration diagram for DUNE::Tasks::Consumer< T, M >:
Collaboration graph