gpfsmonConfigurator.cpp 791 Bytes
Newer Older
Carla Guillen Carias's avatar
Carla Guillen Carias committed
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
/*
 * gpfsmonConfigurator.cpp
 *
 *  Created on: 26.11.2018
 *      Author: Your name goes here!
 */

#include "gpfsmonConfigurator.h"

gpfsmonConfigurator::gpfsmonConfigurator() {
	/* 
	 *  TODO
	 *  If you want sensor, group or entity to be named differently in the config file, you can change it here
	 */
	_groupName = "group";
	_baseName = "sensor";
}

gpfsmonConfigurator::~gpfsmonConfigurator() {}

lu43jih's avatar
lu43jih committed
21
void gpfsmonConfigurator::sensorBase(GpfsmonSensorBase& s, CFG_VAL config) {
Carla Guillen Carias's avatar
Carla Guillen Carias committed
22
23
24
25
26
27
28
29
30
	ADD {
		/* 
		 *  TODO
		 *  Add ATTRIBUTE macros for sensorBase attributes
		 */
		 //ATTRIBUTE("attributeName", attributeSetter);
	}
}

lu43jih's avatar
lu43jih committed
31
void gpfsmonConfigurator::sensorGroup(GpfsmonSensorGroup& s, CFG_VAL config) {
Carla Guillen Carias's avatar
Carla Guillen Carias committed
32
33
34
35
36
37
38
39
	ADD {
		/* 
		 *  TODO
		 *  Add ATTRIBUTE macros for sensorGroup attributes
		 */
	}
}