MNE-CPP  beta 1.0
sensorgroup.h
Go to the documentation of this file.
1 //=============================================================================================================
36 #ifndef SENSORGROUP_H
37 #define SENSORGROUP_H
38 
39 //*************************************************************************************************************
40 //=============================================================================================================
41 // QT INCLUDES
42 //=============================================================================================================
43 
44 #include <QtXml/QDomElement>
45 #include <QStringList>
46 
47 
48 //*************************************************************************************************************
49 //=============================================================================================================
50 // DEFINE NAMESPACE XDISPLIB
51 //=============================================================================================================
52 
53 namespace XDISPLIB
54 {
55 
56 
57 //=============================================================================================================
64 {
65 public:
66  //=========================================================================================================
70  SensorGroup();
71 
72  //=========================================================================================================
80  static SensorGroup parseSensorGroup(const QDomElement &sensorGroupElement);
81 
82  //=========================================================================================================
88  inline const QString& getGroupName() const;
89 
90  //=========================================================================================================
96  inline const QStringList& getChannelNames() const;
97 
98 private:
99  QString m_sGroupName;
100  QStringList m_qListChannels;
101 };
102 
103 
104 //*************************************************************************************************************
105 //=============================================================================================================
106 // INLINE DEFINITIONS
107 //=============================================================================================================
108 
109 inline const QString& SensorGroup::getGroupName() const
110 {
111  return m_sGroupName;
112 }
113 
114 
115 //*************************************************************************************************************
116 
117 inline const QStringList& SensorGroup::getChannelNames() const
118 {
119  return m_qListChannels;
120 }
121 
122 } // NAMESPACE
123 
124 #endif // SENSORGROUP_H
const QString & getGroupName() const
Definition: sensorgroup.h:109
const QStringList & getChannelNames() const
Definition: sensorgroup.h:117
static SensorGroup parseSensorGroup(const QDomElement &sensorGroupElement)
Definition: sensorgroup.cpp:72
The SensorGroup class represents a sensor selection group.
Definition: sensorgroup.h:63