1 #ifndef PROPERTYINFO_H_
2 #define PROPERTYINFO_H_
4 #include "abstractpropertytype.h"
15 PropertyInfo(): mUpdateFrequency(0), mIsValid(false) {}
18 * @arg updateFrequency
21 PropertyInfo(uint updateFreq, std::list<Zone::Type> zonesList)
22 :mUpdateFrequency(updateFreq), mZones(zonesList), mIsValid(true)
29 * Maximum times per second a property is expected to update.
32 uint updateFrequency()
34 return mUpdateFrequency;
38 * Number of different zones supported by this property.
41 std::list<Zone::Type> zones()
47 * returns whether this PropertyInfo is valid
49 * default when you construct a PropertyInfo is false
58 * returns instance of PropertyInfo that isn't valid
60 static PropertyInfo invalid()
62 return PropertyInfo();
67 uint mUpdateFrequency;
68 std::list<Zone::Type> mZones;