GSI Object Oriented Online Offline (Go4)
GO4-6.4.0
Loading...
Searching...
No Matches
Go4CommandsTaskHandler
TGo4ComExecLine.h
Go to the documentation of this file.
1
// $Id$
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 fuer 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 TGO4COMEXECLINE_H
15
#define TGO4COMEXECLINE_H
16
17
#include "
TGo4TaskHandlerCommand.h
"
18
#include "TString.h"
19
23
24
class
TGo4ComExecLine
:
public
TGo4TaskHandlerCommand
{
25
public
:
26
27
TGo4ComExecLine
();
28
29
TGo4ComExecLine
(
const
char
*macro);
30
31
Int_t
ExeCom
()
override
;
32
34
const
char
*
GetLine
()
const
{
return
fxLine
.Data(); }
35
37
void
SetLine
(
const
char
*name) {
fxLine
= name; }
38
private
:
39
41
TString
fxLine
;
42
43
ClassDefOverride(
TGo4ComExecLine
,1)
44
};
45
46
#endif
//TGO4COMSTART_H
TGo4TaskHandlerCommand.h
TGo4ComExecLine::fxLine
TString fxLine
Contains text of macro.
Definition
TGo4ComExecLine.h:41
TGo4ComExecLine::TGo4ComExecLine
TGo4ComExecLine()
Definition
TGo4ComExecLine.cxx:19
TGo4ComExecLine::ExeCom
Int_t ExeCom() override
Do the command action.
Definition
TGo4ComExecLine.cxx:34
TGo4ComExecLine::SetLine
void SetLine(const char *name)
set the object name under command.
Definition
TGo4ComExecLine.h:37
TGo4ComExecLine::GetLine
const char * GetLine() const
access to the passwd.
Definition
TGo4ComExecLine.h:34
TGo4TaskHandlerCommand::TGo4TaskHandlerCommand
TGo4TaskHandlerCommand()
Definition
TGo4TaskHandlerCommand.cxx:28
Generated by
1.13.2