blob: b8174e44a48bc281a7927922f1d9f91d22605992 (
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
|
//---------------------------------------------------------------------------
#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
|