|
BNO08X Driver 0.1.0
API reference
|
CRTP base of the platform port. More...
#include <bno08x_interface.hpp>
Public Member Functions | |
| HubInterface (const HubInterface &)=delete | |
| Ports are not copied: the driver holds a reference. | |
| HubInterface & | operator= (const HubInterface &)=delete |
| Ports are not copied: the driver holds a reference. | |
Protected Member Functions | |
| HubInterface () noexcept=default | |
| Only the derived port is constructed. | |
| ~HubInterface () noexcept=default | |
| Destroyed through the derived port only. | |
CRTP base of the platform port.
Derive class MyPort : public bno08x::HubInterface<MyPort>, add static constexpr Transport kTransport and implement the hooks of your transport. The base declares no hook itself (a forwarding hook would turn a missing override into infinite recursion).
| Derived | Your port class. |