Merge pull request #2309 from mitza-oci/warnings
[ACE_TAO.git] / TAO / orbsvcs / tests / Bug_2248_Regression / client.h
blob047620f5d4284b6d1eaa1124ef677faaffcd4dc0
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:
15 Manager ();
16 // Ctor
18 void init (int& argc,
19 ACE_TCHAR *argv[]);
21 // Initialize the ORB, POA etc.
23 int make_merged_iors ();
24 // Merges the different IORS
26 /// Run the ORB event loop..
27 int run ();
29 /// Write the merged IOGRs to a file
30 int write_to_files ();
32 /// Return the pointer to the copy of our ORB
33 CORBA::ORB_ptr orb ();
35 private:
36 /// Write the merged IOGRs to a file
37 int write_to_file (CORBA::Object_ptr ior, const ACE_TCHAR* ior_output_file);
39 /// Sets the properties for the profiles
40 int set_properties (TAO_IOP::TAO_IOR_Manipulation_ptr iorm,
41 CORBA::Object_ptr merged_set,
42 CORBA::Object_ptr primary, CORBA::ULong version);
44 /// Our ORB
45 CORBA::ORB_var orb_;
47 /// The merged IOR set
48 CORBA::Object_var merged_set_10_;
49 CORBA::Object_var merged_set_11_;
52 #endif /* BUG_2248_REGRESSION_CLIENT_H */