summaryrefslogtreecommitdiff
path: root/TAO/examples/Borland/ORBThread.h
blob: fb680fcc8fe615fd29f17cb7b27e259e1062dc29 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
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