14 #include <boost/bind.hpp>
85 std::set<FWEventItem*> items;
87 for(std::set<FWEventItem*>::iterator it = items.begin(), itEnd = items.end();
91 (*it)->unselectItem();
159 bool someoneChanged =
false;
161 std::set<FWModelId>::iterator itL=
m_newSelection.lower_bound(low),
170 std::set<FWModelId>::iterator itL=
m_selection.lower_bound(low),
174 someoneChanged =
true;
178 assert(someoneChanged);
198 const std::set<FWModelId>&
204 const std::set<FWEventItem*>&
const std::set< FWModelId > & selected() const
FWItemChangeSignal preItemChanged_
void itemChanged(const FWEventItem *)
void select(const FWModelId &iId)
void clearItemSelection()
const std::set< FWEventItem * > & selectedItems() const
std::set< FWEventItem * > m_itemSelection
std::set< FWModelId > m_newSelection
void unselectItem(FWEventItem *)
void unselect(const FWModelId &iId)
FWModelChangeManager * m_changeManager
sigc::signal< void > changeSignalsAreDone_
sigc::signal< void, const FWSelectionManager & > itemSelectionChanged_
std::vector< std::pair< int, sigc::connection > > m_itemConnectionCount
sigc::signal< void, const FWSelectionManager & > selectionChanged_
FWSelectionManager(FWModelChangeManager *iCM)
void clearModelSelectionLeaveItem()
std::set< FWModelId > m_selection
void finishedAllSelections()
volatile std::atomic< bool > shutdown_flag false
const FWEventItem * item() const
void selectItem(FWEventItem *)