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

Public Member Functions

 WebSocketSink (AbstractRoutingEngine *re, lws *wsi, string uuid, VehicleProperty::Property property, std::string ambdproperty)
 
const string uuid ()
 Pure virtual methods:
 
void propertyChanged (AbstractPropertyType *value)
 propertyChanged is called when a subscribed to property changes.
 
void supportedChanged (const PropertyList &supportedProperties)
 
PropertyList subscriptions ()
 
lws * socket ()
 
- Public Member Functions inherited from AbstractSink
 AbstractSink (AbstractRoutingEngine *engine, map< string, string > config)
 

Additional Inherited Members

- 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 WebSocketSink::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 WebSocketSink::supportedChanged ( const PropertyList &  supportedProperties)
virtual

supportedChanged() is called when the supported properties changes

  • supportedProperties the new list of supported properties.

Implements AbstractSink.

const string WebSocketSink::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: