QIGUIChannelSet.hh
00001 #ifndef _QIGUI_CHANNELSET__H_
00002 #define _QIGUI_CHANNELSET__H_
00003
00004 #include <set>
00005 #include <string>
00006
00007
00008
00009 class QIGUIChannelSet
00010 {
00011 public:
00012 QIGUIChannelSet ();
00013 QIGUIChannelSet (std::string name);
00014 QIGUIChannelSet (int index, std::string name);
00015 virtual ~QIGUIChannelSet();
00016
00017 void SetChannels(std::set<int>& setOfChannels) {fChannels = setOfChannels;}
00018 std::set<int>& GetChannels() {return fChannels;}
00019 void AddChannel(int channel);
00020 void SetName(std::string name) {fName = name;}
00021 int GetIndex() {return fIndex;}
00022 std::string GetName () {return fName;}
00023 std::string GetTitle() ;
00024
00025
00026
00027 private:
00028 std::string fName;
00029 int fIndex;
00030
00031 std::set<int> fChannels;
00032
00033
00034 };
00035
00036 #endif