automotive-message-broker
0.13.1
Main Page
Modules
Classes
Files
Examples
File List
All
Classes
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Groups
Pages
lib
propertyinfo.hpp
1
#ifndef PROPERTYINFO_H_
2
#define PROPERTYINFO_H_
3
4
#include "abstractpropertytype.h"
5
6
class
PropertyInfo
7
{
8
public
:
9
10
14
PropertyInfo
(): mUpdateFrequency(0), mIsValid(false) {}
15
20
PropertyInfo
(uint updateFreq, Zone::ZoneList zonesList)
21
:mUpdateFrequency(updateFreq), mZones(zonesList), mIsValid(true)
22
{
23
24
}
25
26
31
uint
updateFrequency
()
32
{
33
return
mUpdateFrequency;
34
}
35
40
Zone::ZoneList
zones
()
41
{
42
return
mZones;
43
}
44
50
bool
isValid
()
51
{
52
return
mIsValid;
53
}
54
55
59
static
PropertyInfo
invalid
()
60
{
61
return
PropertyInfo
();
62
}
63
64
private
:
65
66
uint mUpdateFrequency;
67
Zone::ZoneList mZones;
68
bool
mIsValid;
69
};
70
71
72
#endif
Generated by
1.8.2