diff options
Diffstat (limited to 'trunk/TAO/examples/Borland/ORBThread.h')
-rw-r--r-- | trunk/TAO/examples/Borland/ORBThread.h | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/trunk/TAO/examples/Borland/ORBThread.h b/trunk/TAO/examples/Borland/ORBThread.h new file mode 100644 index 00000000000..fb680fcc8fe --- /dev/null +++ b/trunk/TAO/examples/Borland/ORBThread.h @@ -0,0 +1,28 @@ +// $Id$ +//--------------------------------------------------------------------------- +#ifndef ORBThreadH +#define ORBThreadH +//--------------------------------------------------------------------------- +#include "tao/ORB.h" +//--------------------------------------------------------------------------- +class PACKAGE TORBThread : public TThread +{ + // Class for running the orb in a separate thread. +public: + // = Initialization and termination methods. + __fastcall TORBThread (CORBA::ORB_ptr orb); + // Constructor. + + __fastcall ~TORBThread (); + // Destructor. + +protected: + void __fastcall Execute (); + // Perform the thread's work. + +private: + CORBA::ORB_var orb_; + // Reference to the orb. +}; +//--------------------------------------------------------------------------- +#endif |