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