Adjustments in stubs and skeletons for callback in callback; using different ports...
[iot2.git] / iotjava / iotrmi / C++ / basics / TestClass.hpp
index 573ff64fc969e1ecee80d52213547421396d69df..cc6c8542d20a8405c433ac2f3643be34146a24a8 100644 (file)
@@ -6,6 +6,8 @@
 #include <chrono>
 #include "TestClassInterface.hpp"
 #include "CallBackInterfaceWithCallBack.hpp"
+#include "Enum.hpp"
+#include "Struct.hpp"
 
 using namespace std;
 
@@ -144,6 +146,7 @@ int TestClass::callBack() {
 
        int sum = 0;
        for (CallBackInterfaceWithCallBack* cb : cbvec) {
+               cb->needCallback(this);
                sum = sum + cb->printInt();
        }