|
automotive-message-broker
0.14.803
|
Public Types | |
| enum | Operations { Get = 0x01, Set = 0x02, GetRanged = 0x04 } |
| The Operations enum is a bitmask flag used to specify which operations are supported by the source plugin. | |
Public Member Functions | |
| AbstractSource (AbstractRoutingEngine *engine, map< string, string > config) | |
| virtual void | getPropertyAsync (AsyncPropertyReply *reply)=0 |
| pure virtual methods: | |
| virtual void | getRangePropertyAsync (AsyncRangePropertyReply *reply)=0 |
| getRangePropertyAsync is called when a sink requests a series of values for a given property within a specified time or sequencial range. This will only be called if the source support the Ranged Operation ( | |
| virtual AsyncPropertyReply * | setProperty (AsyncSetPropertyRequest request)=0 |
| setProperty is called when a sink requests to set a value for a given property. This is only called if the source supports the Set Operation ( | |
| virtual void | subscribeToPropertyChanges (VehicleProperty::Property property)=0 |
| subscribeToPropertyChanges is called when a sink requests a subscription. Source plugins can keep track of subscriptions and may wish to sleep if there are no subscriptions. | |
| virtual void | unsubscribeToPropertyChanges (VehicleProperty::Property property)=0 |
| unsubscribeToPropertyChanges is called when a sink requests to unsubscribe from a given property's changes. | |
| virtual int | supportedOperations ()=0 |
| supportedOperations | |
| virtual PropertyInfo | getPropertyInfo (const VehicleProperty::Property &property)=0 |
| getPropertyInfo used to return specific information about a property | |
| virtual PropertyList | supported ()=0 |
| supported | |
Public Member Functions inherited from AbstractSink | |
| AbstractSink (AbstractRoutingEngine *engine, map< string, string > config) | |
| virtual const string | uuid ()=0 |
| Pure virtual methods: | |
| virtual void | propertyChanged (AbstractPropertyType *value) |
| propertyChanged is called when a subscribed to property changes. | |
| virtual void | supportedChanged (const PropertyList &supportedProperties)=0 |
Protected Attributes | |
| AbstractRoutingEngine * | routingEngine |
| routingEngine the core routing engine used to send property updates to sink plugins. | |
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 |
|
pure virtual |
pure virtual methods:
getPropertyAsync is called when a sink requests the value for given property. This is only called if the source supports the Get operation (
| reply | the reply variable. |
Implemented in OBD2Source, AmbPlugin< T >, MurphySource, TestPlugin, WheelSourcePlugin, ExampleSourcePlugin, OpenXCPlugin, and WebSocketSource.
|
pure virtual |
getPropertyInfo used to return specific information about a property
| property | the property to get info for. |
Implemented in OBD2Source, AmbPlugin< T >, MurphySource, WebSocketSource, TestPlugin, WheelSourcePlugin, and ExampleSourcePlugin.
|
pure virtual |
getRangePropertyAsync is called when a sink requests a series of values for a given property within a specified time or sequencial range. This will only be called if the source support the Ranged Operation (
| reply | is the reply variable. |
Implemented in OBD2Source, AmbPlugin< T >, MurphySource, TestPlugin, WheelSourcePlugin, ExampleSourcePlugin, OpenXCPlugin, and WebSocketSource.
|
pure virtual |
setProperty is called when a sink requests to set a value for a given property. This is only called if the source supports the Set Operation (
| request | the requested property to set. |
Implemented in OBD2Source, AmbPlugin< T >, MurphySource, TestPlugin, WheelSourcePlugin, ExampleSourcePlugin, OpenXCPlugin, and WebSocketSource.
|
pure virtual |
subscribeToPropertyChanges is called when a sink requests a subscription. Source plugins can keep track of subscriptions and may wish to sleep if there are no subscriptions.
| property | the property that is being subscribed. |
Implemented in OBD2Source, AmbPlugin< T >, MurphySource, TestPlugin, WheelSourcePlugin, WebSocketSource, ExampleSourcePlugin, and OpenXCPlugin.
|
pure virtual |
supported
Implemented in OBD2Source, AmbPlugin< T >, MurphySource, TestPlugin, WheelSourcePlugin, WebSocketSource, ExampleSourcePlugin, and OpenXCPlugin.
|
pure virtual |
supportedOperations
Implemented in OBD2Source, AmbPlugin< T >, MurphySource, TestPlugin, WheelSourcePlugin, WebSocketSource, ExampleSourcePlugin, and OpenXCPlugin.
|
pure virtual |
unsubscribeToPropertyChanges is called when a sink requests to unsubscribe from a given property's changes.
| property | the property to unsubscribe to |
Implemented in OBD2Source, AmbPlugin< T >, MurphySource, TestPlugin, WheelSourcePlugin, WebSocketSource, ExampleSourcePlugin, and OpenXCPlugin.
|
protected |
routingEngine the core routing engine used to send property updates to sink plugins.
1.8.2