Listener handler revisited (onTrigger toggles the current flow), typo.

git-svn-id: https://www4.informatik.uni-erlangen.de/i4svn/danceos/trunk/devel/fail@1713 8c4709b5-6ec9-48aa-a5cd-a96041d1645a
This commit is contained in:
adrian
2012-10-04 11:28:11 +00:00
parent 2b79e83d72
commit 28599c99d0
4 changed files with 18 additions and 9 deletions

View File

@ -235,6 +235,11 @@ public:
* @see ListenerManager::dereference()
*/
inline BaseListener* dereference(index_t idx) { return m_LstList.dereference(idx); }
/**
* Toggles the provided experiment flow by activating its coroutine.
* @param pfl the experiment flow to be activated
*/
void toggle(ExperimentFlow* pfl) { m_Flows.toggle(pfl); }
};
// FIXME (see SimulatorController.cc): Weird, homeless global variable