Rosetta Protocols  2014.35
Protected Member Functions | Private Member Functions | List of all members
protocols::loop_modeling::loggers::PdbLogger Class Reference

Record snapshots of the simulation in the PDB format. More...

#include <PdbLogger.hh>

Protected Member Functions

void log_beginning_ (Pose const &pose)
 Record the input pose. More...
 
void log_monte_carlo_ (protocols::moves::MonteCarlo const &monte_carlo)
 Record the pose after each Monte Carlo step. More...
 
- Protected Member Functions inherited from protocols::loop_modeling::loggers::Logger
virtual void log_iteration_ (Pose const &)
 Reimplemented by subclasses to record the start of another iteration. More...
 
virtual void log_ending_ (Pose const &)
 Reimplemented by subclasses to record the end of a simulation. More...
 
Size get_iteration_as_int () const
 Return the current iteration as an integer. More...
 
Size get_max_iteration_as_int () const
 Return the number of iterations that will be run in the current simulation as an integer. More...
 
string get_iteration_as_string () const
 Return the current iteration as a string. More...
 
string get_max_iteration_as_string () const
 Return the number of iterations that will be run in the current simulation as an string. More...
 
Size get_num_digits (Size value) const
 Return the number of digits in the given number. More...
 

Private Member Functions

void log_pose (Pose const &pose) const
 Write the given pose to disk. The file name will incorporate the current iteration. More...
 
void log_pose (Pose const &pose, Size iteration) const
 Write the given pose to disk. The file name will incorporate the given iteration. More...
 

Additional Inherited Members

- Public Member Functions inherited from protocols::loop_modeling::loggers::Logger
void log_beginning (Pose const &pose, Size I, Size J, Size K)
 Record the beginning of a simulation. More...
 
void log_beginning (Pose const &pose, utility::vector1< Size > iterations)
 Record the beginning of a simulation. More...
 
void log_iteration (Pose const &pose, Size i, Size j, Size k)
 Record the start of another iteration. More...
 
void log_monte_carlo (protocols::moves::MonteCarlo const &monte_carlo)
 Record the result of a MonteCarlo acceptance check. More...
 
void log_monte_carlo (protocols::moves::MonteCarloCOP monte_carlo)
 Record the result of a MonteCarlo acceptance check. More...
 
void log_ending (Pose const &pose)
 Record the end of a simulation. More...
 

Detailed Description

Record snapshots of the simulation in the PDB format.

Member Function Documentation

void protocols::loop_modeling::loggers::PdbLogger::log_beginning_ ( Pose const &  pose)
protectedvirtual

Record the input pose.

Reimplemented from protocols::loop_modeling::loggers::Logger.

void protocols::loop_modeling::loggers::PdbLogger::log_monte_carlo_ ( protocols::moves::MonteCarlo const &  monte_carlo)
protectedvirtual

Record the pose after each Monte Carlo step.

Reimplemented from protocols::loop_modeling::loggers::Logger.

References protocols::moves::MonteCarlo::last_accepted_pose().

void protocols::loop_modeling::loggers::PdbLogger::log_pose ( Pose const &  pose) const
private

Write the given pose to disk. The file name will incorporate the current iteration.

void protocols::loop_modeling::loggers::PdbLogger::log_pose ( Pose const &  pose,
Size  iteration 
) const
private

Write the given pose to disk. The file name will incorporate the given iteration.

References core::pose::Pose::dump_pdb(), and get_num_digits().


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