summaryrefslogtreecommitdiff
path: root/TAO/orbsvcs/tests/FT_App/TAO_Object_Group_Creator.h
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/orbsvcs/tests/FT_App/TAO_Object_Group_Creator.h')
-rw-r--r--TAO/orbsvcs/tests/FT_App/TAO_Object_Group_Creator.h33
1 files changed, 10 insertions, 23 deletions
diff --git a/TAO/orbsvcs/tests/FT_App/TAO_Object_Group_Creator.h b/TAO/orbsvcs/tests/FT_App/TAO_Object_Group_Creator.h
index 52653c6cfc5..dcd18de0d47 100644
--- a/TAO/orbsvcs/tests/FT_App/TAO_Object_Group_Creator.h
+++ b/TAO/orbsvcs/tests/FT_App/TAO_Object_Group_Creator.h
@@ -38,14 +38,18 @@ namespace TAO
~Object_Group_Creator ();
/////////////////
- // initialization
- int parse_args (int argc, char *argv[]);
+ // pre-init methods
+ int set_factory_registry ( const char * factory_ior);
+ int set_factory_registry (PortableGroup::FactoryRegistry_ptr factory);
+ /////////////////
+ // initialization
int init (CORBA::ORB_var & orb ACE_ENV_ARG_DECL);
- ////////////
- // execution
- int run (ACE_ENV_SINGLE_ARG_DECL);
+ /////////////////
+ // functionality
+ int create_group(const char * role, int write_iors, int write_iogr ACE_ENV_ARG_DECL);
+ int unregister_role(const char * role ACE_ENV_ARG_DECL);
////////////
// shut down
@@ -54,12 +58,8 @@ namespace TAO
/////////////////
// implementation
private:
- void usage (ostream & out)const;
int write_ior_file(const char * outputFile, const char * ior);
- int create_group(const char * role ACE_ENV_ARG_DECL);
- int unregister_role(const char * role ACE_ENV_ARG_DECL);
-
////////////////////
// forbidden methods
private:
@@ -70,29 +70,16 @@ namespace TAO
// Data members
private:
CORBA::ORB_var orb_;
- const char * registry_filename_;
PortableGroup::FactoryRegistry_var registry_;
- StringVec create_roles_;
- StringVec unregister_roles_;
-
::FT::ReplicationManager_var replication_manager_;
+
/**
* bool: true if we have a real replication manager
*/
int have_replication_manager_;
/**
- * bool: true if we should create IOGR's
- */
- int make_iogr_;
-
- /**
- * bool: true if we should write individual IOR files
- */
- int write_iors_;
-
- /**
* sequence number applied to created IOGRs
*/
unsigned long iogr_seq_;