#cp ./iotrmi/C++/basics/* $(BIN_DIR)/iotpolicy/output_files/Cplus
cd $(BIN_DIR)/iotpolicy/output_files; cp *.java ./Java
cd $(BIN_DIR)/iotpolicy/output_files; cp *.hpp ./Cplus
- cd $(BIN_DIR)/iotpolicy/output_files/Java; $(JAVAC) -cp .:..:../../../$(BIN_DIR) TestClass_ProfilingStub.java
- cd $(BIN_DIR)/iotpolicy/output_files/Java; $(JAVAC) -cp .:..:../../../$(BIN_DIR) TestClass_Skeleton.java
+# cd $(BIN_DIR)/iotpolicy/output_files/Java; $(JAVAC) -cp .:..:../../../$(BIN_DIR) TestClass_ProfilingStub.java
+# cd $(BIN_DIR)/iotpolicy/output_files/Java; $(JAVAC) -cp .:..:../../../$(BIN_DIR) TestClass_Skeleton.java
#cd $(BIN_DIR)/iotpolicy/output_files/Java; $(JAVAC) -cp .:..:../../../$(BIN_DIR) TestClassAdvanced_Stub.java
#cd $(BIN_DIR)/iotpolicy/output_files/Java; $(JAVAC) -cp .:..:../../../$(BIN_DIR) TestClassCallbacks_Stub.java
# cd $(BIN_DIR)/iotpolicy/output_files/Java; $(JAVAC) -cp .:..:../../../$(BIN_DIR) TestClassInterface_Skeleton.java -Xlint:unchecked
# cd $(BIN_DIR)/iotpolicy/output_files/Java; $(JAVAC) -cp .:..:../../../$(BIN_DIR) CallBackInterface_CallbackSkeleton.java
# cd $(BIN_DIR)/iotpolicy/output_files/Java; $(JAVAC) -cp .:..:../../../$(BIN_DIR) CallBackInterfaceWithCallBack_CallbackStub.java
- #cd $(BIN_DIR)/iotpolicy/output_files/Cplus; $(G++) ./TestClassInterface_Skeleton.cpp -o ./TestClassInterface_Skeleton.out --std=c++11 -pthread -pg -I../../../../iotjava/iotrmi/C++/
- #cd $(BIN_DIR)/iotpolicy/output_files/Cplus; $(G++) ./TestClassComplete_Stub.cpp -o ./TestClassComplete_Stub.out --std=c++11 -pthread -pg -I../../../../iotjava/iotrmi/C++/
+ cd $(BIN_DIR)/iotpolicy/output_files/Cplus; $(G++) ./TestClassInterface_Skeleton.cpp -o ./TestClassInterface_Skeleton.out --std=c++11 -pthread -pg -I../../../../iotjava/iotrmi/C++/
+ cd $(BIN_DIR)/iotpolicy/output_files/Cplus; $(G++) ./TestClassComplete_Stub.cpp -o ./TestClassComplete_Stub.out --std=c++11 -pthread -pg -I../../../../iotjava/iotrmi/C++/
#cp ./iotrmi/C++/ConcurrentLinkedListQueue.cpp $(BIN_DIR)/iotpolicy/output_files/Cplus
#cd $(BIN_DIR)/iotpolicy/output_files/Cplus; $(G++) ./ConcurrentLinkedListQueue.cpp -o ./ConcurrentLinkedListQueue.out --std=c++11 -pthread -pg -I../../../../iotjava/iotrmi/C++/
mutex queueMutex;
-class Node {
+class Node final {
private:
Node* next;
};
-class ConcurrentLinkedListQueue {
+class ConcurrentLinkedListQueue final {
private:
Node* tail;
mutex mtx;
-class IoTRMICall {
+class IoTRMICall final {
public:
IoTRMICall(int _port, const char* _address, int _rev, bool* _bResult);
~IoTRMICall();
mutex clientRemoteCallMutex;
mutex clientSendReturnObjMutex;
-class IoTRMICommClient : public IoTRMIComm {
+class IoTRMICommClient final : public IoTRMIComm {
public:
IoTRMICommClient(int _portSend, int _portRecv, const char* _address, int _rev, bool* _bResult);
~IoTRMICommClient();
using namespace std;
-class IoTRMICommServer : public IoTRMIComm {
+class IoTRMICommServer final : public IoTRMIComm {
public:
IoTRMICommServer(int _portSend, int _portRecv, bool* _bResult);
~IoTRMICommServer();
using namespace std;
-class IoTRMIObject {
+class IoTRMIObject final {
public:
IoTRMIObject(int _port, bool* _bResult);
~IoTRMIObject();
using namespace std;
-class IoTRMITypes {
+class IoTRMITypes final {
public:
/* Public constants */
using namespace std;
-class IoTRMIUtil {
+class IoTRMIUtil final {
public:
IoTRMIUtil();
#include "IoTSocket.hpp"
-class IoTSocketClient : public IoTSocket
+class IoTSocketClient final : public IoTSocket
{
public:
IoTSocketClient(int iPort, const char* pStrHost, bool bReverse, bool* pResult);
#define BACKLOG 10 // How many pending connections queue will hold
-class IoTSocketServer : public IoTSocket
+class IoTSocketServer final : public IoTSocket
{
public:
IoTSocketServer(int iPort, bool* pResult);
// @since 2017-01-09
-class IoTDeviceAddress : public IoTAddress
+class IoTDeviceAddress final : public IoTAddress
{
public:
// @version 1.0
// @since 2017-01-09
-class IoTUDP
+class IoTUDP final
{
// IoTUDP class properties
private:
typedef void init_t(void*);
-class IoTSlave {
+class IoTSlave final {
private:
// Constants
* @since 2016-09-06
*/
template <class K,class V>
-class IRelation {
+class IRelation final {
private:
unordered_multimap<K,V>* rel;
public:
* @since 2016-09-06
*/
template <class T>
-class ISet {
+class ISet final {
private:
unordered_set<T>* set;
public:
* @since 2016-09-06
*/
template <class K,class V>
-class IoTRelation {
+class IoTRelation final {
private:
const unordered_multimap<K,V>* rel;
public:
* @since 2016-09-06
*/
template <class T>
-class IoTSet {
+class IoTSet final {
private:
const unordered_set<T>* set;
public: