# esp32_BNO08x: include/callback/BNO08xCbGeneric.hpp Source File

Loading...
Searching...
No Matches
BNO08xCbGeneric.hpp
Go to the documentation of this file.
#pragma once
// standard library includes
#include <stdint.h>
#include <functional>
class BNO08xCbGeneric
{
public:
virtual void invoke(uint8_t rpt_ID) = 0;
virtual ~BNO08xCbGeneric() = default;
uint8_t rpt_ID;
protected:
BNO08xCbGeneric(uint8_t rpt_ID)
: rpt_ID(rpt_ID)
{
}
};
BNO08xCbGeneric
Parent class to represent callback functions as generic type such that all flavors can be invoked by ...
Definition BNO08xCbGeneric.hpp:19
BNO08xCbGeneric::invoke
virtual void invoke(uint8_t rpt_ID)=0
BNO08xCbGeneric::~BNO08xCbGeneric
virtual ~BNO08xCbGeneric()=default
BNO08xCbGeneric::BNO08xCbGeneric
BNO08xCbGeneric(uint8_t rpt_ID)
Definition BNO08xCbGeneric.hpp:26
BNO08xCbGeneric::rpt_ID
uint8_t rpt_ID
Definition BNO08xCbGeneric.hpp:23