Merge pull request #2216 from jwillemsen/jwi-cxxversionchecks
[ACE_TAO.git] / TAO / orbsvcs / examples / ORT / Object_Factory_i.h
blobfce4a82e0df8a347eb7bc1019c1233ddf41927c0
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:
24 /// Constructor
25 Object_Factory_i (CORBA::ORB_ptr orb,
26 PortableServer::POA_ptr gateway_poa);
28 CORBA::Object_ptr
29 create_object (const char *interface_repository_id,
30 CORBA::Object_ptr gatewayed_object);
32 private:
33 CORBA::ORB_ptr orb_;
34 PortableServer::POA_ptr gateway_poa_;
37 #endif /* OBJECT_FACTORY_I_H */