GSI Object Oriented Online Offline (Go4)
GO4-5.3.2
Main Page
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Go4TaskHandler
TGo4TaskHandlerException.cxx
Go to the documentation of this file.
1
// $Id: TGo4TaskHandlerException.cxx 478 2009-10-29 12:26:09Z linev $
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
#include "
TGo4TaskHandlerException.h
"
15
16
#include "
TGo4Log.h
"
17
#include "
TGo4TaskHandler.h
"
18
#include "
TGo4TaskHandlerRunnable.h
"
19
20
TGo4TaskHandlerException::TGo4TaskHandlerException
(
TGo4TaskHandler
* taskhandler)
21
{
22
fxDescription
=
"!!!-- Go4 TaskHandler Exception --!!!"
;
23
fxCaller
=0;
24
fxTaskHandler
=taskhandler;
25
if
(
fxTaskHandler
)
26
{
27
// o.k. we have a given taskhandler
28
fxThreadManager
=
fxTaskHandler
->
GetThreadManager
();
29
}
30
else
31
{
32
// wrong call with zero pointer: dummy init of manager, will be checked in Handle()
33
fxThreadManager
=0;
34
}
35
}
36
37
TGo4TaskHandlerException::TGo4TaskHandlerException
(
TGo4TaskHandlerRunnable
* run)
38
{
39
fxDescription
=
"!!!-- Go4 TaskHandler Exception --!!!"
;
40
fxCaller
=run;
41
if
(
fxCaller
)
42
{
43
fxTaskHandler
=
fxCaller
->
GetTaskHandler
();
44
}
45
else
46
{
47
fxTaskHandler
=0;
48
}
49
50
if
(
fxTaskHandler
)
51
{
52
// o.k. we have a given taskhandler
53
fxThreadManager
=
fxTaskHandler
->
GetThreadManager
();
54
}
55
else
56
{
57
// wrong call with zero pointer: dummy init of manager, will be checked in Handle()
58
fxThreadManager
=0;
59
}
60
}
61
62
TGo4TaskHandlerException::~TGo4TaskHandlerException
()
63
{
64
}
TGo4TaskHandler.h
TGo4TaskHandlerException::fxThreadManager
TGo4ThreadManager * fxThreadManager
Definition:
TGo4TaskHandlerException.h:37
TGo4TaskHandlerRunnable
Definition:
TGo4TaskHandlerRunnable.h:31
TGo4Log.h
TGo4TaskHandler::GetThreadManager
TGo4ThreadManager * GetThreadManager() const
Definition:
TGo4TaskHandler.h:88
TGo4TaskHandlerRunnable.h
TGo4TaskHandlerException.h
TGo4TaskHandler
Definition:
TGo4TaskHandler.h:42
TGo4TaskHandlerRunnable::GetTaskHandler
TGo4TaskHandler * GetTaskHandler()
Definition:
TGo4TaskHandlerRunnable.cxx:36
TGo4TaskHandlerException::fxCaller
TGo4TaskHandlerRunnable * fxCaller
Definition:
TGo4TaskHandlerException.h:39
TGo4TaskHandlerException::fxTaskHandler
TGo4TaskHandler * fxTaskHandler
Definition:
TGo4TaskHandlerException.h:35
TGo4Exception::fxDescription
TString fxDescription
Definition:
TGo4Exception.h:38
TGo4TaskHandlerException::~TGo4TaskHandlerException
virtual ~TGo4TaskHandlerException()
Definition:
TGo4TaskHandlerException.cxx:62
TGo4TaskHandlerException::TGo4TaskHandlerException
TGo4TaskHandlerException()
Generated on Fri Oct 26 2018 08:34:53 for GSI Object Oriented Online Offline (Go4) by
1.8.8