|
| std::string | name |
| | name Property name. More...
|
| |
| double | timestamp |
| | timestamp. Timestamp when the value was last updated by the system. This is updated automatically any time setValue() is called More...
|
| |
|
int32_t | sequence |
| | sequence internal counter. Useful as a unique indentifier. values is -1 if not used (default).
|
| |
|
std::string | sourceUuid |
| | sourceUuid uuid of the source that produced this property. This is set by the routingengine if left unmodified.
|
| |
|
Zone::Type | zone |
| | zone that the property is situated in.
|
| |
|
Priority | priority |
| | priority is used to tell the routing engine how to prioritize routing the value to plugins. setting this value to AbstractPropertyType::Instant will tell the routing engine to immedietly route the value without any reliance on the mainloop. Instant priority is NOT thread safe. Default priority is AbstractPropertyType::Normal.
|
| |
std::vector< std::function
< void(AbstractPropertyType *)> > | destroyed |
| | destroyed is called if this property is destroyed.
|
| |
The Priority enum describes prority of the property type.
| Enumerator |
|---|
| Normal |
normal priority. This is default
|
| Low |
Low priority.
|
| High |
High priority
|
| Instant |
Instant. Using this priority is not thread safe. This is typically used for Properties that need to be deterministic.
|
| boost::any AbstractPropertyType::anyValue |
( |
| ) |
|
|
inline |
anyValue
- Returns
- boost::any value
quickCopy is intended as a way to quickly copy the often changing bits from one abstract property to another It assumes that the properties are almost identical in name, source, and zone.
- Parameters
-
| other | the property to copy from |
| virtual void AbstractPropertyType::setValue |
( |
boost::any |
val | ) |
|
|
inlinevirtual |
setValue
- Parameters
-
| val | boost::any value. NOTE: boost::any does not accept type coercion. Types must match exactly with native type. (ie, don't use "int" if the native type is "uint") |
Reimplemented in BasicPropertyType< T >.
| virtual std::string AbstractPropertyType::toString |
( |
| ) |
const |
|
pure virtual |
| virtual GVariant* AbstractPropertyType::toVariant |
( |
| ) |
|
|
pure virtual |
| std::string AbstractPropertyType::name |
name Property name.
- See Also
- VehicleProperty for built-in supported property names
| double AbstractPropertyType::timestamp |
timestamp. Timestamp when the value was last updated by the system. This is updated automatically any time setValue() is called
- See Also
- amb::currentTime()
-
setValue()
The documentation for this class was generated from the following file: