00001 00009 /*************************************************************************** 00010 * * 00011 * This program is free software; you can redistribute it and/or modify * 00012 * it under the terms of the GNU General Public License as published by * 00013 * the Free Software Foundation; either version 2 of the License, or * 00014 * (at your option) any later version. * 00015 * * 00016 ***************************************************************************/ 00017 00018 #ifndef TDSPGROUPCONTROL_H 00019 #define TDSPGROUPCONTROL_H 00020 00021 #include <TQQObjectControl.h> 00022 #include <TDSPGroup.h> 00023 #include <TDSPOperator.h> 00024 #include <TDSPOperatorControl.h> 00029 class ControlOperatorConnection : public TObject { 00030 00031 public: 00032 ControlOperatorConnection(TDSPOperator *o = NULL){ Operator = o; Control = NULL; }; 00033 ~ControlOperatorConnection() {}; 00034 TDSPOperator *Operator; 00035 TDSPOperatorControl *Control; 00036 }; 00037 00038 00039 00040 00041 class TDSPGroupControl : public TQQObjectControl { 00042 00043 // The List of embedded Controls to each Operator in the group 00044 00045 TList *fOperatorControls; 00046 00047 public: 00048 TDSPGroupControl(); 00049 ~TDSPGroupControl(); 00050 00051 TList *GetListOfControls() { return fOperatorControls;}; 00052 void ExploreGroup(); 00053 00054 virtual void SetObject(TDSPOperator *o) { 00055 TQQObjectControl::SetObject(o); 00056 ExploreGroup(); 00057 }; 00058 00059 virtual void PrintComponents(); 00060 virtual void Print(); 00061 00062 ClassDef(TDSPGroupControl,1) 00063 00064 }; 00065 00066 #endif
1.3.2