PeriodicVmdReporter Class Reference

#include <PeriodicVmdReporter.h>

Inheritance diagram for PeriodicVmdReporter:

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

 PeriodicVmdReporter (const CompoundSystem &system, Real interval, int localSocketNumber, bool blockWaitingForVmdConnection=false)
void handleEvent (const State &state) const
 This method is invoked to handle the event.


Constructor & Destructor Documentation

PeriodicVmdReporter ( const CompoundSystem system,
Real  interval,
int  localSocketNumber,
bool  blockWaitingForVmdConnection = false 
) [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, VmdConnection::checkForConnection(), VmdConnection::clientIsConnected(), CompoundSystem::getCompound(), CompoundSystem::getNumCompounds(), VmdConnection::getSocketNumber(), Stage::Position, VmdConnection::sendCoordinates(), Compound::writePdb(), x, and y.


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