BlueToe
an alternative GATT/BLE implementation
Loading...
Searching...
No Matches
bluetoe::mixin< T > Struct Template Reference

class to be mixed into the server instance More...

#include <bluetoe/mixin.hpp>

Detailed Description

template<typename ... T>
struct bluetoe::mixin< T >

class to be mixed into the server instance

This option can be passed to a bluetoe::server or to a bluetoe::service. The bluetoe::server will derive from the given types in the given order. If the option is used multiple times, the server will first derive from the type given to the server and then from the type given to the services in the same order as the services are passed to the server.

As there is no way defined to pass constructor arguments, all types have to have default constructors.

See also
server
service
mixin_read_handler
mixin_write_handler
mixin_read_blob_handler
mixin_write_blob_handler
mixin_write_indication_control_point_handler
mixin_write_notification_control_point_handler
Examples
priorities_example.cpp.

The documentation for this struct was generated from the following file: