Public Member Functions | Private Member Functions | Private Attributes
LogBlock< T > Class Template Reference

#include <Crazyflie.h>

List of all members.

Public Member Functions

 LogBlock (Crazyflie *cf, std::list< std::pair< std::string, std::string > > variables, std::function< void(uint32_t, T *)> &callback)
void start (uint8_t period)
void stop ()
 ~LogBlock ()

Private Member Functions

void handleData (crtpLogDataResponse *response, uint8_t size)

Private Attributes

std::function< void(uint32_t, T *) m_callback )
Crazyfliem_cf
uint8_t m_id

Detailed Description

template<class T>
class LogBlock< T >

Definition at line 346 of file Crazyflie.h.


Constructor & Destructor Documentation

template<class T >
LogBlock< T >::LogBlock ( Crazyflie cf,
std::list< std::pair< std::string, std::string > >  variables,
std::function< void(uint32_t, T *)> &  callback 
) [inline]

Definition at line 349 of file Crazyflie.h.

template<class T >
LogBlock< T >::~LogBlock ( ) [inline]

Definition at line 387 of file Crazyflie.h.


Member Function Documentation

template<class T >
void LogBlock< T >::handleData ( crtpLogDataResponse response,
uint8_t  size 
) [inline, private]

Definition at line 411 of file Crazyflie.h.

template<class T >
void LogBlock< T >::start ( uint8_t  period) [inline]

Definition at line 394 of file Crazyflie.h.

template<class T >
void LogBlock< T >::stop ( ) [inline]

Definition at line 402 of file Crazyflie.h.


Member Data Documentation

template<class T >
std::function<void(uint32_t, T*) LogBlock< T >::m_callback) [private]

Definition at line 424 of file Crazyflie.h.

template<class T >
Crazyflie* LogBlock< T >::m_cf [private]

Definition at line 423 of file Crazyflie.h.

template<class T >
uint8_t LogBlock< T >::m_id [private]

Definition at line 425 of file Crazyflie.h.


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


crazyflie_cpp
Author(s): Wolfgang Hoenig
autogenerated on Sun Oct 8 2017 02:47:59