blob: ef85b83dc8a12ff117975b5433d3cb32a5a4c68a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
|
#ifndef BUG_2248_REGRESSION_CLIENT_H
#define BUG_2248_REGRESSION_CLIENT_H
#include "tao/ORB.h"
#if !defined (ACE_LACKS_PRAGMA_ONCE)
# pragma once
#endif /* ACE_LACKS_PRAGMA_ONCE */
#include "tao/Object.h"
#include "tao/IORManipulation/IORManipulation.h"
class Manager
{
public:
Manager (void);
// Ctor
void init (int& argc,
ACE_TCHAR *argv[]);
// Initialize the ORB, POA etc.
int make_merged_iors (void);
// Merges the different IORS
/// Run the ORB event loop..
int run (void);
/// Write the merged IOGRs to a file
int write_to_files (void);
/// Return the pointer to the copy of our ORB
CORBA::ORB_ptr orb (void);
private:
/// Write the merged IOGRs to a file
int write_to_file (CORBA::Object_ptr ior, const ACE_TCHAR* ior_output_file);
/// Sets the properties for the profiles
int set_properties (TAO_IOP::TAO_IOR_Manipulation_ptr iorm,
CORBA::Object_ptr merged_set,
CORBA::Object_ptr primary, CORBA::ULong version);
/// Our ORB
CORBA::ORB_var orb_;
/// The merged IOR set
CORBA::Object_var merged_set_10_;
CORBA::Object_var merged_set_11_;
};
#endif /* BUG_2248_REGRESSION_CLIENT_H */
|