#include <characteristic.hpp>
|
static constexpr bool | has_synthetic_rw_methods |
| True iff the do_read and do_write methods have already been automatically synthesized. If operator<< and operator>> are made available for T and mlab::bin_data, mlab::bin_stream, then we can synthesize those methods automatically. More...
|
|
static constexpr ble_gatt_chr_def | void_definition |
|
|
| stored_characteristic_base (uuid const &u, access_type access, std::shared_ptr< mlab::observable< T > > init=nullptr) |
|
| stored_characteristic_base (uuid const &u, access_type access, T init) |
|
mlab::observable_cref< T > | value () const |
|
mlab::observable_ref< T > | value () |
|
std::shared_ptr< mlab::observable< T > > const & | value_ptr () const |
|
| characteristic_base (uuid u, access_type access) |
|
access_type | access () const |
|
uuid const & | chr_uuid () const |
|
ble_gatt_chr_def | get_definition () const |
|
virtual | ~characteristic_base ()=default |
|
virtual retcode | on_access (std::uint16_t conn_handle, std::uint16_t attr_handle, ble_gatt_access_ctxt &ctxt) |
|
virtual retcode | on_read (std::uint16_t conn_handle, std::uint16_t attr_handle, ble_gatt_access_ctxt &ctxt) |
|
virtual retcode | on_write (std::uint16_t conn_handle, std::uint16_t attr_handle, ble_gatt_access_ctxt &ctxt) |
|
virtual retcode | do_read (mlab::bin_data &data, std::uint16_t conn_handle, std::uint16_t attr_handle)=0 |
|
virtual retcode | do_write (mlab::bin_data const &data, std::uint16_t conn_handle, std::uint16_t attr_handle)=0 |
|
◆ has_synthetic_rw_methods
Initial value:= mlab::bin_data::is_injectable<T>::value and
mlab::bin_stream::is_extractable<T>::value
True iff the do_read and do_write methods have already been automatically synthesized. If operator<<
and operator>>
are made available for T
and mlab::bin_data, mlab::bin_stream, then we can synthesize those methods automatically.
The documentation for this class was generated from the following file: