Public Member Functions | Private Member Functions | Private Attributes | List of all members
LogBlockGeneric Class Reference

#include <Crazyflie.h>

Public Member Functions

 LogBlockGeneric (Crazyflie *cf, const std::vector< std::string > &variables, void *userData, std::function< void(uint32_t, std::vector< double > *, void *userData)> &callback)
 
void start (uint8_t period)
 
void stop ()
 
 ~LogBlockGeneric ()
 

Private Member Functions

void handleData (crtpLogDataResponse *response, uint8_t)
 

Private Attributes

std::function< void(uint32_t, std::vector< double > *, void *)> m_callback
 
Crazyfliem_cf
 
uint8_t m_id
 
std::vector< Crazyflie::LogTypem_types
 
void * m_userData
 

Detailed Description

Definition at line 678 of file Crazyflie.h.

Constructor & Destructor Documentation

LogBlockGeneric::LogBlockGeneric ( Crazyflie cf,
const std::vector< std::string > &  variables,
void *  userData,
std::function< void(uint32_t, std::vector< double > *, void *userData)> &  callback 
)
inline

Definition at line 681 of file Crazyflie.h.

LogBlockGeneric::~LogBlockGeneric ( )
inline

Definition at line 778 of file Crazyflie.h.

Member Function Documentation

void LogBlockGeneric::handleData ( crtpLogDataResponse response,
uint8_t   
)
inlineprivate

Definition at line 802 of file Crazyflie.h.

void LogBlockGeneric::start ( uint8_t  period)
inline

Definition at line 785 of file Crazyflie.h.

void LogBlockGeneric::stop ( )
inline

Definition at line 793 of file Crazyflie.h.

Member Data Documentation

std::function<void(uint32_t, std::vector<double>*, void*)> LogBlockGeneric::m_callback
private

Definition at line 884 of file Crazyflie.h.

Crazyflie* LogBlockGeneric::m_cf
private

Definition at line 882 of file Crazyflie.h.

uint8_t LogBlockGeneric::m_id
private

Definition at line 885 of file Crazyflie.h.

std::vector<Crazyflie::LogType> LogBlockGeneric::m_types
private

Definition at line 886 of file Crazyflie.h.

void* LogBlockGeneric::m_userData
private

Definition at line 883 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