Changes to attempt to silence bcc64x
[ACE_TAO.git] / TAO / orbsvcs / LifeCycle_Service / LifeCycle_Service.h
blob8255eb62173a1267084285139c3da9ad1c1ef8fa
2 //=============================================================================
3 /**
4 * @file LifeCycle_Service.h
6 * A creation service for objects using the CosLifeCycle GenericFactory.
8 * @author Michael Kircher (mk1@cs.wustl.edu)
9 */
10 //=============================================================================
13 #include "ace/Get_Opt.h"
15 #if !defined (ACE_LACKS_PRAGMA_ONCE)
16 # pragma once
17 #endif /* ACE_LACKS_PRAGMA_ONCE */
19 #include "tao/Utils/ORB_Manager.h"
20 #include "LifeCycle_Service_i.h"
22 #ifndef LIFECYCLE_SERVICE_H
23 #define LIFECYCLE_SERVICE_H
25 /**
26 * @class Life_Cycle_Service_Server
27 = TILE
28 * Server object for the LifeCycle Service
30 class Life_Cycle_Service_Server
32 public:
33 /// Default constructor
34 Life_Cycle_Service_Server ();
36 /// Destructor
37 ~Life_Cycle_Service_Server ();
39 /// Initialize the Server state - parsing arguments and ...
40 int init (int argc,
41 ACE_TCHAR *argv[]);
43 /// Run the orb.
44 int run ();
46 /// Parse the passed parameters.
47 u_int parse_args (int argc,
48 ACE_TCHAR* argv[]);
50 private:
51 /// instance of the ORB Manager
52 TAO_ORB_Manager orb_manager_;
54 /// Instance of the creation service
55 Life_Cycle_Service_i *life_Cycle_Service_i_ptr_;
57 /// reference to the naming service
58 CosNaming::NamingContext_var namingContext_var_;
60 /// debug level (0 = quiet, 1 = default, informative, 2+ = noisy);
61 int debug_level_;
64 #endif /* LIFECYCLE_SERVICE_H */