#include <HistoryAppender.h>
Definition at line 14 of file HistoryAppender.h.
edm::HistoryAppender::HistoryAppender |
( |
| ) |
|
Definition at line 25 of file HistoryAppender.cc.
References checkProcessHistory(), Exception, edm::ProcessHistory::id(), edm::errors::LogicError, m_cachedHistory, m_cachedInputPHID, or, and s_emptyHistory.
28 assert((iInputProcessHistory) ==
nullptr or (inputPHID == iInputProcessHistory->id()));
33 ProcessHistory
const* inputProcessHistory = iInputProcessHistory? iInputProcessHistory : &
s_emptyHistory;
35 if (inputPHID.isValid()) {
36 if (iInputProcessHistory ==
nullptr) {
38 <<
"HistoryAppender::appendToProcessHistory\n" 39 <<
"Input ProcessHistory has valid ID but is nullptr\n" 40 <<
"Contact a Framework developer\n";
44 auto newProcessHistory = std::make_shared<ProcessHistory>();
45 *newProcessHistory = *inputProcessHistory;
47 newProcessHistory->push_back(pc);
49 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 |