Fireworks
Core
src
FWJobMetadataManager.cc
Go to the documentation of this file.
1
#include "
Fireworks/Core/interface/FWJobMetadataManager.h
"
2
#include "
Fireworks/Core/interface/FWJobMetadataUpdateRequest.h
"
3
#include <memory>
4
5
FWJobMetadataManager::FWJobMetadataManager
(
void
) : m_typeAndReps(nullptr) {}
6
7
FWJobMetadataManager::~FWJobMetadataManager
() {}
8
19
void
FWJobMetadataManager::update
(
FWJobMetadataUpdateRequest
* request) {
20
std::unique_ptr<FWJobMetadataUpdateRequest> ptr(request);
21
if
(
doUpdate
(request))
22
metadataChanged_
();
23
}
24
25
void
FWJobMetadataManager::initReps
(
const
FWTypeToRepresentations
& iTypeAndReps) {
26
delete
m_typeAndReps
;
27
m_typeAndReps
=
new
FWTypeToRepresentations
(iTypeAndReps);
28
}
FWJobMetadataUpdateRequest.h
FWJobMetadataManager::initReps
void initReps(const FWTypeToRepresentations &iTypeAndReps)
Definition:
FWJobMetadataManager.cc:25
FWJobMetadataManager.h
FWJobMetadataUpdateRequest
Definition:
FWJobMetadataUpdateRequest.h:4
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::doUpdate
virtual bool doUpdate(FWJobMetadataUpdateRequest *)=0
FWTypeToRepresentations
Definition:
FWTypeToRepresentations.h:33
FWJobMetadataManager::FWJobMetadataManager
FWJobMetadataManager()
Definition:
FWJobMetadataManager.cc:5
FWJobMetadataManager::update
void update(FWJobMetadataUpdateRequest *request)
Definition:
FWJobMetadataManager.cc:19
Generated for CMSSW Reference Manual by
1.8.16