GSI Object Oriented Online Offline (Go4)  GO4-6.1.4
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
TGo4CommandProtoList.h
Go to the documentation of this file.
1 // $Id: TGo4CommandProtoList.h 2627 2019-10-01 08:02:45Z 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 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 TGO4COMMANDPROTOLIST_H
15 #define TGO4COMMANDPROTOLIST_H
16 
21 #include "TNamed.h"
22 
23 class TMutex;
24 class TObjArray;
25 
26 class TGo4Command;
27 class TGo4RemoteCommand;
28 
29 class TGo4CommandProtoList : public TNamed {
30  public:
31 
32  TGo4CommandProtoList(const char* name);
33 
34  virtual ~TGo4CommandProtoList();
35 
37  virtual void ShowCommands();
38 
40  TGo4Command* MakeCommand(const char* name);
41 
44 
46  void RemoveCommand(const char* name);
47 
49  void AddCommand(TGo4Command* com);
50 
53 
54  private:
56 
59  TObjArray * fxCommandList;
60 
63  TMutex * fxListMutex;
64 
65  ClassDef(TGo4CommandProtoList,1)
66 };
67 
68 #endif //TGO4COMMANDPROTOLIST_H
void RemoveCommand(const char *name)
TGo4CommandProtoList & operator+=(const TGo4CommandProtoList &two)
void AddCommand(TGo4Command *com)
TGo4Command * MakeCommand(const char *name)