Merge pull request #2216 from jwillemsen/jwi-cxxversionchecks
[ACE_TAO.git] / TAO / orbsvcs / IFR_Service / IFR_Service.h
blob8a1eb7337b29cab42cde7231524460388fbfa2fd
2 //=============================================================================
3 /**
4 * @file IFR_Service.h
6 * @author Jeff Parsons <parsons@cs.wustl.edu>
7 */
8 //=============================================================================
11 #ifndef IFR_SERVICE_H
12 #define IFR_SERVICE_H
14 #include "orbsvcs/IFRService/IFR_Service_Utils.h"
15 #include "tao/PortableServer/PortableServer.h"
16 #include "tao/ORB.h"
18 #if !defined (ACE_LACKS_PRAGMA_ONCE)
19 # pragma once
20 #endif /* ACE_LACKS_PRAGMA_ONCE */
22 /**
23 * @class IFR_Service
25 * A class that initializes, runs and shuts down
26 * the Interface Repository service.
28 class IFR_Service
30 public:
31 /// Default constructor.
32 IFR_Service ();
34 /// Destructor
35 ~IFR_Service ();
37 /// Initialize the IFR service.
38 int init (int argc,
39 ACE_TCHAR *argv[]);
41 /// Shut down the IFR Service.
42 int fini ();
44 /// Run the IFR service.
45 int run ();
47 /// Shutdown the Service.
48 void shutdown ();
50 protected:
51 /// Reference to our ORB.
52 CORBA::ORB_var orb_;
54 /// IFR Server instance.
55 TAO_IFR_Server my_ifr_server_;
58 #endif /* IFR_SERVICE_H */