Merge pull request #2303 from jwillemsen/jwi-803
[ACE_TAO.git] / TAO / orbsvcs / tests / Bug_2247_Regression / Manager.h
blob74eb1df0b6730ec330c3e9ac00cf79629b641199
1 // -*- C++ -*-
2 #ifndef BUG_2247_REGRESSION_MANAGER_H
3 #define BUG_2247_REGRESSION_MANAGER_H
5 #include "tao/ORB.h"
7 #if !defined (ACE_LACKS_PRAGMA_ONCE)
8 # pragma once
9 #endif /* ACE_LACKS_PRAGMA_ONCE */
11 #include "tao/Object.h"
13 class Manager
15 public:
16 Manager ();
17 // Ctor
19 void init (int argc,
20 ACE_TCHAR *argv[]);
22 // Initialize the ORB, POA etc.
24 int make_merged_iors ();
25 // Merges the different IORS
27 int set_properties ();
28 // Sets the properties for the profiles
30 int run ();
31 // Run the ORB event loop..
33 int write_to_file ();
34 // Write the merged IOR to a file
36 CORBA::ORB_ptr orb ();
37 // Return the pointer to the copy of our ORB
38 private:
39 CORBA::ORB_var orb_;
40 // Our ORB
42 CORBA::Object_var merged_set_;
43 // The merged IOR set
46 #endif /* BUG_2247_REGRESSION_MANAGER_H */