
#include <OutputFile.h>
Inheritance diagram for ProtoMol::OutputFile:

Public Member Functions | |
| OutputFile () | |
| OutputFile (const std::string &filename, int freq, int cacheFreq, int cacheSize, Real closeTime) | |
| virtual | ~OutputFile () |
| virtual void | getParameters (std::vector< Parameter > ¶meter) const |
| virtual bool | adjustWithDefaultParameters (std::vector< Value > &values, const Configuration *config) const |
Protected Member Functions | |
| bool | open () |
| bool | close () |
| virtual void | doRunCached (int step)=0 |
| virtual void | doFlushCache () |
Protected Attributes | |
| std::string | myFilename |
| std::stringstream | myBuffer |
Private Member Functions | |
| bool | reopen () |
| bool | reclose () |
| void | flushCache () |
| void | clearCache () |
| virtual void | doRun (int step) |
| virtual void | doFinalize (int step) |
Private Attributes | |
| int | myCacheFreq |
| int | myCount |
| int | myCacheSize |
| Real | myCloseTime |
| Timer | myTimer |
| std::ofstream | myFile |
|
|
|
|
||||||||||||||||||||||||
|
|
|
|
|
|
||||||||||||
|
Reimplemented from ProtoMol::Makeable. Reimplemented in ProtoMol::OutputDihedrals, and ProtoMol::OutputPaulTrap. |
|
|
clear cache (buffer)
|
|
|
close file
|
|
|
Hook method of finalize, implemented in the concrete class.
Implements ProtoMol::Output. Reimplemented in ProtoMol::OutputDihedrals. |
|
|
optional implemenatation for cache flush
Reimplemented in ProtoMol::OutputPaulTrap. |
|
|
Hook method of run, implemented in the concrete class.
Implements ProtoMol::Output. |
|
|
new implementation of run method
Implemented in ProtoMol::OutputDiffusion, ProtoMol::OutputDihedrals, ProtoMol::OutputEnergies, ProtoMol::OutputMomentum, ProtoMol::OutputPaulTrap, ProtoMol::OutputTemperatures, and ProtoMol::OutputISGProperties. |
|
|
flush cache (buffer) to file
|
|
|
retrieve all parameters
Implements ProtoMol::Makeable. Reimplemented in ProtoMol::OutputDihedrals, ProtoMol::OutputEnergies, ProtoMol::OutputPaulTrap, ProtoMol::OutputTemperatures, and ProtoMol::OutputISGProperties. |
|
|
open and clear file
|
|
|
close file if requested
|
|
|
open file for append
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|