Merge pull request #2301 from sonndinh/remove-dup-reactor-functions
[ACE_TAO.git] / TAO / examples / Borland / ORBThread.h
blob597cfea2ad673a672cc3de7999299471f7a42d38
1 //---------------------------------------------------------------------------
2 #ifndef ORBThreadH
3 #define ORBThreadH
4 //---------------------------------------------------------------------------
5 #include "tao/ORB.h"
6 //---------------------------------------------------------------------------
7 class PACKAGE TORBThread : public TThread
9 // Class for running the orb in a separate thread.
10 public:
11 // Constructor.
12 __fastcall TORBThread (CORBA::ORB_ptr orb);
14 // Destructor.
15 __fastcall ~TORBThread ();
17 protected:
18 // Perform the thread's work.
19 void __fastcall Execute ();
21 private:
22 // Reference to the orb.
23 CORBA::ORB_var orb_;
25 //---------------------------------------------------------------------------
26 #endif