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

Signals

void changed (QVariant val)
 

Public Member Functions

 Property (VehicleProperty::Property, QString srcFilter, AbstractRoutingEngine *re, Zone::Type zone=Zone::None, QObject *parent=0)
 
QString name ()
 
void setType (QString t)
 
QString source ()
 
double timestamp ()
 
virtual PropertyList subscriptions ()
 
virtual void supportedChanged (const PropertyList &)
 
virtual void propertyChanged (AbstractPropertyType *value)
 propertyChanged is called when a subscribed to property changes.
 
virtual const std::string uuid ()
 Pure virtual methods:
 
QVariant value ()
 
void setValue (QVariant v)
 
void getHistory (QDateTime begin, QDateTime end, QJSValue cbFunction)
 
Zone::Type zone ()
 
- Public Member Functions inherited from AbstractSink
 AbstractSink (AbstractRoutingEngine *engine, map< string, string > config)
 

Properties

QString name
 
QString source
 
double timestamp
 
QVariant value
 
int zone
 

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

virtual void Property::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.

virtual void Property::supportedChanged ( const PropertyList &  supportedProperties)
inlinevirtual

supportedChanged() is called when the supported properties changes

  • supportedProperties the new list of supported properties.

Implements AbstractSink.

virtual const std::string Property::uuid ( )
inlinevirtual

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: