FlightGear next
flightgear::swift::DBusAsyncCallbacks< T > Class Template Reference

#include <dbuscallbacks.h>

Public Member Functions

 DBusAsyncCallbacks ()=default
 
 DBusAsyncCallbacks (const std::function< dbus_bool_t(T *)> &add, const std::function< void(T *)> &remove, const std::function< void(T *)> &toggled)
 

Static Public Member Functions

static dbus_bool_t add (T *watch, void *refcon)
 
static void remove (T *watch, void *refcon)
 
static void toggled (T *watch, void *refcon)
 

Detailed Description

template<typename T>
class flightgear::swift::DBusAsyncCallbacks< T >

Definition at line 15 of file dbuscallbacks.h.

Constructor & Destructor Documentation

◆ DBusAsyncCallbacks() [1/2]

template<typename T>
flightgear::swift::DBusAsyncCallbacks< T >::DBusAsyncCallbacks ( )
default

◆ DBusAsyncCallbacks() [2/2]

template<typename T>
flightgear::swift::DBusAsyncCallbacks< T >::DBusAsyncCallbacks ( const std::function< dbus_bool_t(T *)> & add,
const std::function< void(T *)> & remove,
const std::function< void(T *)> & toggled )
inline

Definition at line 19 of file dbuscallbacks.h.

Member Function Documentation

◆ add()

template<typename T>
static dbus_bool_t flightgear::swift::DBusAsyncCallbacks< T >::add ( T * watch,
void * refcon )
inlinestatic

Definition at line 26 of file dbuscallbacks.h.

◆ remove()

template<typename T>
static void flightgear::swift::DBusAsyncCallbacks< T >::remove ( T * watch,
void * refcon )
inlinestatic

Definition at line 31 of file dbuscallbacks.h.

◆ toggled()

template<typename T>
static void flightgear::swift::DBusAsyncCallbacks< T >::toggled ( T * watch,
void * refcon )
inlinestatic

Definition at line 36 of file dbuscallbacks.h.


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