~ubuntu-branches/ubuntu/breezy/ace/breezy

« back to all changes in this revision

Viewing changes to TAO/examples/Borland/ORBThread.h

  • Committer: Bazaar Package Importer
  • Author(s): Adam Conrad, Benjamin Montgomery, Adam Conrad
  • Date: 2005-09-18 22:51:38 UTC
  • mfrom: (1.2.1 upstream) (2.1.1 sarge) (0.1.2 woody)
  • Revision ID: james.westby@ubuntu.com-20050918225138-seav22q6fyylb536
Tags: 5.4.7-3ubuntu1
[ Benjamin Montgomery ]
* Added a patch for amd64 and powerpc that disables the compiler
  option -fvisibility-inlines-hidden

[ Adam Conrad ]
* Added DPATCH_OPTION_CPP=1 to debian/patches/00options to make
  Benjamin's above changes work correctly with dpatch.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
// ORBThread.h,v 1.1 2000/12/03 00:21:56 doccvs Exp
2
 
//---------------------------------------------------------------------------
3
 
#ifndef ORBThreadH
4
 
#define ORBThreadH
5
 
//---------------------------------------------------------------------------
6
 
#include <Classes.hpp>
7
 
#include <tao/corba.h>
8
 
//---------------------------------------------------------------------------
9
 
class PACKAGE TORBThread : public TThread
10
 
{
11
 
  // Class for running the orb in a separate thread.
12
 
public: 
13
 
  // = Initialization and termination methods.
14
 
  __fastcall TORBThread (CORBA::ORB_ptr orb);
15
 
  // Constructor.
16
 
 
17
 
  __fastcall ~TORBThread ();
18
 
  // Destructor.
19
 
 
20
 
protected:
21
 
  void __fastcall Execute ();
22
 
  // Perform the thread's work.
23
 
 
24
 
private:
25
 
  CORBA::ORB_var orb_;
26
 
  // Reference to the orb.
27
 
};
28
 
//---------------------------------------------------------------------------
29
 
#endif