Testing enum and callback combination
[iot2.git] / iotjava / iotrmi / C++ / basics / TestClassAdvanced_Stub.cpp
index 02aa8bb0f1fd1d201ccb4fb779187f149f1296ad..8e2321050fb58780f363fd897e02651f0bd5cc47 100644 (file)
@@ -109,10 +109,15 @@ int main(int argc, char *argv[])
 //     tcStub->registerCallbackList(cblist);
 //     cout << "Return value from callback: " << tcStub->callBack() << endl;
 /*     tcStub->registerCallbackComplex(23, cblist, 0.1234);
-       cout << "Return value from callback: " << tcStub->callBack() << endl;*/
+       cout << "Return value from callback: " << tcStub->callBack() << endl;
        vector<Enum> vecRes5 = tcStub->handleAll(vecEn, vecStr, 'c', cblist);
        for (Enum en : vecRes5) {
                cout << "Enum value: " << en << endl;
+       }*/
+
+       vector<Enum> vecRes6 = tcStub->handleCallbackEnum(vecEn, 'c', cblist);
+       for (Enum en : vecRes6) {
+               cout << "Enum value: " << en << endl;
        }
 
        return 0;