Gromacs
2020-beta2
|
#include <gromacs/modularsimulator/modularsimulatorinterfaces.h>
Interface for writer clients of the TrajectoryElement.
Defining registerTrajectoryWriterCallback allows clients to register an arbitrary callback called by the TrajectoryElement when trajectory writing happens.
Setup and teardown methods allow clients to perform tasks with a valid output pointer. These functions have a standard implementation to allow clients not to implement them if no setup / teardown is needed.
Public Member Functions | |
virtual | ~ITrajectoryWriterClient ()=default |
Standard virtual destructor. | |
Protected Member Functions | |
virtual void | trajectoryWriterSetup (gmx_mdoutf *outf)=0 |
Setup method with valid output pointer. | |
virtual void | trajectoryWriterTeardown (gmx_mdoutf *outf)=0 |
Teardown method with valid output pointer. | |
virtual ITrajectoryWriterCallbackPtr | registerTrajectoryWriterCallback (TrajectoryEvent)=0 |
Return callback to TrajectoryElement. | |