Rosetta  2020.46
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | Private Member Functions | Private Attributes | List of all members
protocols::checkpoint::CheckPointer Class Reference

#include <CheckPointer.hh>

Inheritance diagram for protocols::checkpoint::CheckPointer:
Inheritance graph
[legend]

Public Member Functions

 CheckPointer (std::string const &type)
 
 ~CheckPointer () override
 
void clear_checkpoints (bool no_tracer=false)
 
void flush_checkpoints ()
 
bool recover_checkpoint (core::pose::Pose &pose, moves::MonteCarlo *mc, std::string const &current_tag, std::string const &id, bool fullatom=false, bool foldtree=false)
 
bool recover_checkpoint (core::pose::Pose &pose, moves::MonteCarloOP mc, std::string const &current_tag, std::string const &id, bool fullatom=false, bool foldtree=false)
 
bool recover_checkpoint (core::pose::Pose &pose, std::string const &current_tag, std::string const &id, bool fullatom=false, bool foldtree=false)
 
void checkpoint (core::pose::Pose &pose, moves::MonteCarlo *mc, std::string const &current_tag, std::string const &id, bool foldtree=false)
 
void checkpoint (core::pose::Pose &pose, moves::MonteCarloOP mc, std::string const &current_tag, std::string const &id, bool foldtree=false)
 
void checkpoint (core::pose::Pose &pose, std::string const &current_tag, std::string const &id, bool foldtree=false)
 
std::string const & type () const
 
void set_type (const std::string &new_type)
 
void debug (const std::string &tag, const std::string &label, core::Real data1, core::Real data2=0.0, core::Real data3=0.0) const
 print checksum data More...
 
void set_disabled (bool value=true)
 
bool get_disabled () const
 
core::Size get_checkpoint_recoveries () const
 

Private Member Functions

core::Size file_buffer_size ()
 

Private Attributes

std::string type_
 
std::vector< std::string > checkpoint_ids_
 
bool disabled_
 
bool delete_checkpoints_
 
core::Size count_checkpoint_recoveries_
 
std::vector< FileBufferfile_buffer
 

Constructor & Destructor Documentation

protocols::checkpoint::CheckPointer::CheckPointer ( std::string const &  type)

References delete_checkpoints_, and disabled_.

protocols::checkpoint::CheckPointer::~CheckPointer ( )
inlineoverride

References clear_checkpoints().

Member Function Documentation

void protocols::checkpoint::CheckPointer::checkpoint ( core::pose::Pose pose,
moves::MonteCarlo mc,
std::string const &  current_tag,
std::string const &  id,
bool  foldtree = false 
)

References protocols::boinc::watchdog::bailout_mutex, protocols::boinc::watchdog::bailout_silent_structure, protocols::boinc::watchdog::bailout_silent_structure_header, checkpoint_ids_, disabled_, file_buffer, file_buffer_size(), flush_checkpoints(), core::pose::Pose::is_fullatom(), protocols::checkpoint::Timer::is_on(), protocols::moves::MonteCarlo::last_accepted_pose(), protocols::moves::MonteCarlo::lowest_score_pose(), protocols::checkpoint::pose_to_binary_silent_file(), protocols::checkpoint::Timer::reset(), core::scoring::rg, protocols::checkpoint::FileBuffer::set_contents(), core::pose::Pose::size(), protocols::checkpoint::Timer::time_to_checkpoint(), protocols::checkpoint::TR(), and type().

Referenced by protocols::relax::ClassicRelax::apply(), protocols::relax::loop::LoopRelaxMover::apply(), protocols::abinitio::ClassicAbinitio::apply(), checkpoint(), protocols::abinitio::MembraneAbinitio::checkpoint(), protocols::abinitio::FragmentSampler::checkpointed_cycle_block(), protocols::jumping::close_chainbreaks(), protocols::abinitio::AbrelaxApplication::close_loops(), protocols::abinitio::FragmentSampler::do_stage3_cycles(), protocols::abinitio::ClassicAbinitio::do_stage3_cycles(), protocols::abinitio::FragmentSampler::do_stage4_cycles(), protocols::abinitio::ClassicAbinitio::do_stage4_cycles(), protocols::abinitio::AbrelaxApplication::fold(), protocols::relax::FastRelax::inner_loop_md_command(), protocols::relax::FastRelax::inner_loop_min_command(), protocols::relax::FastRelax::inner_loop_ramp_repack_min_command(), protocols::relax::FastRelax::inner_loop_repack_command(), and protocols::abinitio::AbrelaxApplication::relax().

void protocols::checkpoint::CheckPointer::checkpoint ( core::pose::Pose pose,
moves::MonteCarloOP  mc,
std::string const &  current_tag,
std::string const &  id,
bool  foldtree = false 
)
inline

References checkpoint().

void protocols::checkpoint::CheckPointer::checkpoint ( core::pose::Pose pose,
std::string const &  current_tag,
std::string const &  id,
bool  foldtree = false 
)
inline

References checkpoint().

void protocols::checkpoint::CheckPointer::clear_checkpoints ( bool  no_tracer = false)
void protocols::checkpoint::CheckPointer::debug ( const std::string &  tag,
const std::string &  label,
core::Real  data1,
core::Real  data2 = 0.0,
core::Real  data3 = 0.0 
) const
core::Size protocols::checkpoint::CheckPointer::file_buffer_size ( )
private

References file_buffer.

Referenced by checkpoint().

void protocols::checkpoint::CheckPointer::flush_checkpoints ( )
core::Size protocols::checkpoint::CheckPointer::get_checkpoint_recoveries ( ) const
inline
bool protocols::checkpoint::CheckPointer::get_disabled ( ) const
inline

References disabled_.

bool protocols::checkpoint::CheckPointer::recover_checkpoint ( core::pose::Pose pose,
moves::MonteCarlo mc,
std::string const &  current_tag,
std::string const &  id,
bool  fullatom = false,
bool  foldtree = false 
)
bool protocols::checkpoint::CheckPointer::recover_checkpoint ( core::pose::Pose pose,
moves::MonteCarloOP  mc,
std::string const &  current_tag,
std::string const &  id,
bool  fullatom = false,
bool  foldtree = false 
)
inline

References recover_checkpoint().

bool protocols::checkpoint::CheckPointer::recover_checkpoint ( core::pose::Pose pose,
std::string const &  current_tag,
std::string const &  id,
bool  fullatom = false,
bool  foldtree = false 
)
inline

References recover_checkpoint().

void protocols::checkpoint::CheckPointer::set_disabled ( bool  value = true)
inline

References disabled_.

void protocols::checkpoint::CheckPointer::set_type ( const std::string &  new_type)
inline
std::string const& protocols::checkpoint::CheckPointer::type ( ) const
inline

References type_.

Referenced by checkpoint(), clear_checkpoints(), and recover_checkpoint().

Member Data Documentation

std::vector< std::string > protocols::checkpoint::CheckPointer::checkpoint_ids_
private
core::Size protocols::checkpoint::CheckPointer::count_checkpoint_recoveries_
private
bool protocols::checkpoint::CheckPointer::delete_checkpoints_
private

Referenced by CheckPointer(), and clear_checkpoints().

bool protocols::checkpoint::CheckPointer::disabled_
private
std::vector< FileBuffer > protocols::checkpoint::CheckPointer::file_buffer
private
std::string protocols::checkpoint::CheckPointer::type_
private

Referenced by set_type(), and type().


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