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
);
68 TAO::Object_Group_Creator creator_
;
70 const ACE_TCHAR
* registry_ior_
;
71 StringVec create_roles_
;
72 StringVec unregister_roles_
;
75 CosNaming::NamingContext_var naming_context_
;
77 ::FT::ReplicationManager_var replication_manager_
;
79 * bool: true if we have a real replication manager
81 int have_replication_manager_
;
84 * bool: true if we should write individual IOR files
89 * bool: true if we should write IOGR to a file
94 * bool: true if we should write IOGR to a Name Service
99 * sequence number applied to created IOGRs
113 #include /**/ "ace/post.h"
115 #endif // FT_CREATOR_H