- First implementation of a SimulationController in the GUI
that uses a callback to run the simulation in continuous mode. It isn't finished yet. git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@948 3ecf2c5c-341e-0410-92b4-d18e462d057c
This commit is contained in:
parent
1cdd2a6a9e
commit
3689424217
5 changed files with 213 additions and 59 deletions
|
@ -35,6 +35,11 @@ using namespace sgpem;
|
|||
// Explicit template instantiation to allow to export symbols from the DSO.
|
||||
template class SG_DLLEXPORT Singleton<ConcreteSimulation>;
|
||||
|
||||
Simulation::Simulation()
|
||||
: _notify(true), _front(0)
|
||||
{
|
||||
}
|
||||
|
||||
|
||||
Simulation::~Simulation()
|
||||
{}
|
||||
|
@ -68,7 +73,7 @@ unsigned int Simulation::get_front() const
|
|||
void
|
||||
Simulation::notify_change()
|
||||
{
|
||||
//if (!_notify) return; // what's the purpose of this?
|
||||
if (!_notify) return;
|
||||
|
||||
for (RegisteredObservers::iterator it = _observers.begin();
|
||||
it != _observers.end(); it++)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue