projects
/
iot2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Adjustments in stubs and skeletons for callback in callback; using different ports...
[iot2.git]
/
iotjava
/
iotrmi
/
C++
/
basics
/
TestClass.hpp
diff --git
a/iotjava/iotrmi/C++/basics/TestClass.hpp
b/iotjava/iotrmi/C++/basics/TestClass.hpp
index 573ff64fc969e1ecee80d52213547421396d69df..cc6c8542d20a8405c433ac2f3643be34146a24a8 100644
(file)
--- a/
iotjava/iotrmi/C++/basics/TestClass.hpp
+++ b/
iotjava/iotrmi/C++/basics/TestClass.hpp
@@
-6,6
+6,8
@@
#include <chrono>
#include "TestClassInterface.hpp"
#include "CallBackInterfaceWithCallBack.hpp"
#include <chrono>
#include "TestClassInterface.hpp"
#include "CallBackInterfaceWithCallBack.hpp"
+#include "Enum.hpp"
+#include "Struct.hpp"
using namespace std;
using namespace std;
@@
-144,6
+146,7
@@
int TestClass::callBack() {
int sum = 0;
for (CallBackInterfaceWithCallBack* cb : cbvec) {
int sum = 0;
for (CallBackInterfaceWithCallBack* cb : cbvec) {
+ cb->needCallback(this);
sum = sum + cb->printInt();
}
sum = sum + cb->printInt();
}