CMS 3D CMS Logo

FWJobMetadataManager.h
Go to the documentation of this file.
1 #ifndef Fireworks_Core_FWJobMetadataManager
2 #define Fireworks_Core_FWJobMetadataManager
3 
5 
6 #include "sigc++/signal.h"
7 
8 #include <string>
9 #include <vector>
10 
13 
19 public:
20  struct Data {
26  };
27 
29  virtual ~FWJobMetadataManager();
30 
31  std::vector<Data> &usableData() { return m_metadata; }
32  std::vector<std::string> &processNamesInJob() { return m_processNamesInJob; }
33 
44  void update(FWJobMetadataUpdateRequest *request);
45 
49  void initReps(const FWTypeToRepresentations &iTypeAndReps);
50 
51  // needed by FWDetailViewManager
52  virtual bool hasModuleLabel(std::string &moduleLabel) = 0;
53 
54  sigc::signal<void> metadataChanged_;
55 
56 protected:
62  virtual bool doUpdate(FWJobMetadataUpdateRequest *) = 0;
63  std::vector<Data> m_metadata;
64  std::vector<std::string> m_processNamesInJob;
66 };
67 
68 #endif
FWJobMetadataManager::processNamesInJob
std::vector< std::string > & processNamesInJob()
Definition: FWJobMetadataManager.h:32
FWJobMetadataManager::initReps
void initReps(const FWTypeToRepresentations &iTypeAndReps)
Definition: FWJobMetadataManager.cc:25
FWJobMetadataManager::m_processNamesInJob
std::vector< std::string > m_processNamesInJob
Definition: FWJobMetadataManager.h:64
FWJobMetadataManager
Definition: FWJobMetadataManager.h:18
FWJobMetadataUpdateRequest
Definition: FWJobMetadataUpdateRequest.h:4
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
FWJobMetadataManager::Data::moduleLabel_
std::string moduleLabel_
Definition: FWJobMetadataManager.h:23
FWJobMetadataManager::metadataChanged_
sigc::signal< void > metadataChanged_
Definition: FWJobMetadataManager.h:54
FWJobMetadataManager::~FWJobMetadataManager
virtual ~FWJobMetadataManager()
Definition: FWJobMetadataManager.cc:7
FWJobMetadataManager::m_typeAndReps
FWTypeToRepresentations * m_typeAndReps
Definition: FWJobMetadataManager.h:65
FWJobMetadataManager::Data::processName_
std::string processName_
Definition: FWJobMetadataManager.h:25
FWJobMetadataManager::doUpdate
virtual bool doUpdate(FWJobMetadataUpdateRequest *)=0
FWJobMetadataManager::hasModuleLabel
virtual bool hasModuleLabel(std::string &moduleLabel)=0
FWJobMetadataManager::Data
Definition: FWJobMetadataManager.h:20
FWTypeToRepresentations
Definition: FWTypeToRepresentations.h:33
FWJobMetadataManager::Data::purpose_
std::string purpose_
Definition: FWJobMetadataManager.h:21
FWTypeToRepresentations.h
FWJobMetadataManager::usableData
std::vector< Data > & usableData()
Definition: FWJobMetadataManager.h:31
FWJobMetadataManager::m_metadata
std::vector< Data > m_metadata
Definition: FWJobMetadataManager.h:63
HerwigMaxPtPartonFilter_cfi.moduleLabel
moduleLabel
Definition: HerwigMaxPtPartonFilter_cfi.py:4
FWJobMetadataManager::Data::type_
std::string type_
Definition: FWJobMetadataManager.h:22
FWJobMetadataManager::Data::productInstanceLabel_
std::string productInstanceLabel_
Definition: FWJobMetadataManager.h:24
FWJobMetadataManager::FWJobMetadataManager
FWJobMetadataManager()
Definition: FWJobMetadataManager.cc:5
FWJobMetadataManager::update
void update(FWJobMetadataUpdateRequest *request)
Definition: FWJobMetadataManager.cc:19