test
Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
Fireworks
Core
interface
FWJobMetadataManager.h
Go to the documentation of this file.
1
#ifndef Fireworks_Core_FWJobMetadataManager
2
#define Fireworks_Core_FWJobMetadataManager
3
4
#include "
Fireworks/Core/interface/FWTypeToRepresentations.h
"
5
6
#include "sigc++/signal.h"
7
8
#include <string>
9
#include <vector>
10
11
class
FWJobMetadataUpdateRequest
;
12
class
FWTypeToRepresentations
;
13
18
class
FWJobMetadataManager
19
{
20
public
:
21
struct
Data
22
{
23
std::string
purpose_
;
24
std::string
type_
;
25
std::string
moduleLabel_
;
26
std::string
productInstanceLabel_
;
27
std::string
processName_
;
28
};
29
30
FWJobMetadataManager
();
31
virtual
~FWJobMetadataManager
();
32
33
std::vector<Data> &
usableData
() {
return
m_metadata
; }
34
std::vector<std::string> &
processNamesInJob
() {
return
m_processNamesInJob
; }
35
46
void
update
(
FWJobMetadataUpdateRequest
*request);
47
51
void
initReps
(
const
FWTypeToRepresentations
& iTypeAndReps);
52
53
// needed by FWDetailViewManager
54
virtual
bool
hasModuleLabel
(
std::string
& moduleLabel) = 0;
55
56
57
sigc::signal<void>
metadataChanged_
;
58
protected
:
64
virtual
bool
doUpdate
(
FWJobMetadataUpdateRequest
*) = 0;
65
std::vector<Data>
m_metadata
;
66
std::vector<std::string>
m_processNamesInJob
;
67
FWTypeToRepresentations
*
m_typeAndReps
;
68
};
69
70
#endif
FWJobMetadataUpdateRequest
Definition:
FWJobMetadataUpdateRequest.h:4
FWJobMetadataManager::hasModuleLabel
virtual bool hasModuleLabel(std::string &moduleLabel)=0
FWTypeToRepresentations
Definition:
FWTypeToRepresentations.h:33
FWJobMetadataManager::metadataChanged_
sigc::signal< void > metadataChanged_
Definition:
FWJobMetadataManager.h:57
FWJobMetadataManager::processNamesInJob
std::vector< std::string > & processNamesInJob()
Definition:
FWJobMetadataManager.h:34
FWJobMetadataManager::initReps
void initReps(const FWTypeToRepresentations &iTypeAndReps)
Definition:
FWJobMetadataManager.cc:31
AlCaHLTBitMon_QueryRunRegistry.string
string string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:255
FWJobMetadataManager::Data::moduleLabel_
std::string moduleLabel_
Definition:
FWJobMetadataManager.h:25
FWJobMetadataManager::usableData
std::vector< Data > & usableData()
Definition:
FWJobMetadataManager.h:33
FWJobMetadataManager::Data
Definition:
FWJobMetadataManager.h:21
FWJobMetadataManager::doUpdate
virtual bool doUpdate(FWJobMetadataUpdateRequest *)=0
FWJobMetadataManager::m_typeAndReps
FWTypeToRepresentations * m_typeAndReps
Definition:
FWJobMetadataManager.h:67
FWJobMetadataManager::Data::type_
std::string type_
Definition:
FWJobMetadataManager.h:24
FWJobMetadataManager
Definition:
FWJobMetadataManager.h:18
FWJobMetadataManager::Data::purpose_
std::string purpose_
Definition:
FWJobMetadataManager.h:23
FWJobMetadataManager::Data::processName_
std::string processName_
Definition:
FWJobMetadataManager.h:27
FWJobMetadataManager::m_processNamesInJob
std::vector< std::string > m_processNamesInJob
Definition:
FWJobMetadataManager.h:66
FWTypeToRepresentations.h
FWJobMetadataManager::FWJobMetadataManager
FWJobMetadataManager()
Definition:
FWJobMetadataManager.cc:5
FWJobMetadataManager::update
void update(FWJobMetadataUpdateRequest *request)
Definition:
FWJobMetadataManager.cc:23
FWJobMetadataManager::~FWJobMetadataManager
virtual ~FWJobMetadataManager()
Definition:
FWJobMetadataManager.cc:9
FWJobMetadataManager::m_metadata
std::vector< Data > m_metadata
Definition:
FWJobMetadataManager.h:65
FWJobMetadataManager::Data::productInstanceLabel_
std::string productInstanceLabel_
Definition:
FWJobMetadataManager.h:26
Generated for CMSSW Reference Manual by
1.8.5