23 #include "EventListener.h"
Base abstract class for listening in to events fired by "Hook".
Collective variable manager.
Class containing a snapshot of the current simulation in time.
virtual void SyncToEngine()=0
Synchronization to the simulation engine.
void PostIntegrationHook()
Post-integration hook.
void SetSnapshot(class Snapshot *snapshot)
Sets the active snapshot.
class Snapshot * snapshot_
Local snapshot.
virtual void SyncToSnapshot()=0
Synchronization to the snapshot.
std::vector< EventListener * > listeners_
Vector of event listeners.
void PreSimulationHook()
Pre-simulation hook.
Base class for hooks into the simultion engines.
void PostStepHook()
Post-step hook.
class CVManager * cvmanager_
Collective variable manager.
void AddListener(EventListener *listener)
Add a listener to the hook.
virtual ~Hook()
Destructor.
void SetCVManager(class CVManager *cvmanager)
Sets the current CV manager.
void PostSimulationHook()
Post-simulation hook.
void NotifyObservers()
Notify observers of changes in the simulation.