+++ /dev/null
-{
- "sources" : [ {"name":"ExampleSource","path":"/usr/lib/automotive-message-broker/examplesourceplugin.so" }],
- "sinks": [ {"name":"WebSocketSink","path":"/usr/lib/automotive-message-broker/websocketsinkplugin.so"} ]
-}
-
+++ /dev/null
-{
- "sources" : [ {"name":"WebSocketSource","ip":"127.0.0.1","port":"23000","path":"/usr/lib/automotive-message-broker/websocketsourceplugin.so" }],
- "sinks": [ {"name":"ExampleSink","path":"/usr/lib/automotive-message-broker/examplesinkplugin.so"} ]
-}
-
if(request.value->value<bool>())
{
startPlayback();
+
+ BasicPropertyType<bool> temp(true);
+
+ routingEngine->updateProperty(DatabasePlaybackProperty,&temp,uuid());
}
else
{
/// TODO: stop playback
+
+ BasicPropertyType<bool> temp(true);
+
+ routingEngine->updateProperty(DatabasePlaybackProperty,&temp,uuid());
}
reply->success = true;
QVariant value = mDBusInterface->property(propertyName().toAscii().data());
+ qDebug()<<"property "<<propertyName()<<" value: "<<value<<" isvalid? "<<(QVariant::Invalid == value);
+
return value;
}
}
Q_SIGNALS:
- void propertyChanged(QVariant, double);
- void valueChanged(QVariant);
+ void propertyChanged(QVariant val, double time);
+ void valueChanged(QVariant val);
public Q_SLOTS:
void propertyChangedSlot(QDBusVariant val, double ts);