24 #include "ResourceHandler.h"
25 #include "CVs/CVManager.h"
Base abstract class for listening in to events fired by "Hook".
Collective variable manager.
int GetIteration() const
Get the current iteration.
void Changed(bool state)
Set the "changed" flag of the Snapshot.
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.
bool HasChanged() const
Query if Snapshot was modified.
class Snapshot * snapshot_
Local snapshot.
std::vector< EventListener * > listeners_
Vector of event listeners.
void PreSimulationHook()
Pre-simulation hook.
std::vector< CollectiveVariable * > GetCVs(const std::vector< uint > &mask=std::vector< uint >()) const
Get CV iterator.
class CVManager * cvmanager_
Collective variable manager.
void AddListener(EventListener *listener)
Add a listener to the hook.
void SetCVManager(class CVManager *cvmanager)
Sets the current CV manager.
void PostSimulationHook()
Post-simulation hook.