Cleaning up drivers/Cpp, Cpp/Lifxtest, virtuals, and iotrmi/C++ (revisiting the C...
[iot2.git] / benchmarks / Cpp / Lifxtest / Lifxtest.hpp
index 41b61aaa907c8d1c42bcfd5799b68f367587461f..4631ed2f3712d3797fc7ea061e57fb3adf359f7c 100644 (file)
@@ -1,20 +1,31 @@
 #ifndef _LIFXTEST_HPP__
 #define _LIFXTEST_HPP__
 #include <iostream>
+#include <fstream>
 
 #include "IoTSet.hpp"
+#include "IoTRelation.hpp"
+#include "LightBulb.hpp"
 #include "LightBulbTest.hpp"
+#include "Room.hpp"
+#include "RoomSmart.hpp"
+
 
 class Lifxtest {
 
        private:
                // IoTSet
-               IoTSet<LightBulbTest*> lifx_light_bulb;
+               IoTSet<void*>* lifx_light_bulb; // LightBulbTest
+               IoTSet<void*>* lab_room;                // RoomSmart
+               IoTRelation<void*,void*>* roomLightRelation;    // RoomSmart and LightBulbTest
+
+               ofstream log;
 
        public:
 
                Lifxtest();
-               Lifxtest(IoTSet<LightBulbTest*> _lifx_light_bulb);
+               Lifxtest(IoTSet<void*>* _lifx_light_bulb, IoTSet<void*>* _lab_room, IoTRelation<void*,void*>* _roomLightRelation);
+               Lifxtest(void** args);
                ~Lifxtest();
                void init();
 };