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