object_factory_i.h
来自「这是广泛使用的通信开源项目,对于大容量,高并发的通讯要求完全能够胜任,他广泛可用」· C头文件 代码 · 共 46 行
H
46 行
// Object_Factory_i.h,v 1.2 2002/01/29 20:20:46 okellogg Exp
//=============================================================================
/**
* @file Object_Factory_i.h
*
* Object_Factory_i.h,v 1.2 2002/01/29 20:20:46 okellogg Exp
*
* Implementation header for the "Gateway" IDL interface for the
* ORT example.
*
* @author Carlos O'Ryan <coryan@uci.edu>
* @author Priyanka Gontla <gontla_p@ociweb.com>
*/
//=============================================================================
#ifndef OBJECT_FACTORY_I_H
#define OBJECT_FACTORY_I_H
#include "GatewayS.h"
#include "tao/PortableServer/PortableServerC.h"
#include "tao/ORB.h"
class Object_Factory_i : public virtual POA_Gateway::Object_Factory
{
public:
/// Constructor
Object_Factory_i (CORBA::ORB_ptr orb,
PortableServer::POA_ptr gateway_poa);
CORBA::Object_ptr
create_object (const char *interface_repository_id,
CORBA::Object_ptr gatewayed_object
ACE_ENV_ARG_DECL)
ACE_THROW_SPEC ((CORBA::SystemException));
private:
CORBA::ORB_ptr orb_;
PortableServer::POA_ptr gateway_poa_;
};
#endif /* OBJECT_FACTORY_I_H */
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?