#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 size) |
Private Attributes | |
std::function< void(uint32_t, std::vector< double > *, void *) | m_callback ) |
Crazyflie * | m_cf |
uint8_t | m_id |
std::vector< Crazyflie::LogType > | m_types |
void * | m_userData |
Definition at line 430 of file Crazyflie.h.
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 433 of file Crazyflie.h.
LogBlockGeneric::~LogBlockGeneric | ( | ) | [inline] |
Definition at line 483 of file Crazyflie.h.
void LogBlockGeneric::handleData | ( | crtpLogDataResponse * | response, |
uint8_t | size | ||
) | [inline, private] |
Definition at line 507 of file Crazyflie.h.
void LogBlockGeneric::start | ( | uint8_t | period | ) | [inline] |
Definition at line 490 of file Crazyflie.h.
void LogBlockGeneric::stop | ( | ) | [inline] |
Definition at line 498 of file Crazyflie.h.
std::function<void(uint32_t, std::vector<double>*, void*) LogBlockGeneric::m_callback) [private] |
Definition at line 589 of file Crazyflie.h.
Crazyflie* LogBlockGeneric::m_cf [private] |
Definition at line 587 of file Crazyflie.h.
uint8_t LogBlockGeneric::m_id [private] |
Definition at line 590 of file Crazyflie.h.
std::vector<Crazyflie::LogType> LogBlockGeneric::m_types [private] |
Definition at line 591 of file Crazyflie.h.
void* LogBlockGeneric::m_userData [private] |
Definition at line 588 of file Crazyflie.h.