Merge pull request #2222 from jwillemsen/jwi-dllexportwarning
[ACE_TAO.git] / TAO / tests / Two_Objects / Object_Factory_i.h
blobe851eae2fcd6a124a8e7911a41053af47d10d3d2
1 // -*- C++ -*-
2 #ifndef OBJECT_FACTORY_I_H
3 #define OBJECT_FACTORY_I_H
5 #include "Two_ObjectsS.h"
6 #include "First_i.h"
7 #include "Second_i.h"
9 #include "ace/Auto_Event.h"
12 /// Implement the MTServer::Test interface
13 class Object_Factory_i
14 : public virtual POA_Two_Objects_Test::Object_Factory
16 public:
17 Object_Factory_i (CORBA::ORB_ptr orb,
18 CORBA::ULong len);
20 Two_Objects_Test::First_ptr create_first ();
22 Two_Objects_Test::Second_ptr create_second ();
24 private:
25 /// Use an ORB reference to convert strings to objects and shutdown
26 /// the application.
27 CORBA::ORB_var orb_;
28 CORBA::ULong length_;
29 ACE_Auto_Event two_way_done_;
32 #endif /* OBJECT_FACTORY_I_H */