Public Member Functions | Private Member Functions | Private Attributes
LogBlockGeneric Class Reference

#include <Crazyflie.h>

List of all members.

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 )
Crazyfliem_cf
uint8_t m_id
std::vector< Crazyflie::LogTypem_types
void * m_userData

Detailed Description

Definition at line 430 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 433 of file Crazyflie.h.

Definition at line 483 of file Crazyflie.h.


Member Function Documentation

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.


Member Data Documentation

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

Definition at line 589 of file Crazyflie.h.

Definition at line 587 of file Crazyflie.h.

uint8_t LogBlockGeneric::m_id [private]

Definition at line 590 of file Crazyflie.h.

Definition at line 591 of file Crazyflie.h.

void* LogBlockGeneric::m_userData [private]

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