PeriodicPdbWriter Class Reference

#include <PeriodicPdbWriter.h>

Inheritance diagram for PeriodicPdbWriter:

PeriodicEventReporter ScheduledEventReporter EventReporter

List of all members.


Detailed Description

Writes atomic coordinates in PDB format to a file stream at specified intervals during a simulation.


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.


Constructor & Destructor Documentation

PeriodicPdbWriter ( const CompoundSystem system,
std::ostream &  outputStream,
Real  interval 
) [inline]


Member Function Documentation

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().


The documentation for this class was generated from the following file:

Generated on Fri Sep 26 07:44:33 2008 for SimTKcore by  doxygen 1.5.6