automotive-message-broker  0.14.803
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Groups Pages
Public Member Functions | Protected Attributes | List of all members
AbstractSink Class Referenceabstract
Inheritance diagram for AbstractSink:
AbstractSource BluetoothSinkPlugin DBusSink DemoSink ExampleSink Property WebSocketSink AmbPlugin< T > ExampleSourcePlugin MurphySource OBD2Source OpenXCPlugin TestPlugin WebSocketSource WheelSourcePlugin AccelerationProperty AcceleratorPedalPosition AirbagStatusProperty AlarmStatus AntilockBrakingSystemProperty AtmosphericPressure BatteryStatusProperty BrakeMaintenance BrakeOperation ButtonEvent ChildSafetyLock Chime ClimateControlProperty ConvertibleRoof CruiseControlProperty CustomPropertyInterface DefrostProperty Diagnostics DoorProperty DoorsProperty DoorStatusProperty DriveMode DrivingMode ElectronicStabilityControl EngineCoolant EngineOilProperty EngineSpeedProperty ExteriorBrightnessProperty FluidProperty FuelInfoProperty FuelProperty HazardLightProperty HornProperty IgnitionTime InteriorLightStatusProperty LaneDepartureStatus LightStatusProperty LocationProperty MalfunctionIndicator MirrorProperty NightMode ObstacleDistanceProperty OccupantStatusProperty OdometerProperty ParkingBrakeProperty PowertrainTorque RainSensor SeatAdjustment SeatBeltStatusProperty SeatProperty SideWindowStatusProperty SizeProperty SteeringWheel SteeringWheelPositionProperty Sunroof Temperature ThrottlePosition TireProperty TractionControlSystemProperty TransmissionClutch TransmissionOil TransmissionProperty TripMeterProperty UncategorizedPropertyInterface VehicleId VehiclePowerModeProperty VehicleSound VehicleSpeedProperty VehicleTopSpeedLimitProperty VehicleTypeProperty WasherFluid WheelInformationProperty WheelTick WindowStatusProperty WindshieldWiperStatus YawRate

Public Member Functions

 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

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

virtual void AbstractSink::propertyChanged ( AbstractPropertyType value)
inlinevirtual

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 in AmbPlugin< T >, BluetoothSinkPlugin, TestPlugin, Property, DBusSink, DemoSink, WebSocketSink, and ExampleSink.

virtual void AbstractSink::supportedChanged ( const PropertyList &  supportedProperties)
pure virtual

supportedChanged() is called when the supported properties changes

  • supportedProperties the new list of supported properties.

Implemented in OBD2Source, AmbPlugin< T >, BluetoothSinkPlugin, MurphySource, WebSocketSource, TestPlugin, WheelSourcePlugin, ExampleSourcePlugin, Property, DBusSink, DemoSink, WebSocketSink, and ExampleSink.

virtual const string AbstractSink::uuid ( )
pure virtual

Pure virtual methods:

uuid() is a unique identifier

Returns
a guid-style unique identifier

Implemented in OBD2Source, AmbPlugin< T >, BluetoothSinkPlugin, Property, DBusSink, MurphySource, TestPlugin, WheelSourcePlugin, DemoSink, ExampleSourcePlugin, ExampleSink, OpenXCPlugin, WebSocketSink, and WebSocketSource.


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