GSI Object Oriented Online Offline (Go4) GO4-6.4.0
Loading...
Searching...
No Matches
TGo4ComSetPrintEvent.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 TGO4COMSETPRINTEVENT_H
15#define TGO4COMSETPRINTEVENT_H
16
18#include "TGo4MbsSource.h"
19
28 public:
29
31
32 TGo4ComSetPrintEvent(const char *obname);
33
34 Int_t ExeCom() override;
38 void Set(TGo4RemoteCommand *remcon) override;
39
40 void SetEventNum(Int_t i) { fxPrintPar.fiNum = i; }
41 void SetSubId(Int_t i) { fxPrintPar.fiSid = i; }
42 void SetLong(Bool_t on) { fxPrintPar.fiLong = on; }
43 void SetHex(Bool_t on) { fxPrintPar.fiHex = on; }
44 void SetData(Bool_t on) { fxPrintPar.fiData = on; }
45
46 private:
47
49
50 ClassDefOverride(TGo4ComSetPrintEvent,1)
51};
52
53#endif //TGO4COMSETPRINTEVENT_H
Int_t ExeCom() override
Do the command action.
void Set(TGo4RemoteCommand *remcon) override
Set internals of this command from specification of external remote command (command container).
TGo4MbsSourcePrintPar fxPrintPar
data structure to keep parameters for f_evt_type (SetPrintEvent)
This command is a container for commands to be send from master to slave via inter-process transport.