// $Id$ //----------------------------------------------------------------------- // The GSI Online Offline Object Oriented (Go4) Project // Experiment Data Processing at EE department, GSI //----------------------------------------------------------------------- // Copyright (C) 2000- GSI Helmholtzzentrum für Schwerionenforschung GmbH // Planckstr. 1, 64291 Darmstadt, Germany // Contact: http://go4.gsi.de //----------------------------------------------------------------------- // This software can be used under the license agreements as stated // in Go4License.txt file which is part of the distribution. //----------------------------------------------------------------------- #ifndef TGO4COMSETPROTECTIONS_H #define TGO4COMSETPROTECTIONS_H #include "TGo4AnalysisObjectCommand.h" #include "TString.h" /** * Change protections against clearing (reset) or deletion, etc. * for target objects * @author J. Adamczewski * @since 03-Dec-2004 */ class TGo4ComSetProtections : public TGo4AnalysisObjectCommand { public: TGo4ComSetProtections(); TGo4ComSetProtections(const char* obname, const char* flags); virtual ~TGo4ComSetProtections(); Int_t ExeCom(); /** Set internals of this command from specification of external * remote command (command container). Must be overloaded * for each specific command! */ virtual void Set(TGo4RemoteCommand* remcon); void SetFlags(const char* flags){fxFlags=flags;} private: TString fxFlags; ClassDef(TGo4ComSetProtections,1) }; #endif //TGO4COMSETPROTECTIONS_H