#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 ) |
Crazyflie * | m_cf |
uint8_t | m_id |
std::vector< Crazyflie::LogType > | m_types |
void * | m_userData |
Definition at line 621 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 624 of file Crazyflie.h.
LogBlockGeneric::~LogBlockGeneric | ( | ) | [inline] |
Definition at line 714 of file Crazyflie.h.
void LogBlockGeneric::handleData | ( | crtpLogDataResponse * | response, |
uint8_t | |||
) | [inline, private] |
Definition at line 738 of file Crazyflie.h.
void LogBlockGeneric::start | ( | uint8_t | period | ) | [inline] |
Definition at line 721 of file Crazyflie.h.
void LogBlockGeneric::stop | ( | ) | [inline] |
Definition at line 729 of file Crazyflie.h.
std::function<void(uint32_t, std::vector<double>*, void*) LogBlockGeneric::m_callback) [private] |
Definition at line 820 of file Crazyflie.h.
Crazyflie* LogBlockGeneric::m_cf [private] |
Definition at line 818 of file Crazyflie.h.
uint8_t LogBlockGeneric::m_id [private] |
Definition at line 821 of file Crazyflie.h.
std::vector<Crazyflie::LogType> LogBlockGeneric::m_types [private] |
Definition at line 822 of file Crazyflie.h.
void* LogBlockGeneric::m_userData [private] |
Definition at line 819 of file Crazyflie.h.