TinyB  0.5.1
TinyB - The Tiny Bluetooth LE library
Classes | Public Member Functions | List of all members
tinyb::BluetoothEvent Class Reference

Public Member Functions

 BluetoothEvent (BluetoothType type, std::string *name, std::string *identifier, BluetoothObject *parent, bool execute_once=true, BluetoothCallback cb=nullptr, void *data=NULL)
 
BluetoothType get_type () const
 
std::string * get_name () const
 
std::string * get_identifier () const
 
BluetoothObjectget_parent () const
 
bool execute_callback (BluetoothObject &object)
 
bool has_callback ()
 
BluetoothObjectget_result ()
 
void cancel ()
 
void wait (std::chrono::milliseconds timeout=std::chrono::milliseconds::zero())
 
bool operator== (BluetoothEvent const &other)
 

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