diff options
Diffstat (limited to 'TAO/orbsvcs/ImplRepo_Service/tao_ir_i.h')
-rw-r--r-- | TAO/orbsvcs/ImplRepo_Service/tao_ir_i.h | 61 |
1 files changed, 61 insertions, 0 deletions
diff --git a/TAO/orbsvcs/ImplRepo_Service/tao_ir_i.h b/TAO/orbsvcs/ImplRepo_Service/tao_ir_i.h new file mode 100644 index 00000000000..bca219b2ed7 --- /dev/null +++ b/TAO/orbsvcs/ImplRepo_Service/tao_ir_i.h @@ -0,0 +1,61 @@ +/* -*- C++ -*- */ +// $Id$ + +// ============================================================================ +// +// = LIBRARY +// TAO/orbsvcs/ImplRepo_Service +// +// = FILENAME +// tao_ir_i.h +// +// = DESCRIPTION +// This class implements the Implementation Repository helper application. +// +// = AUTHOR +// Darrell Brunsch <brunsch@cs.wustl.edu> +// +// ============================================================================ + +#if !defined (TAO_IR_I_H) +#define TAO_IR_I_H + +#include "tao/corba.h" +#include "orbsvcs/ImplRepoC.h" + +class TAO_IR_i +{ + // = TITLE + // TAO's command line helper application + // + // = DESCRIPTION + // This class talks to the IR and registers/lists/etc. +public: + // = Constructor and destructor. + TAO_IR_i (void); + ~TAO_IR_i (void); + + int run (); + // Execute client code. + + int init (int argc, char **argv); + // Initialize the client communication endpoint with server. + +private: + int read_ior (char *filename); + // Function to read the server ior from a file. + + int parse_args (void); + // Parses the arguments passed on the command line. + + int argc_; + // # of arguments on the command line. + + ASYS_TCHAR **argv_; + // arguments from command line. + + CORBA::ORB_var orb_; + // Remember our orb. +}; + +#endif /* TAO_IR_I_H */ |