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

Public Member Functions

 SizeProperty (VehicleProperty::Property, AbstractRoutingEngine *re, GDBusConnection *connection)
 
- Public Member Functions inherited from DBusSink
 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 ()
 
VariantTypeproperty (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 ()
 

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
AbstractRoutingEnginere
 
- Static Public Attributes inherited from DBusSink
static std::map< std::string,
std::string > 
dbusConfig
 
- 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
AbstractRoutingEngineroutingEngine
 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
 

Constructor & Destructor Documentation

SizeProperty::SizeProperty ( VehicleProperty::Property  ,
AbstractRoutingEngine re,
GDBusConnection *  connection 
)
inline

Width unsigned long readonly MUST return width of vehicle in mm

Height unsigned long readonly MUST return height of vehicle in mm

Length unsigned long readonly MUST return length of vehicle in mm


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