Rosetta  2021.16
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | Protected Member Functions | Protected Attributes | Private Member Functions | Private Attributes | List of all members
protocols::match::output::MatchProcessor Class Referenceabstract

#include <MatchProcessor.hh>

Inheritance diagram for protocols::match::output::MatchProcessor:
Inheritance graph
[legend]

Public Member Functions

 MatchProcessor ()
 
 ~MatchProcessor () override
 
virtual void begin_processing ()
 Invoked by the Matcher before it begins feeding matches to the processor. Base-class has a no-op implementation. More...
 
virtual void process_match (match const &m)=0
 
virtual void process_match (match_dspos1 const &m)=0
 
virtual void end_processing ()
 Invoked by the Matcher after it finishes feeding matches to the processor. Base-class has a no-op implementation. More...
 
bool match_processing_successful () const
 
void set_output_writer (OutputWriterOP writer)
 
void set_evaluator (MatchEvaluatorOP evaluator)
 
void set_match_score_writer (MatchScoreWriterOP scorewriter)
 
OutputWriterOP output_writer ()
 const access to the output writer, e.g. for the MatcherMover when incorporating matches into the pose More...
 
void add_filter (MatchFilterOP filter)
 
void reset_filters ()
 
void clear_filters ()
 
UpstreamDownstreamCollisionFilterCOP up_down_filt () const
 
UpstreamCollisionFilterCOP up_coll_filt () const
 

Protected Member Functions

bool passes_filters (match const &m)
 
bool passes_filters (match_dspos1 const &m)
 
void note_match_processed ()
 

Protected Attributes

bool match_processing_successful_
 
OutputWriterOP writer_
 
MatchEvaluatorOP evaluator_
 
MatchScoreWriterOP match_score_writer_
 

Private Member Functions

void note_filter_fail (std::string filter_name)
 

Private Attributes

std::list< MatchFilterOPfilters_
 
std::list
< StateAccumulatingMatchFilterOP
filters_with_state_
 NOTE: these filters are not given the opportunity to accumulate state. More...
 
std::map< std::string, core::Sizefilter_failcounts_
 
core::Size num_matches_processed_
 
UpstreamDownstreamCollisionFilterCOP up_down_filt_
 NOTE: this is used for clash checking between upstream only hits and the ligand. More...
 
UpstreamCollisionFilterCOP up_coll_filt_
 

Constructor & Destructor Documentation

protocols::match::output::MatchProcessor::MatchProcessor ( )

References filter_failcounts_.

protocols::match::output::MatchProcessor::~MatchProcessor ( )
overridedefault

Member Function Documentation

void protocols::match::output::MatchProcessor::add_filter ( MatchFilterOP  filter)
void protocols::match::output::MatchProcessor::begin_processing ( )
virtual
void protocols::match::output::MatchProcessor::clear_filters ( )

References filters_.

void protocols::match::output::MatchProcessor::end_processing ( )
virtual
bool protocols::match::output::MatchProcessor::match_processing_successful ( ) const
inline
void protocols::match::output::MatchProcessor::note_filter_fail ( std::string  filter_name)
private

References filter_failcounts_.

Referenced by passes_filters().

void protocols::match::output::MatchProcessor::note_match_processed ( )
protected
OutputWriterOP protocols::match::output::MatchProcessor::output_writer ( )

const access to the output writer, e.g. for the MatcherMover when incorporating matches into the pose

References writer_.

bool protocols::match::output::MatchProcessor::passes_filters ( match const &  m)
protected
bool protocols::match::output::MatchProcessor::passes_filters ( match_dspos1 const &  m)
protected
virtual void protocols::match::output::MatchProcessor::process_match ( match const &  m)
pure virtual
virtual void protocols::match::output::MatchProcessor::process_match ( match_dspos1 const &  m)
pure virtual
void protocols::match::output::MatchProcessor::reset_filters ( )

References filters_with_state_.

void protocols::match::output::MatchProcessor::set_evaluator ( MatchEvaluatorOP  evaluator)

References evaluator_.

void protocols::match::output::MatchProcessor::set_match_score_writer ( MatchScoreWriterOP  scorewriter)

References match_score_writer_.

void protocols::match::output::MatchProcessor::set_output_writer ( OutputWriterOP  writer)

References writer_.

UpstreamCollisionFilterCOP protocols::match::output::MatchProcessor::up_coll_filt ( ) const
UpstreamDownstreamCollisionFilterCOP protocols::match::output::MatchProcessor::up_down_filt ( ) const

Member Data Documentation

MatchEvaluatorOP protocols::match::output::MatchProcessor::evaluator_
protected
std::map< std::string, core::Size > protocols::match::output::MatchProcessor::filter_failcounts_
private
std::list< MatchFilterOP > protocols::match::output::MatchProcessor::filters_
private
std::list< StateAccumulatingMatchFilterOP > protocols::match::output::MatchProcessor::filters_with_state_
private

NOTE: these filters are not given the opportunity to accumulate state.

Referenced by add_filter(), passes_filters(), and reset_filters().

bool protocols::match::output::MatchProcessor::match_processing_successful_
protected
MatchScoreWriterOP protocols::match::output::MatchProcessor::match_score_writer_
protected
core::Size protocols::match::output::MatchProcessor::num_matches_processed_
private
UpstreamCollisionFilterCOP protocols::match::output::MatchProcessor::up_coll_filt_
private

Referenced by add_filter(), and up_coll_filt().

UpstreamDownstreamCollisionFilterCOP protocols::match::output::MatchProcessor::up_down_filt_
private

NOTE: this is used for clash checking between upstream only hits and the ligand.

Referenced by add_filter(), and up_down_filt().

OutputWriterOP protocols::match::output::MatchProcessor::writer_
protected

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