Gromacs
2024.3
|
#include <gromacs/modularsimulator/signallers.h>
Builder for signallers.
This builder allows clients to register, and then builds the signaller passing on the list of clients.
Signaller | The signaller to be built |
Public Member Functions | |
void | registerSignallerClient (typename Signaller::Client *client) |
Allows clients to register to the signaller. | |
template<typename... Args> | |
std::unique_ptr< Signaller > | build (Args &&...args) |
Build the signaller. More... | |
template<> | |
std::unique_ptr < TrajectorySignaller > | build (Args &&...args) |
template<> | |
std::unique_ptr< EnergySignaller > | build (Args &&...args) |
std::unique_ptr< Signaller > gmx::SignallerBuilder< Signaller >::build | ( | Args &&... | args | ) |
Build the signaller.
General version - for NeighborSearchSignaller, LastStepSignaller, LoggingSignaller
std::unique_ptr< TrajectorySignaller > gmx::SignallerBuilder< TrajectorySignaller >::build | ( | Args &&... | args | ) |
Specialized version - TrajectorySignaller has a different build process
std::unique_ptr< EnergySignaller > gmx::SignallerBuilder< EnergySignaller >::build | ( | Args &&... | args | ) |
Specialized version - EnergySignaller has a significantly different build process