X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=src%2Fxapp%2Fxapp.hpp;h=a00a1dc656ce5eafbff6ed1482bbe3b3bb04a3db;hb=refs%2Ftags%2F2.3.3;hp=a3d5e978cbc09218b721578bea7205a52cd235f4;hpb=8cb3c6f5d5062b83f17a5739e0671490beb543de;p=ric-plt%2Fxapp-frame-cpp.git diff --git a/src/xapp/xapp.hpp b/src/xapp/xapp.hpp index a3d5e97..a00a1dc 100644 --- a/src/xapp/xapp.hpp +++ b/src/xapp/xapp.hpp @@ -42,13 +42,17 @@ #include "callback.hpp" #include "messenger.hpp" -class Xapp : public Messenger { +class Xapp : public xapp::Messenger { private: std::string name; + // copy and assignment are PRIVATE because we cant "clone" the listen environment + Xapp( const Xapp& soi ); + Xapp& operator=( const Xapp& soi ); + public: - Xapp( char* listen_port, bool wait4rt ); // builder + Xapp( const char* listen_port, bool wait4rt ); // builder Xapp( ); ~Xapp(); // destroyer