GSI Object Oriented Online Offline (Go4)  GO4-5.3.2
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
TGo4LockGuard.h
Go to the documentation of this file.
1 // $Id: TGo4LockGuard.h 709 2011-01-31 11:54:30Z adamczew $
2 //-----------------------------------------------------------------------
3 // The GSI Online Offline Object Oriented (Go4) Project
4 // Experiment Data Processing at EE department, GSI
5 //-----------------------------------------------------------------------
6 // Copyright (C) 2000- GSI Helmholtzzentrum für Schwerionenforschung GmbH
7 // Planckstr. 1, 64291 Darmstadt, Germany
8 // Contact: http://go4.gsi.de
9 //-----------------------------------------------------------------------
10 // This software can be used under the license agreements as stated
11 // in Go4License.txt file which is part of the distribution.
12 //-----------------------------------------------------------------------
13 
14 #ifndef LOCKGUARD_H
15 #define LOCKGUARD_H
16 
17 // dummy definition for lockguard for designer plugin
18 
19 //typedef int TGo4LockGuard;
20 // this one will give "unused" warnings, better use:
21 class TGo4LockGuard
22 {
23 public:
25  TGo4LockGuard(int i, bool force=false): dummy(i){};
26 
27 private:
28  int dummy;
29 
30 };
31 
32 #endif
TGo4LockGuard(int i, bool force=false)
Definition: TGo4LockGuard.h:25