esp32_BNO08x 1.3
C++ BNO08x IMU driver component for esp-idf.
Loading...
Searching...
No Matches
BNO08xCbGeneric.hpp
Go to the documentation of this file.
1
6#pragma once
7
8// standard library includes
9#include <stdint.h>
10#include <functional>
11
19{
20 public:
21 virtual void invoke(uint8_t rpt_ID) = 0;
22 virtual ~BNO08xCbGeneric() = default;
23 uint8_t rpt_ID;
24
25 protected:
27 : rpt_ID(rpt_ID)
28 {
29 }
30};
Parent class to represent callback functions as generic type such that all flavors can be invoked by ...
Definition BNO08xCbGeneric.hpp:19
virtual void invoke(uint8_t rpt_ID)=0
virtual ~BNO08xCbGeneric()=default
BNO08xCbGeneric(uint8_t rpt_ID)
Definition BNO08xCbGeneric.hpp:26
uint8_t rpt_ID
Definition BNO08xCbGeneric.hpp:23