📄 ifr_service.h
字号:
// IFR_Service.h,v 1.14 2002/04/27 01:29:24 jai Exp
// ========================================================================
//
// = LIBRARY
// orbsvcs/IFR_Service
//
// = FILENAME
// IFR_Service.h
//
// = AUTHOR
// Jeff Parsons <parsons@cs.wustl.edu>
//
// =======================================================================
#ifndef IFR_SERVICE_H
#define IFR_SERVICE_H
#include "tao/PortableServer/PortableServerC.h"
#include "orbsvcs/orbsvcs/IFRService/IFR_Service_Utils.h"
#include "tao/ORB.h"
#if !defined (ACE_LACKS_PRAGMA_ONCE)
# pragma once
#endif /* ACE_LACKS_PRAGMA_ONCE */
class IFR_Service
{
// = TITLE
// IFR_Service
//
// = DESCRIPTION
// A class that initializes, runs and shuts down
// the Interface Repository service.
public:
IFR_Service (void);
// Default constructor.
~IFR_Service (void);
// Destructor
int init (int argc,
char *argv[]
ACE_ENV_ARG_DECL_WITH_DEFAULTS);
// Initialize the IFR service.
int fini (ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS);
// Shut down the IFR Service.
int run (ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS);
// Run the IFR service.
protected:
CORBA::ORB_var orb_;
// Reference to our ORB.
PortableServer::POA_var root_poa_;
// Root POA reference.
TAO_IFR_Server my_ifr_server_;
// IFR Server instance.
};
#endif /* IFR_SERVICE_H */
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -