void handler_clear_backup(container_type& cont) const { typedef typename container_type::iterator iter_type; for(iter_type i = cont.begin(), isize = cont.end(); i != isize; ++i) { if(i->second) { i->second->close(); } } cont.clear(); }
// TOOD: this can probably be removed void reset(void) { container.clear(); }
//Overrides void clear() override { frame_.clear(); values.clear(); }
void deltaFml (const container_type& positions, container_type& forces) { forces.clear (); forces.push_back (2*(positions.at (0)+20)); forces.push_back (2*(positions.at (1)-43)); }
void clear() { return list.clear(); }