Main Page
Namespaces
Classes
Package Documentation
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
)
6
: m_typeAndReps(
nullptr
)
7
{}
8
9
FWJobMetadataManager::~FWJobMetadataManager
()
10
{}
11
22
void
23
FWJobMetadataManager::update
(
FWJobMetadataUpdateRequest
*request)
24
{
25
std::unique_ptr<FWJobMetadataUpdateRequest> ptr(request);
26
if
(
doUpdate
(request))
27
metadataChanged_
();
28
}
29
30
void
31
FWJobMetadataManager::initReps
(
const
FWTypeToRepresentations
& iTypeAndReps)
32
{
33
delete
m_typeAndReps
;
34
m_typeAndReps
=
new
FWTypeToRepresentations
(iTypeAndReps);
35
}
FWJobMetadataUpdateRequest
Definition:
FWJobMetadataUpdateRequest.h:4
FWTypeToRepresentations
Definition:
FWTypeToRepresentations.h:33
FWJobMetadataManager::metadataChanged_
sigc::signal< void > metadataChanged_
Definition:
FWJobMetadataManager.h:57
FWJobMetadataManager::initReps
void initReps(const FWTypeToRepresentations &iTypeAndReps)
Definition:
FWJobMetadataManager.cc:31
nullptr
#define nullptr
FWJobMetadataManager.h
FWJobMetadataManager::doUpdate
virtual bool doUpdate(FWJobMetadataUpdateRequest *)=0
FWJobMetadataManager::m_typeAndReps
FWTypeToRepresentations * m_typeAndReps
Definition:
FWJobMetadataManager.h:67
FWJobMetadataUpdateRequest.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
Generated for CMSSW Reference Manual by
1.8.11