#include <Fireworks/Core/interface/FWModelChangeManager.h>
Public Member Functions | |
void | beginChanges () |
void | changed (const FWEventItem *) |
void | changed (const FWModelId &) |
void | endChanges () |
FWModelChangeManager () | |
void | itemsGoingToBeClearedSlot (void) |
void | newItemSlot (FWEventItem *) |
virtual | ~FWModelChangeManager () |
Public Attributes | |
sigc::signal< void > | changeSignalsAreComing_ |
sigc::signal< void > | changeSignalsAreDone_ |
Private Member Functions | |
FWModelChangeManager (const FWModelChangeManager &)=delete | |
const FWModelChangeManager & | operator= (const FWModelChangeManager &)=delete |
Private Attributes | |
std::vector< FWModelIds > | m_changes |
std::vector< FWModelChangeSignal > | m_changeSignals |
unsigned int | m_depth |
std::set< const FWEventItem * > | m_itemChanges |
std::vector< FWItemChangeSignal > | m_itemChangeSignals |
Description: Manages propagating announcements of changes to Models to any interested party
Usage: <usage>
Definition at line 33 of file FWModelChangeManager.h.
FWModelChangeManager::FWModelChangeManager | ( | ) |
Definition at line 35 of file FWModelChangeManager.cc.
|
virtual |
Definition at line 42 of file FWModelChangeManager.cc.
|
privatedelete |
void FWModelChangeManager::beginChanges | ( | ) |
Definition at line 59 of file FWModelChangeManager.cc.
References m_depth.
Referenced by FWChangeSentry::FWChangeSentry().
void FWModelChangeManager::changed | ( | const FWEventItem * | iItem | ) |
Definition at line 68 of file FWModelChangeManager.cc.
References cms::cuda::assert(), FWEventItem::id(), m_changes, and m_itemChanges.
void FWModelChangeManager::changed | ( | const FWModelId & | iID | ) |
Definition at line 61 of file FWModelChangeManager.cc.
References cms::cuda::assert(), FWEventItem::id(), FWModelId::item(), and m_changes.
Referenced by FWEventItem::destroy(), FWEventItem::handleChange(), FWEventItem::proxyConfigChanged(), FWEventItem::resetColor(), FWEventItem::runFilter(), FWEventItem::select(), FWEventItem::setDefaultDisplayProperties(), FWEventItem::setDisplayProperties(), FWEventItem::toggleSelect(), and FWEventItem::unselect().
void FWModelChangeManager::endChanges | ( | ) |
Definition at line 83 of file FWModelChangeManager.cc.
References cms::cuda::assert(), beam_dqm_sourceclient-live_cfg::cerr, changeSignalsAreComing_, cppFunctionSkipper::exception, beamvalidation::exit(), fwLog, fwlog::kError, m_changes, m_changeSignals, m_depth, m_itemChanges, m_itemChangeSignals, sendChangeSignalsAreDone(), and cms::Exception::what().
Referenced by FWChangeSentry::~FWChangeSentry().
void FWModelChangeManager::itemsGoingToBeClearedSlot | ( | void | ) |
Whenever all the items are removed from the FWItemsManager clean also the associated vectors here.
Definition at line 170 of file FWModelChangeManager.cc.
References m_changes, m_changeSignals, m_itemChanges, and m_itemChangeSignals.
Referenced by FWSummaryManager::FWSummaryManager().
void FWModelChangeManager::newItemSlot | ( | FWEventItem * | iItem | ) |
Definition at line 155 of file FWModelChangeManager.cc.
References cms::cuda::assert(), FWEventItem::changed_, FWEventItem::id(), FWEventItem::itemChanged_, m_changes, m_changeSignals, and m_itemChangeSignals.
Referenced by CmsShowMainBase::setup().
|
privatedelete |
sigc::signal<void> FWModelChangeManager::changeSignalsAreComing_ |
Definition at line 49 of file FWModelChangeManager.h.
Referenced by endChanges(), and FWViewManagerBase::setChangeManager().
sigc::signal<void> FWModelChangeManager::changeSignalsAreDone_ |
Definition at line 50 of file FWModelChangeManager.h.
Referenced by FWSelectionManager::FWSelectionManager(), FWSummaryManager::FWSummaryManager(), sendChangeSignalsAreDone(), and FWViewManagerBase::setChangeManager().
|
private |
Definition at line 62 of file FWModelChangeManager.h.
Referenced by changed(), endChanges(), itemsGoingToBeClearedSlot(), and newItemSlot().
|
private |
Definition at line 64 of file FWModelChangeManager.h.
Referenced by endChanges(), itemsGoingToBeClearedSlot(), and newItemSlot().
|
private |
Definition at line 61 of file FWModelChangeManager.h.
Referenced by beginChanges(), and endChanges().
|
private |
Definition at line 63 of file FWModelChangeManager.h.
Referenced by changed(), endChanges(), and itemsGoingToBeClearedSlot().
|
private |
Definition at line 65 of file FWModelChangeManager.h.
Referenced by endChanges(), itemsGoingToBeClearedSlot(), and newItemSlot().