2 //=============================================================================
6 * This file is part of Fault Tolerant CORBA.
7 * Main wrapped around TAO_Object_Group_Creator
9 * @author Dale Wilson <wilson_d@ociweb.com>
11 //=============================================================================
16 #include /**/ "ace/pre.h"
20 #if !defined (ACE_LACKS_PRAGMA_ONCE)
22 #endif /* ACE_LACKS_PRAGMA_ONCE */
24 #include "TAO_Object_Group_Creator.h"
25 #include "ace/OS_NS_stdio.h"
31 typedef ACE_Vector
<ACE_CString
> StringVec
;
33 ///////////////////////////
34 // construction/destruction
41 int parse_args (int argc
, ACE_TCHAR
*argv
[]);
43 int init (CORBA::ORB_ptr orb
);
56 void usage (FILE* out
)const;
61 FT_Creator (const FT_Creator
& rhs
);
62 FT_Creator
& operator = (const FT_Creator
& rhs
);
67 TAO::Object_Group_Creator creator_
;
69 const ACE_TCHAR
* registry_ior_
;
70 StringVec create_roles_
;
71 StringVec unregister_roles_
;
74 CosNaming::NamingContext_var naming_context_
;
76 ::FT::ReplicationManager_var replication_manager_
;
78 * bool: true if we have a real replication manager
80 int have_replication_manager_
;
83 * bool: true if we should write individual IOR files
88 * bool: true if we should write IOGR to a file
93 * bool: true if we should write IOGR to a Name Service
98 * sequence number applied to created IOGRs
109 #include /**/ "ace/post.h"
111 #endif // FT_CREATOR_H