Diana Software
QSequenceConfig.hh
Go to the documentation of this file.
1 #ifndef _Q_SEQUENCECONFIG_HH_
2 #define _Q_SEQUENCECONFIG_HH_
3 
13 #include "QObject.hh"
14 #include "QModuleConfig.hh"
15 #include <vector>
16 
17 class QSequenceConfig : public Diana::QObject {
18 
19  public:
21  void Clear()
22  {
23  fModules.clear();
24  fName.clear();
25  fFilename.clear();
26  }
28  QError GetModuleByLabel(const std::string& label, QModuleConfig& mod) const;
29 
31  std::vector<QModuleConfig*> fModules;
32 
34  std::string fName;
35 
37  std::string fFilename;
38 
40  void Dump(std::ostream& o) const;
41  private:
42 
44 
45 };
46 
47 #endif
error class with error type and description
Definition: QError.hh:115
QObject to store a QBaseModule configuration.
QObject storing a QSequence configuration, a set of QModuleConfigs.
void Clear()
clear members
std::vector< QModuleConfig * > fModules
ordered modules in this sequence
std::string fFilename
file name of this sequence
QObjectDef(QSequenceConfig, 2)
std::string fName
name of this sequence
QError GetModuleByLabel(const std::string &label, QModuleConfig &mod) const
get QModuleConfig matching label
void Dump(std::ostream &o) const
dump on stream