88 unsigned int index = 0;
90 ++itChanges, ++
index) {
98 FWItemChangeSignal::slot_list_type slots = signal.slots();
99 for (FWItemChangeSignal::slot_list_type::iterator itSlot = slots.begin(), itEnd = slots.end(); itSlot != itEnd;
102 (*itSlot)(*itChanges);
104 fwLog(
fwlog::kError) << (*itChanges)->name() <<
" had the failure in process FWItemChanged signals\n"
105 << iE.
what() << std::endl;
106 }
catch (
const std::bad_alloc& iE) {
107 std::cerr <<
"Ran out of memory while processing " << (*itChanges)->name() << std::endl;
110 fwLog(
fwlog::kError) << (*itChanges)->name() <<
" had the failure in process FWItemChanged signals (2) \n"
111 << iE.what() << std::endl;
117 for (
size_t ci = 0, ce =
m_changes.size(), si = 0; ci != ce; ++ci, ++si) {
121 if (not changes.empty()) {
128 FWModelChangeSignal::slot_list_type slots = signal.slots();
129 for (FWModelChangeSignal::slot_list_type::iterator itSlot = slots.begin(), itEnd = slots.end(); itSlot != itEnd;
135 <<
" had the failure in process FWModelChangeSignals\n"
136 << iE.
what() <<
"\n";
137 }
catch (
const std::bad_alloc& iE) {
139 fwLog(
fwlog::kError) <<
"Ran out of memory while processing " << changes.begin()->item()->name() <<
"\n";
143 <<
" had the failure in process FWModelChangeSignals (2)\n"
144 << iE.what() <<
"\n";