Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members

TGo4CommandProtoList.h

Go to the documentation of this file.
00001 //-------------------------------------------------------------
00002 //        Go4 Release Package v3.04-01 (build 30401)
00003 //                      28-November-2008
00004 //---------------------------------------------------------------
00005 //   The GSI Online Offline Object Oriented (Go4) Project
00006 //   Experiment Data Processing at EE 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 #ifndef TGO4COMMANDPROTOLIST_H
00017 #define TGO4COMMANDPROTOLIST_H
00018 
00023 #include "TNamed.h"
00024 
00025 class TMutex;
00026 class TObjArray;
00027 
00028 class TGo4Command;
00029 class TGo4RemoteCommand;
00030 
00031 class TGo4CommandProtoList : public TNamed {
00032    public:
00033 
00034     TGo4CommandProtoList(const char* name);
00035 
00036     virtual ~TGo4CommandProtoList();
00037 
00039     virtual void ShowCommands();
00040 
00042     TGo4Command* MakeCommand(const char* name);
00043 
00045     TGo4Command* MakeCommand(TGo4RemoteCommand* remcon);
00046 
00048     void RemoveCommand(const char* name);
00049 
00051     void AddCommand(TGo4Command* com);
00052 
00054     TGo4CommandProtoList& operator+=(const TGo4CommandProtoList& two);
00055 
00056   private:
00057     TGo4CommandProtoList();
00058 
00061     TObjArray * fxCommandList;  
00062 
00065     TMutex * fxListMutex; 
00066 
00067    ClassDef(TGo4CommandProtoList,1)
00068 };
00069 
00070 #endif //TGO4COMMANDPROTOLIST_H
00071 
00072 //----------------------------END OF GO4 SOURCE FILE ---------------------

Generated on Fri Nov 28 12:59:05 2008 for Go4-v3.04-1 by  doxygen 1.4.2