00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016 #ifndef IFR_SERVICE_H
00017 #define IFR_SERVICE_H
00018
00019 #include "orbsvcs/IFRService/IFR_Service_Utils.h"
00020 #include "tao/PortableServer/PortableServer.h"
00021 #include "tao/ORB.h"
00022
00023 #if !defined (ACE_LACKS_PRAGMA_ONCE)
00024 # pragma once
00025 #endif
00026
00027
00028
00029
00030
00031
00032
00033 class IFR_Service
00034 {
00035 public:
00036
00037
00038 IFR_Service (void);
00039
00040
00041 ~IFR_Service (void);
00042
00043
00044 int init (int argc,
00045 char *argv[]);
00046
00047
00048 int fini (void);
00049
00050
00051 int run (void);
00052
00053 protected:
00054
00055
00056 CORBA::ORB_var orb_;
00057
00058
00059 PortableServer::POA_var root_poa_;
00060
00061
00062 TAO_IFR_Server my_ifr_server_;
00063 };
00064
00065 #endif