Public Member Functions | Private Member Functions | Private Attributes | List of all members
LogBlock< T > Class Template Reference

#include <Crazyflie.h>

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 542 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 545 of file Crazyflie.h.

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

Definition at line 633 of file Crazyflie.h.

Member Function Documentation

template<class T >
void LogBlock< T >::handleData ( crtpLogDataResponse response,
uint8_t  size 
)
inlineprivate

Definition at line 657 of file Crazyflie.h.

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

Definition at line 640 of file Crazyflie.h.

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

Definition at line 648 of file Crazyflie.h.

Member Data Documentation

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

Definition at line 672 of file Crazyflie.h.

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

Definition at line 671 of file Crazyflie.h.

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

Definition at line 673 of file Crazyflie.h.


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


crazyflie_cpp
Author(s): Wolfgang Hoenig
autogenerated on Fri Nov 1 2019 03:39:56