automotive-message-broker  0.14.803
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Groups Pages
Public Member Functions | List of all members
BluetoothSinkPlugin Class Reference
Inheritance diagram for BluetoothSinkPlugin:
AbstractBluetoothSerialProfile AbstractSink

Public Member Functions

 BluetoothSinkPlugin (AbstractRoutingEngine *re, map< string, string > config)
 
const string uuid ()
 Pure virtual methods:
 
void supportedChanged (const PropertyList &)
 
void propertyChanged (AbstractPropertyType *value)
 propertyChanged is called when a subscribed to property changes.
 
void newConnection (string path, QDBusUnixFileDescriptor fd, QVariantMap props)
 
void requestDisconnection (string path)
 
- Public Member Functions inherited from AbstractBluetoothSerialProfile
 AbstractBluetoothSerialProfile (QString role="server")
 
virtual void connect (std::string hwaddy)
 
virtual void release ()
 
virtual void newConnection (std::string path, QDBusUnixFileDescriptor fd, QVariantMap props)
 
virtual void requestDisconnection (std::string path)
 
- Public Member Functions inherited from AbstractSink
 AbstractSink (AbstractRoutingEngine *engine, map< string, string > config)
 

Additional Inherited Members

- Protected Member Functions inherited from AbstractBluetoothSerialProfile
virtual void connected ()
 
virtual void disconnected ()
 
- Protected Attributes inherited from AbstractSink
AbstractRoutingEngineroutingEngine
 routingEngine is the core of AMB. It is used to pass plugin and property information to other plugins
 
map< string, string > configuration
 

Member Function Documentation

void BluetoothSinkPlugin::propertyChanged ( AbstractPropertyType value)
virtual

propertyChanged is called when a subscribed to property changes.

See Also
AbstractRoutingEngine::subscribeToPropertyChanges()
Parameters
valuevalue of the property that changed. this is a temporary pointer that will be destroyed. Do not destroy it. If you need to store the value use value.anyValue(), value.value<T>() or value->copy() to copy.

Reimplemented from AbstractSink.

void BluetoothSinkPlugin::supportedChanged ( const PropertyList &  supportedProperties)
inlinevirtual

supportedChanged() is called when the supported properties changes

  • supportedProperties the new list of supported properties.

Implements AbstractSink.

const string BluetoothSinkPlugin::uuid ( )
virtual

Pure virtual methods:

uuid() is a unique identifier

Returns
a guid-style unique identifier

Implements AbstractSink.


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