Merge pull request #1844 from jrw972/monterey
[ACE_TAO.git] / TAO / orbsvcs / examples / ORT / Object_Factory_i.h
blob80aaf03d7749dbea51e9a1f7ebbe0c3749353a03
1 //=============================================================================
2 /**
3 * @file Object_Factory_i.h
5 * Implementation header for the "Gateway" IDL interface for the
6 * ORT example.
8 * @author Carlos O'Ryan <coryan@uci.edu>
9 * @author Priyanka Gontla <gontla_p@ociweb.com>
11 //=============================================================================
13 #ifndef OBJECT_FACTORY_I_H
14 #define OBJECT_FACTORY_I_H
16 #include "GatewayS.h"
18 #include "tao/PortableServer/PortableServerC.h"
19 #include "tao/ORB.h"
21 class Object_Factory_i : public virtual POA_Gateway::Object_Factory
23 public:
25 /// Constructor
26 Object_Factory_i (CORBA::ORB_ptr orb,
27 PortableServer::POA_ptr gateway_poa);
29 CORBA::Object_ptr
30 create_object (const char *interface_repository_id,
31 CORBA::Object_ptr gatewayed_object);
33 private:
35 CORBA::ORB_ptr orb_;
36 PortableServer::POA_ptr gateway_poa_;
39 #endif /* OBJECT_FACTORY_I_H */