Merge pull request #1844 from jrw972/monterey
[ACE_TAO.git] / TAO / examples / Borland / ORBThread.h
blob293423c7004628c0d82ba491a2f0f128b9ceee71
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 void __fastcall Execute ();
19 // Perform the thread's work.
21 private:
22 CORBA::ORB_var orb_;
23 // Reference to the orb.
25 //---------------------------------------------------------------------------
26 #endif