Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
src
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(0)
7
{}
8
9
FWJobMetadataManager::~FWJobMetadataManager
()
10
{}
11
22
void
23
FWJobMetadataManager::update
(
FWJobMetadataUpdateRequest
*request)
24
{
25
std::auto_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:53
FWJobMetadataManager::initReps
void initReps(const FWTypeToRepresentations &iTypeAndReps)
Definition:
FWJobMetadataManager.cc:31
FWJobMetadataManager.h
FWJobMetadataManager::doUpdate
virtual bool doUpdate(FWJobMetadataUpdateRequest *)=0
FWJobMetadataManager::m_typeAndReps
FWTypeToRepresentations * m_typeAndReps
Definition:
FWJobMetadataManager.h:63
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.5