Merge pull request #2222 from jwillemsen/jwi-dllexportwarning
[ACE_TAO.git] / TAO / tests / Bug_2936_Regression / PersistentPOA.h
blobd0c4cb615422ada5f968561522b898e7396779fe
1 #ifndef PersistentPoa_h
2 #define PersistentPoa_h
4 #include "ace/Service_Object.h"
5 #include "tao/ORB.h"
6 #include "tao/PortableServer/PortableServer.h"
8 #include "bug2936_export.h"
11 class bug2936_Export PersistentPoa
13 public ACE_Service_Object
15 // public types and methods
16 public:
17 /// Default constructor.
18 PersistentPoa ();
20 /// Destructor.
21 ~PersistentPoa () noexcept;
23 protected:
24 virtual int init (int argc, ACE_TCHAR *argv[]);
26 virtual int fini ();
28 private:
29 CORBA::ORB_var mv_orb;
30 PortableServer::POA_var mv_rootPOA;
31 PortableServer::POA_var mv_thisPOA;
32 PortableServer::POAManager_var mv_poaManager;
33 }; /* end of class PersistentPoa */
36 ACE_FACTORY_DECLARE (bug2936, PersistentPoa)
39 #endif /* PersistentPoa_h */