ROOT
v6-32
Reference Guide
Loading...
Searching...
No Matches
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
// TConditionImp //
18
// //
19
// This class provides an abstract interface to the OS dependent //
20
// condition classes (TPosixCondition and TWin32Condition). //
21
// //
22
//////////////////////////////////////////////////////////////////////////
23
24
#include "
TObject.h
"
25
26
class
TConditionImp
:
public
TObject
{
27
28
public
:
29
TConditionImp
() { }
30
virtual
~TConditionImp
() { }
31
32
virtual
Int_t
Wait
() = 0;
33
virtual
Int_t
TimedWait
(
ULong_t
secs,
ULong_t
nanoSecs = 0) = 0;
34
virtual
Int_t
Signal
() = 0;
35
virtual
Int_t
Broadcast
() = 0;
36
37
ClassDefOverride
(
TConditionImp
,0)
// Condition variable implementation ABC
38
};
39
40
#endif
ULong_t
unsigned long ULong_t
Definition
RtypesCore.h:55
ClassDefOverride
#define ClassDefOverride(name, id)
Definition
Rtypes.h:341
TObject.h
TConditionImp
Definition
TConditionImp.h:26
TConditionImp::Wait
virtual Int_t Wait()=0
TConditionImp::TimedWait
virtual Int_t TimedWait(ULong_t secs, ULong_t nanoSecs=0)=0
TConditionImp::Signal
virtual Int_t Signal()=0
TConditionImp::~TConditionImp
virtual ~TConditionImp()
Definition
TConditionImp.h:30
TConditionImp::Broadcast
virtual Int_t Broadcast()=0
TConditionImp::TConditionImp
TConditionImp()
Definition
TConditionImp.h:29
TObject
Mother of all ROOT objects.
Definition
TObject.h:41
int
core
thread
inc
TConditionImp.h
ROOT v6-32 - Reference Guide Generated on Fri Nov 1 2024 15:07:06 (GVA Time) using Doxygen 1.9.8