Adding class LabRoom for IoTRelation testing with C++ IoTSlave
[iot2.git] / benchmarks / drivers / Cpp / LabRoom / LabRoom.cpp
1 #include <iostream>
2 #include "LabRoom.hpp"
3
4 using namespace std;
5
6 // External functions to create, destroy and initialize this class object
7 extern "C" void* createLabRoom(void** params) {
8         // Arguments: IoTSet<IoTDeviceAddress*>* _devAddress, string macAddress
9         return new LabRoom();
10 }
11
12
13 extern "C" void destroyLabRoom(void* t) {
14         LabRoom* lr = (LabRoom*) t;
15         delete lr;
16 }
17
18
19 // Constructor
20 LabRoom::LabRoom() {
21
22 }
23
24 LabRoom::~LabRoom() {
25
26 }
27
28 int LabRoom::getRoomID() {
29
30         return 0;
31 }