TinyB  0.5.1
TinyB - The Tiny Bluetooth LE library
Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
tinyb::BluetoothObject Class Reference
Inheritance diagram for tinyb::BluetoothObject:
tinyb::BluetoothAdapter tinyb::BluetoothDevice tinyb::BluetoothGattCharacteristic tinyb::BluetoothGattDescriptor tinyb::BluetoothGattService tinyb::BluetoothManager

Public Member Functions

virtual std::string get_java_class () const
 
virtual std::string get_class_name () const
 
virtual std::string get_object_path () const
 
virtual BluetoothType get_bluetooth_type () const
 
virtual BluetoothObjectclone () const
 
virtual bool operator== (const BluetoothObject &other) const
 
virtual bool operator!= (const BluetoothObject &other) const
 

Static Public Member Functions

static BluetoothType class_type ()
 
static std::string java_class ()
 

Protected Member Functions

bool lock ()
 
void unlock ()
 

Protected Attributes

std::mutex lk
 
std::atomic_bool valid
 

Member Function Documentation

virtual BluetoothObject* tinyb::BluetoothObject::clone ( ) const
virtual

Returns a raw pointer to a clone of the object

Returns
A raw pointer to a clone of the object

Reimplemented in tinyb::BluetoothDevice, tinyb::BluetoothGattCharacteristic, tinyb::BluetoothAdapter, tinyb::BluetoothGattDescriptor, and tinyb::BluetoothGattService.

virtual BluetoothType tinyb::BluetoothObject::get_bluetooth_type ( ) const
virtual

Returns the BluetoothType of this object

Returns
The BluetoothType of this object

Reimplemented in tinyb::BluetoothDevice, tinyb::BluetoothGattCharacteristic, tinyb::BluetoothAdapter, tinyb::BluetoothGattDescriptor, tinyb::BluetoothGattService, and tinyb::BluetoothManager.

virtual std::string tinyb::BluetoothObject::get_class_name ( ) const
virtual

Returns the class name of this object

Returns
A std::string containing the class name of this object

Reimplemented in tinyb::BluetoothDevice, tinyb::BluetoothGattCharacteristic, tinyb::BluetoothAdapter, tinyb::BluetoothGattDescriptor, tinyb::BluetoothGattService, and tinyb::BluetoothManager.

virtual std::string tinyb::BluetoothObject::get_java_class ( ) const
virtual

Returns the complete Java class of this object

Returns
A std::string containing the java class of this object

Reimplemented in tinyb::BluetoothDevice, tinyb::BluetoothGattCharacteristic, tinyb::BluetoothAdapter, tinyb::BluetoothGattDescriptor, tinyb::BluetoothGattService, and tinyb::BluetoothManager.

virtual std::string tinyb::BluetoothObject::get_object_path ( ) const
virtual

Returns the DBus object path of this object

Returns
A std::string containing the DBus object path of this object

Reimplemented in tinyb::BluetoothDevice, tinyb::BluetoothGattCharacteristic, tinyb::BluetoothAdapter, tinyb::BluetoothGattDescriptor, tinyb::BluetoothGattService, and tinyb::BluetoothManager.

virtual bool tinyb::BluetoothObject::operator== ( const BluetoothObject other) const
virtual

Returns true if this object and the other point to the same DBus Object

Returns
True if this object and the other point to the same DBus Object

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