Kenji Arai / mbed-os_TYBLE16

Dependents:   TYBLE16_simple_data_logger TYBLE16_MP3_Air

Embed: (wiki syntax)

« Back to documentation index

ConnectionEventMonitor< EventHandler > Class Template Reference

ConnectionEventMonitor< EventHandler > Class Template Reference

Implemented by classes that need to be notified of connection changes. More...

#include <ConnectionEventMonitor.h>

Public Member Functions

void set_connection_event_handler (EventHandler *connection_event_handler)
 Register a handler for connection events to be used internally and serviced first.

Detailed Description

template<class EventHandler>
class ble::pal::ConnectionEventMonitor< EventHandler >

Implemented by classes that need to be notified of connection changes.

Notification is done by calling functions in the passed in event handler

Definition at line 92 of file ConnectionEventMonitor.h.


Member Function Documentation

void set_connection_event_handler ( EventHandler *  connection_event_handler )

Register a handler for connection events to be used internally and serviced first.

Parameters:
[in]connection_event_handlerEvent handler being registered.

Definition at line 105 of file ConnectionEventMonitor.h.