=default for generated implementation copy ctor
[ACE_TAO.git] / TAO / tests / Bug_3251_Regression / PersistentPoa.h
blobc09e319f5bba2c611d7d58668484ed73fcb32918
1 #ifndef bug_3251_PersistentPoa_h
2 #define bug_3251_PersistentPoa_h
4 #include <string>
6 #include "ace/Service_Object.h"
7 #include "tao/ORB.h"
8 #include "tao/PortableServer/PortableServer.h"
10 #include "DllOrb.h"
11 #include "bug_3251_export.h"
13 class bug_3251_Export PersistentPoa: public ACE_Service_Object
15 // public types and methods
16 public:
17 PersistentPoa ();
19 ~PersistentPoa () noexcept;
21 // protected types and methods
22 protected:
23 virtual int init (int argc, ACE_TCHAR *argv[]);
25 virtual int fini ();
27 // private methods and instance variables
28 private:
29 std::string m_poaName;
30 CORBA::ORB_var mv_orb;
31 PortableServer::POA_var mv_rootPOA;
32 PortableServer::POA_var mv_thisPOA;
33 PortableServer::POAManager_var mv_poaManager;
34 }; /* end of class PersistentPoa */
36 ACE_FACTORY_DECLARE (bug_3251, PersistentPoa)
38 #endif /* bug_3251_PersistentPoa_h */