#include <HistoryAppender.h>
Definition at line 14 of file HistoryAppender.h.
edm::HistoryAppender::HistoryAppender |
( |
| ) |
|
Definition at line 18 of file HistoryAppender.cc.
References checkProcessHistory(), Exception, edm::ProcessHistory::id(), edm::errors::LogicError, m_cachedHistory, m_cachedInputPHID, or, and s_emptyHistory.
21 assert((iInputProcessHistory) ==
nullptr or (inputPHID == iInputProcessHistory->id()));
26 ProcessHistory
const* inputProcessHistory = iInputProcessHistory? iInputProcessHistory : &
s_emptyHistory;
28 if (inputPHID.isValid()) {
29 if (iInputProcessHistory ==
nullptr) {
31 <<
"HistoryAppender::appendToProcessHistory\n" 32 <<
"Input ProcessHistory has valid ID but is nullptr\n" 33 <<
"Contact a Framework developer\n";
37 auto newProcessHistory = std::make_shared<ProcessHistory>();
38 *newProcessHistory = *inputProcessHistory;
40 newProcessHistory->push_back(pc);
42 newProcessHistory->setProcessHistoryID();
ProcessHistoryID m_cachedInputPHID
The Signals That Services Can Subscribe To This is based on ActivityRegistry and is current per Services can connect to the signals distributed by the ActivityRegistry in order to monitor the activity of the application Each possible callback has some defined which we here list in angle e< void, edm::EventID const &, edm::Timestamp const & > We also list in braces which AR_WATCH_USING_METHOD_ is used for those or
static const edm::ProcessHistory s_emptyHistory
void checkProcessHistory(ProcessHistory const &ph, ProcessConfiguration const &pc) const
std::shared_ptr< ProcessHistory const > m_cachedHistory
std::shared_ptr<ProcessHistory const> edm::HistoryAppender::m_cachedHistory |
|
private |