ROOT  6.06/09
Reference Guide
TConditionImp.h
Go to the documentation of this file.
1 // @(#)root/thread:$Id$
2 // Author: Fons Rademakers 01/07/97
3 
4 /*************************************************************************
5  * Copyright (C) 1995-2000, Rene Brun and Fons Rademakers. *
6  * All rights reserved. *
7  * *
8  * For the licensing terms see $ROOTSYS/LICENSE. *
9  * For the list of contributors see $ROOTSYS/README/CREDITS. *
10  *************************************************************************/
11 
12 #ifndef ROOT_TConditionImp
13 #define ROOT_TConditionImp
14 
15 
16 //////////////////////////////////////////////////////////////////////////
17 // //
18 // TConditionImp //
19 // //
20 // This class provides an abstract interface to the OS dependent //
21 // condition classes (TPosixCondition and TWin32Condition). //
22 // //
23 //////////////////////////////////////////////////////////////////////////
24 
25 #ifndef ROOT_Rtypes
26 #include "Rtypes.h"
27 #endif
28 #ifndef ROOT_TObject
29 #include "TObject.h"
30 #endif
31 
32 
33 class TConditionImp : public TObject {
34 
35 public:
37  virtual ~TConditionImp() { }
38 
39  virtual Int_t Wait() = 0;
40  virtual Int_t TimedWait(ULong_t secs, ULong_t nanoSecs = 0) = 0;
41  virtual Int_t Signal() = 0;
42  virtual Int_t Broadcast() = 0;
43 
44  ClassDef(TConditionImp,0) // Condition variable implementation ABC
45 };
46 
47 #endif
virtual Int_t Wait()=0
int Int_t
Definition: RtypesCore.h:41
#define ClassDef(name, id)
Definition: Rtypes.h:254
virtual Int_t TimedWait(ULong_t secs, ULong_t nanoSecs=0)=0
unsigned long ULong_t
Definition: RtypesCore.h:51
Mother of all ROOT objects.
Definition: TObject.h:58
virtual Int_t Signal()=0
virtual Int_t Broadcast()=0
virtual ~TConditionImp()
Definition: TConditionImp.h:37