Merge pull request #1551 from DOCGroup/plm_jira_333
[ACE_TAO.git] / TAO / orbsvcs / tests / Bug_2248_Regression / client.h
blobf8241ccd2f47374ee63deaa8ec499abd0fbeb521
1 #ifndef BUG_2248_REGRESSION_CLIENT_H
2 #define BUG_2248_REGRESSION_CLIENT_H
4 #include "tao/ORB.h"
6 #if !defined (ACE_LACKS_PRAGMA_ONCE)
7 # pragma once
8 #endif /* ACE_LACKS_PRAGMA_ONCE */
10 #include "tao/Object.h"
11 #include "tao/IORManipulation/IORManipulation.h"
12 class Manager
14 public:
16 Manager (void);
17 // Ctor
19 void init (int& argc,
20 ACE_TCHAR *argv[]);
22 // Initialize the ORB, POA etc.
24 int make_merged_iors (void);
25 // Merges the different IORS
27 /// Run the ORB event loop..
28 int run (void);
30 /// Write the merged IOGRs to a file
31 int write_to_files (void);
33 /// Return the pointer to the copy of our ORB
34 CORBA::ORB_ptr orb (void);
36 private:
38 /// Write the merged IOGRs to a file
39 int write_to_file (CORBA::Object_ptr ior, const ACE_TCHAR* ior_output_file);
41 /// Sets the properties for the profiles
42 int set_properties (TAO_IOP::TAO_IOR_Manipulation_ptr iorm,
43 CORBA::Object_ptr merged_set,
44 CORBA::Object_ptr primary, CORBA::ULong version);
46 /// Our ORB
47 CORBA::ORB_var orb_;
49 /// The merged IOR set
50 CORBA::Object_var merged_set_10_;
51 CORBA::Object_var merged_set_11_;
54 #endif /* BUG_2248_REGRESSION_CLIENT_H */