2 //=============================================================================
4 * @file Generic_Factory.h
6 * A generic factory, customized for the use with the Quoter example.
8 * @author Michael Kircher (mk1@cs.wustl.edu)
10 //=============================================================================
13 #include "ace/Get_Opt.h"
15 #if !defined (ACE_LACKS_PRAGMA_ONCE)
17 #endif /* ACE_LACKS_PRAGMA_ONCE */
19 #include "tao/Utils/ORB_Manager.h"
20 #include "Generic_Factory_i.h"
22 #ifndef GENERIC_FACTORY_H
23 #define GENERIC_FACTORY_H
26 * @class Quoter_Generic_Factory_Server
28 * Server object for the Quoter Generic Factory
30 class Quoter_Generic_Factory_Server
33 /// Default constructor
34 Quoter_Generic_Factory_Server ();
37 ~Quoter_Generic_Factory_Server ();
39 /// Initialize the Quoter_Server state - parsing arguments and ...
46 /// Parse the passed parameters.
50 /// instance of the ORB Manager
51 TAO_ORB_Manager orb_manager_
;
53 /// Instance of the Quoter Generic Factory.
54 Quoter_Generic_Factory_i
*quoter_Generic_Factory_i_ptr_
;
56 /// Reference to the Quoter naming context.
57 CosNaming::NamingContext_var quoterNamingContext_var_
;
59 /// Number of commandline arguments.
62 /// commandline arguments.
65 /// flag for whether or not to use the lifecycle service
66 unsigned char use_LifeCycle_Service_
;
68 /// debug level (0 = quiet, 1 = default, informative, 2+ = noisy);
72 #endif /* GENERIC_FACTORY_H */