00001 //--------------------------------------------------------------- 00002 // Go4 Release Package v2.10-5 (build 21005) 00003 // 03-Nov-2005 00004 //--------------------------------------------------------------- 00005 // The GSI Online Offline Object Oriented (Go4) Project 00006 // Experiment Data Processing at DVEE department, GSI 00007 //--------------------------------------------------------------- 00008 // 00009 //Copyright (C) 2000- Gesellschaft f. Schwerionenforschung, GSI 00010 // Planckstr. 1, 64291 Darmstadt, Germany 00011 //Contact: http://go4.gsi.de 00012 //---------------------------------------------------------------- 00013 //This software can be used under the license agreements as stated 00014 //in Go4License.txt file which is part of the distribution. 00015 //---------------------------------------------------------------- 00016 00021 #ifndef TGO4COMMANDPROTOLIST_H 00022 #define TGO4COMMANDPROTOLIST_H 00023 00024 #include "TNamed.h" 00025 #include "TMutex.h" 00026 #include "TObjArray.h" 00027 00028 class TGo4Command; 00029 00030 class TGo4CommandProtoList : public TNamed { 00031 public: 00032 00033 TGo4CommandProtoList(const char* name); 00034 00035 virtual ~TGo4CommandProtoList(); 00036 00040 virtual void ShowCommands(); 00041 00045 TGo4Command* MakeCommand(const char* name); 00046 00050 void RemoveCommand(const char* name); 00051 00055 void AddCommand(TGo4Command* com); 00056 00060 TGo4CommandProtoList& operator+=(const TGo4CommandProtoList& two); 00061 00062 private: 00063 TGo4CommandProtoList(); 00064 00067 TObjArray * fxCommandList; 00068 00071 TMutex * fxListMutex; 00072 00075 TIterator * fxIterator; 00076 00077 ClassDef(TGo4CommandProtoList,1) 00078 }; 00079 00080 #endif //TGO4COMMANDPROTOLIST_H 00081 00082 00083 //----------------------------END OF GO4 SOURCE FILE ---------------------