Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Groups
Pages
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
Definition:
FWJobMetadataUpdateRequest.h:4
FWTypeToRepresentations
Definition:
FWTypeToRepresentations.h:33
FWJobMetadataManager::metadataChanged_
sigc::signal< void > metadataChanged_
Definition:
FWJobMetadataManager.h:54
FWJobMetadataManager::initReps
void initReps(const FWTypeToRepresentations &iTypeAndReps)
Definition:
FWJobMetadataManager.cc:25
FWJobMetadataManager.h
FWJobMetadataManager::doUpdate
virtual bool doUpdate(FWJobMetadataUpdateRequest *)=0
FWJobMetadataManager::m_typeAndReps
FWTypeToRepresentations * m_typeAndReps
Definition:
FWJobMetadataManager.h:65
FWJobMetadataUpdateRequest.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
Generated for CMSSW Reference Manual by
1.8.5