|
automotive-message-broker
0.14.803
|
Public Member Functions | |
| DBusSink (std::string objectName, AbstractRoutingEngine *engine, GDBusConnection *connection, map< string, string > config=std::map< std::string, std::string >()) | |
| virtual void | supportedChanged (const PropertyList &supportedProperties) |
| virtual void | propertyChanged (AbstractPropertyType *value) |
| propertyChanged is called when a subscribed to property changes. | |
| virtual const std::string | uuid () |
| Pure virtual methods: | |
| PropertyList | wantsProperties () |
| void | setSourceFilter (std::string sourceFilter) |
| void | setZoneFilter (Zone::Type zone) |
| void | wantPropertyVariant (VehicleProperty::Property ambProperty, std::string propertyName, VariantType::Access access) |
Public Member Functions inherited from AbstractSink | |
| AbstractSink (AbstractRoutingEngine *engine, map< string, string > config) | |
Public Member Functions inherited from AbstractDBusInterface | |
| AbstractDBusInterface (std::string interfaceName, std::string objectName, GDBusConnection *connection) | |
| void | setDBusConnection (GDBusConnection *connection) |
| void | registerObject () |
| void | unregisterObject () |
| void | addProperty (VariantType *property) |
| virtual void | updateValue (VariantType *property) |
| std::string | interfaceName () |
| void | setInterfaceName (const std::string &ifaceName) |
| bool | implementsProperty (std::string property) |
| bool | hasPropertyDBus (std::string attributeName) |
| hasPropertyDBus | |
| std::string | objectPath () |
| bool | isSupported () |
| double | time () |
| VariantType * | property (std::string propertyName) |
| void | setObjectPath (std::string op) |
| std::string | objectName () |
| Zone::Type | zone () |
| std::string | source () |
|
std::unordered_map < std::string, VariantType * > | getProperties () |
| bool | isRegistered () |
Static Public Attributes | |
|
static std::map< std::string, std::string > | dbusConfig |
Additional Inherited Members | |
Static Public Member Functions inherited from AbstractDBusInterface | |
| static PropertyList | implementedProperties () |
|
static std::list < AbstractDBusInterface * > | getObjectsForProperty (std::string property) |
|
static list < AbstractDBusInterface * > | interfaces () |
| static std::vector< string > | supportedInterfaces () |
Public Attributes inherited from AbstractDBusInterface | |
| AbstractRoutingEngine * | re |
Protected Member Functions inherited from AbstractDBusInterface | |
| void | startRegistration () |
| virtual void | setProperty (std::string propertyName, GVariant *value, std::function< void(bool, AsyncPropertyReply::Error)> callback) |
| virtual GVariant * | getProperty (std::string propertyName) |
| void | setTimeout (int timeout) |
Static Protected Member Functions inherited from AbstractDBusInterface | |
| static GVariant * | getProperty (GDBusConnection *connection, const gchar *sender, const gchar *objectPath, const gchar *interfaceName, const gchar *propertyName, GError **error, gpointer userData) |
| static gboolean | setProperty (GDBusConnection *connection, const gchar *sender, const gchar *objectPath, const gchar *interfaceName, const gchar *propertyName, GVariant *value, GError **error, gpointer userData, std::function< void(bool, AsyncPropertyReply::Error)> callback) |
| static void | handleMyMethodCall (GDBusConnection *connection, const gchar *sender, const gchar *object_path, const gchar *interface_name, const gchar *method_name, GVariant *parameters, GDBusMethodInvocation *invocation, gpointer user_data) |
Protected Attributes inherited from AbstractSink | |
| AbstractRoutingEngine * | routingEngine |
| routingEngine is the core of AMB. It is used to pass plugin and property information to other plugins | |
| map< string, string > | configuration |
Protected Attributes inherited from AbstractDBusInterface | |
|
std::unordered_map < std::string, VariantType * > | properties |
| Zone::Type | zoneFilter |
| PropertyDBusMap | propertyDBusMap |
| bool | supported |
| double | mTime |
| std::string | mSourceFilter |
|
virtual |
propertyChanged is called when a subscribed to property changes.
| value | value 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.
|
virtual |
supportedChanged() is called when the supported properties changes
Implements AbstractSink.
|
virtual |
Pure virtual methods:
uuid() is a unique identifier
Implements AbstractSink.
1.8.2