#include <PeriodicPdbWriter.h>
Public Member Functions | |
PeriodicPdbWriter (const CompoundSystem &system, std::ostream &outputStream, Real interval) | |
void | handleEvent (const State &state) const |
This method is invoked to handle the event. |
PeriodicPdbWriter | ( | const CompoundSystem & | system, | |
std::ostream & | outputStream, | |||
Real | interval | |||
) | [inline] |
void handleEvent | ( | const State & | state | ) | const [inline, virtual] |
This method is invoked to handle the event.
It is given a State which describes the system at the time when the event occurs.
Implements EventReporter.
References c, CompoundSystem::getCompound(), CompoundSystem::getNumCompounds(), Stage::Position, and Compound::writePdb().