summaryrefslogtreecommitdiff
path: root/TAO/examples/Borland/ORBThread.h
blob: 293423c7004628c0d82ba491a2f0f128b9ceee71 (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
//---------------------------------------------------------------------------
#ifndef ORBThreadH
#define ORBThreadH
//---------------------------------------------------------------------------
#include "tao/ORB.h"
//---------------------------------------------------------------------------
class PACKAGE TORBThread : public TThread
{
  // Class for running the orb in a separate thread.
public:
  // Constructor.
  __fastcall TORBThread (CORBA::ORB_ptr orb);

  // Destructor.
  __fastcall ~TORBThread ();

protected:
  void __fastcall Execute ();
  // Perform the thread's work.

private:
  CORBA::ORB_var orb_;
  // Reference to the orb.
};
//---------------------------------------------------------------------------
#endif