#include <Fireworks/Core/interface/FWModelChangeManager.h>
Public Member Functions | |
void | beginChanges () |
void | changed (const FWModelId &) |
void | changed (const FWEventItem *) |
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 &) | |
const FWModelChangeManager & | operator= (const FWModelChangeManager &) |
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 36 of file FWModelChangeManager.cc.
|
virtual |
Definition at line 46 of file FWModelChangeManager.cc.
|
private |
void FWModelChangeManager::beginChanges | ( | ) |
Definition at line 66 of file FWModelChangeManager.cc.
References m_depth.
Referenced by FWChangeSentry::FWChangeSentry().
void FWModelChangeManager::changed | ( | const FWModelId & | iID | ) |
Definition at line 72 of file FWModelChangeManager.cc.
References assert(), FWEventItem::id(), FWModelId::item(), and m_changes.
Referenced by FWEventItem::destroy(), FWEventItem::handleChange(), FWEventItem::runFilter(), FWEventItem::select(), FWEventItem::setDefaultDisplayProperties(), FWEventItem::setDisplayProperties(), FWEventItem::toggleSelect(), and FWEventItem::unselect().
void FWModelChangeManager::changed | ( | const FWEventItem * | iItem | ) |
Definition at line 81 of file FWModelChangeManager.cc.
References assert(), FWEventItem::id(), m_changes, and m_itemChanges.
void FWModelChangeManager::endChanges | ( | ) |
Definition at line 100 of file FWModelChangeManager.cc.
References assert(), dtNoiseDBValidation_cfg::cerr, changeSignalsAreComing_, cppFunctionSkipper::exception, cmsRelvalreport::exit, fwLog, cmsHarvester::index, 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 201 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 184 of file FWModelChangeManager.cc.
References assert(), FWEventItem::changed_, FWEventItem::id(), FWEventItem::itemChanged_, m_changes, m_changeSignals, and m_itemChangeSignals.
Referenced by CmsShowMainBase::setup().
|
private |
sigc::signal<void> FWModelChangeManager::changeSignalsAreComing_ |
Definition at line 51 of file FWModelChangeManager.h.
Referenced by endChanges(), and FWViewManagerBase::setChangeManager().
sigc::signal<void> FWModelChangeManager::changeSignalsAreDone_ |
Definition at line 52 of file FWModelChangeManager.h.
Referenced by FWSelectionManager::FWSelectionManager(), FWSummaryManager::FWSummaryManager(), sendChangeSignalsAreDone(), and FWViewManagerBase::setChangeManager().
|
private |
Definition at line 64 of file FWModelChangeManager.h.
Referenced by changed(), endChanges(), itemsGoingToBeClearedSlot(), and newItemSlot().
|
private |
Definition at line 66 of file FWModelChangeManager.h.
Referenced by endChanges(), itemsGoingToBeClearedSlot(), and newItemSlot().
|
private |
Definition at line 63 of file FWModelChangeManager.h.
Referenced by beginChanges(), and endChanges().
|
private |
Definition at line 65 of file FWModelChangeManager.h.
Referenced by changed(), endChanges(), and itemsGoingToBeClearedSlot().
|
private |
Definition at line 67 of file FWModelChangeManager.h.
Referenced by endChanges(), itemsGoingToBeClearedSlot(), and newItemSlot().