//============================================================================= /** * @file IFR_Service.h * * @author Jeff Parsons */ //============================================================================= #ifndef IFR_SERVICE_H #define IFR_SERVICE_H #include "orbsvcs/IFRService/IFR_Service_Utils.h" #include "tao/PortableServer/PortableServer.h" #include "tao/ORB.h" #if !defined (ACE_LACKS_PRAGMA_ONCE) # pragma once #endif /* ACE_LACKS_PRAGMA_ONCE */ /** * @class IFR_Service * * A class that initializes, runs and shuts down * the Interface Repository service. */ class IFR_Service { public: /// Default constructor. IFR_Service (); /// Destructor ~IFR_Service (); /// Initialize the IFR service. int init (int argc, ACE_TCHAR *argv[]); /// Shut down the IFR Service. int fini (); /// Run the IFR service. int run (); /// Shutdown the Service. void shutdown (); protected: /// Reference to our ORB. CORBA::ORB_var orb_; /// IFR Server instance. TAO_IFR_Server my_ifr_server_; }; #endif /* IFR_SERVICE_H */