Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Groups
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
public
:
20
struct
Data
{
21
std::string
purpose_
;
22
std::string
type_
;
23
std::string
moduleLabel_
;
24
std::string
productInstanceLabel_
;
25
std::string
processName_
;
26
};
27
28
FWJobMetadataManager
();
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
;
65
FWTypeToRepresentations
*
m_typeAndReps
;
66
};
67
68
#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:54
FWJobMetadataManager::processNamesInJob
std::vector< std::string > & processNamesInJob()
Definition:
FWJobMetadataManager.h:32
FWJobMetadataManager::initReps
void initReps(const FWTypeToRepresentations &iTypeAndReps)
Definition:
FWJobMetadataManager.cc:25
AlCaHLTBitMon_QueryRunRegistry.string
string string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:256
FWJobMetadataManager::Data::moduleLabel_
std::string moduleLabel_
Definition:
FWJobMetadataManager.h:23
FWJobMetadataManager::usableData
std::vector< Data > & usableData()
Definition:
FWJobMetadataManager.h:31
FWJobMetadataManager::Data
Definition:
FWJobMetadataManager.h:20
FWJobMetadataManager::doUpdate
virtual bool doUpdate(FWJobMetadataUpdateRequest *)=0
FWJobMetadataManager::m_typeAndReps
FWTypeToRepresentations * m_typeAndReps
Definition:
FWJobMetadataManager.h:65
FWJobMetadataManager::Data::type_
std::string type_
Definition:
FWJobMetadataManager.h:22
FWJobMetadataManager
Definition:
FWJobMetadataManager.h:18
FWJobMetadataManager::Data::purpose_
std::string purpose_
Definition:
FWJobMetadataManager.h:21
FWJobMetadataManager::Data::processName_
std::string processName_
Definition:
FWJobMetadataManager.h:25
FWJobMetadataManager::m_processNamesInJob
std::vector< std::string > m_processNamesInJob
Definition:
FWJobMetadataManager.h:64
FWTypeToRepresentations.h
FWJobMetadataManager::FWJobMetadataManager
FWJobMetadataManager()
Definition:
FWJobMetadataManager.cc:5
FWJobMetadataManager::update
void update(FWJobMetadataUpdateRequest *request)
Definition:
FWJobMetadataManager.cc:19
FWJobMetadataManager::~FWJobMetadataManager
virtual ~FWJobMetadataManager()
Definition:
FWJobMetadataManager.cc:7
FWJobMetadataManager::m_metadata
std::vector< Data > m_metadata
Definition:
FWJobMetadataManager.h:63
FWJobMetadataManager::Data::productInstanceLabel_
std::string productInstanceLabel_
Definition:
FWJobMetadataManager.h:24
Generated for CMSSW Reference Manual by
1.8.5