Signed-off-by: Marek Timko <marek.timko@ixonos.com>
{
public:
AsyncPropertyRequest()
- :property(VehicleProperty::NoValue),timeout(10000)
+ :property(VehicleProperty::NoValue),zoneFilter(Zone::None), timeout(10000)
{
}
* \brief factory constructs a static instance of VehicleProperty. This should be called once before VehicleProperty is used in the app
*/
static void factory();
+
/*!
*
- * \brief destroys static instance of VehicleProperty. This should be called at application shutdown
- */
- static void shutdown();
+ * \brief destroys static instance of VehicleProperty. This should be called at application shutdown
+ */
+ static void shutdown();
typedef std::string Property;
{
if(!value())
{
- AbstractPropertyType* v = VehicleProperty::getPropertyTypeForPropertyNameValue(mAmbPropertyName);
-
- setValue(v);
-
- delete v; //TODO: Needs to be veriefied if it will CRASH here. Does setValue() take ownership ???
+ setValue(VehicleProperty::getPropertyTypeForPropertyNameValue(mAmbPropertyName));
}
auto v = value();