Rosetta Protocols  2014.35
Public Member Functions | Private Attributes | List of all members
protocols::features::TrajectoryMapFeatures Class Reference

#include <TrajectoryMapFeatures.hh>

Public Member Functions

 TrajectoryMapFeatures ()
 
 TrajectoryMapFeatures (TrajectoryMapFeatures const &src)
 
virtual ~TrajectoryMapFeatures ()
 
std::string type_name () const
 return string with class name More...
 
virtual void write_schema_to_db (utility::sql_database::sessionOP db_session) const
 generate the table schemas and write them to the database More...
 
utility::vector1< std::stringfeatures_reporter_dependencies () const
 return the set of features reporters that are required to also already be extracted by the time this one is used. More...
 
core::Size report_features (core::pose::Pose const &pose, utility::vector1< bool > const &relevant_residues, StructureID struct_id, utility::sql_database::sessionOP db_session)
 collect all the feature data for the pose More...
 
void delete_record (StructureID struct_id, utility::sql_database::sessionOP db_sesion)
 
void set_current_cycle (core::Size stride)
 
core::Size get_current_cycle () const
 
- Public Member Functions inherited from protocols::features::FeaturesReporter
 FeaturesReporter ()
 
virtual ~FeaturesReporter ()
 Automatically generated virtual destructor for class deriving directly from ReferenceCount. More...
 
virtual std::string schema () const
 return sql statements that sets up the appropriate tables to contain the features. This should be removed once everything has been moved to the schema generator More...
 
core::Size report_features (core::pose::Pose const &, StructureID, utility::sql_database::sessionOP)
 collect all the feature data for the pose. More...
 
virtual void parse_my_tag (utility::tag::TagCOP tag, basic::datacache::DataMap &, protocols::filters::Filters_map const &, protocols::moves::Movers_map const &, core::pose::Pose const &)
 
virtual void load_into_pose (utility::sql_database::sessionOP, StructureID, core::pose::Pose &)
 
void set_relevant_residues_mode (RelevantResiduesMode::T setting)
 
RelevantResiduesMode::T get_relevant_residues_mode () const
 
bool check_relevant_residues (utility::vector1< bool > const &relevant_residues, core::Size res1) const
 
bool check_relevant_residues (utility::vector1< bool > const &relevant_residues, core::Size res1, core::Size res2) const
 
bool check_relevant_residues_range (utility::vector1< bool > const &relevant_residues, core::Size res1, core::Size res2) const
 
bool check_relevant_residues (utility::vector1< bool > const &relevant_residues, utility::vector1< core::Size > const &residues) const
 

Private Attributes

core::Size current_cycle_
 Stores the cycle count for the current pose being saved. More...
 

Additional Inherited Members

- Protected Member Functions inherited from protocols::features::FeaturesReporter
std::string find_tag (core::pose::Pose const &pose) const
 
void delete_records_from_table (std::string const &table_name, StructureID struct_id, utility::sql_database::sessionOP db_session)
 a helper function for deleting data associated with a given structure from feature database WARNING table_name must be sanitized! More...
 
- Protected Attributes inherited from protocols::features::FeaturesReporter
RelevantResiduesMode::T relevant_residues_mode_
 

Constructor & Destructor Documentation

protocols::features::TrajectoryMapFeatures::TrajectoryMapFeatures ( )
protocols::features::TrajectoryMapFeatures::TrajectoryMapFeatures ( TrajectoryMapFeatures const &  src)
protocols::features::TrajectoryMapFeatures::~TrajectoryMapFeatures ( )
virtual

Member Function Documentation

void protocols::features::TrajectoryMapFeatures::delete_record ( StructureID  struct_id,
utility::sql_database::sessionOP  db_sesion 
)
virtual
utility::vector1< std::string > protocols::features::TrajectoryMapFeatures::features_reporter_dependencies ( ) const
virtual

return the set of features reporters that are required to also already be extracted by the time this one is used.

Reimplemented from protocols::features::FeaturesReporter.

core::Size protocols::features::TrajectoryMapFeatures::get_current_cycle ( ) const

References current_cycle_.

Size protocols::features::TrajectoryMapFeatures::report_features ( core::pose::Pose const &  pose,
utility::vector1< bool > const &  relevant_residues,
StructureID  struct_id,
utility::sql_database::sessionOP  db_session 
)
virtual
void protocols::features::TrajectoryMapFeatures::set_current_cycle ( core::Size  stride)

References current_cycle_.

string protocols::features::TrajectoryMapFeatures::type_name ( ) const
virtual

return string with class name

Reimplemented from protocols::features::FeaturesReporter.

void protocols::features::TrajectoryMapFeatures::write_schema_to_db ( utility::sql_database::sessionOP  db_session) const
virtual

Member Data Documentation

core::Size protocols::features::TrajectoryMapFeatures::current_cycle_
private

Stores the cycle count for the current pose being saved.

Rather than storing the cycle count in pose (where it might be arbitrarily cleared), we are counting cycles/steps by mapping to output tag. Since the features reporter does not know what tag it is at apply time, but the ReportToDB subclassed mover does, this TrajectoryMapFeatures reporter is set up to query this variable to get the current cycle count, which should be up to date because the original apply() call is made to the TrajectoryMapFeatures mover. This variable being up-to-date and meaningful depends on it being set by the TrajectoryMapFeatures Mover (or an unimplemented at the time of this writing mover)

Referenced by get_current_cycle(), report_features(), and set_current_cycle().


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