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();
	}
Esempio n. 2
0
		// TOOD: this can probably be removed
		void reset(void)
		{
			container.clear();
		}
Esempio n. 3
0
//Overrides
	void clear()   override {
		frame_.clear();
		values.clear();
	}
Esempio n. 4
0
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));
}
Esempio n. 5
0
 void clear()
 { return list.clear(); }