Rosetta 3.5
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Types | Public Member Functions | Private Member Functions | Private Attributes | List of all members
protocols::toolbox::task_operations::RestrictToInterfaceOperation Class Reference

#include <RestrictToInterfaceOperation.hh>

Inheritance diagram for protocols::toolbox::task_operations::RestrictToInterfaceOperation:
Inheritance graph
[legend]
Collaboration diagram for protocols::toolbox::task_operations::RestrictToInterfaceOperation:
Collaboration graph
[legend]

Public Types

typedef RestrictOperationsBase parent
 
- Public Types inherited from protocols::toolbox::task_operations::RestrictOperationsBase
typedef
core::pack::task::operation::TaskOperation 
TaskOperation
 
typedef
core::pack::task::operation::TaskOperationOP 
TaskOperationOP
 
typedef TaskOperation parent
 
- Public Types inherited from core::pack::task::operation::TaskOperation
typedef utility::tag::TagPtr TagPtr
 
typedef pose::Pose Pose
 

Public Member Functions

 RestrictToInterfaceOperation (core::Size upper_chain=1, core::Size lower_chain=2)
 this ctor will generate the calculator for you (may use defaults) More...
 
 RestrictToInterfaceOperation (std::string const &calculator)
 
virtual ~RestrictToInterfaceOperation ()
 
virtual TaskOperationOP clone () const
 
virtual void apply (core::pose::Pose const &, core::pack::task::PackerTask &) const
 Change a packer task in some way. The input pose is the one to which the input task will be later applied. More...
 
- Public Member Functions inherited from protocols::toolbox::task_operations::RestrictOperationsBase
 RestrictOperationsBase ()
 
virtual ~RestrictOperationsBase ()
 
- Public Member Functions inherited from core::pack::task::operation::TaskOperation
virtual ~TaskOperation ()
 
virtual void parse_tag (TagPtr)
 Used to parse an xml-like tag to load parameters and properties. More...
 
virtual void parse_def (utility::lua::LuaObject const &def)
 

Private Member Functions

void make_calculator (core::Size upper_chain, core::Size lower_chain)
 constructor helper function - makes the PoseMetricCalculator More...
 
void make_name (core::Size upper_chain, core::Size lower_chain)
 constructor helper function - names the PoseMetricCalculator More...
 

Private Attributes

std::string calculator_name_
 

Additional Inherited Members

- Protected Member Functions inherited from protocols::toolbox::task_operations::RestrictOperationsBase
void run_calculator (core::pose::Pose const &pose, std::string const &calculator, std::string const &calculation, utility::vector1_bool &residues) const
 this is the only real function - it takes a calculator name and calculation, and a PackerTask-compatible vector, and flips booleans in the vector according to the calculator More...
 

Detailed Description

this class is a TaskOperation to prevent repacking of residues not near an interface.

Member Typedef Documentation

Constructor & Destructor Documentation

protocols::toolbox::task_operations::RestrictToInterfaceOperation::RestrictToInterfaceOperation ( core::Size  upper_chain = 1,
core::Size  lower_chain = 2 
)

this ctor will generate the calculator for you (may use defaults)

References make_calculator().

Referenced by clone(), and protocols::toolbox::task_operations::RestrictToInterfaceOperationCreator::create_task_operation().

protocols::toolbox::task_operations::RestrictToInterfaceOperation::RestrictToInterfaceOperation ( std::string const &  calculator)

this ctor assumes a pregenerated calculator - if you want a particular non-default cutoff distance

protocols::toolbox::task_operations::RestrictToInterfaceOperation::~RestrictToInterfaceOperation ( )
virtual

Member Function Documentation

void protocols::toolbox::task_operations::RestrictToInterfaceOperation::apply ( core::pose::Pose const &  ,
core::pack::task::PackerTask  
) const
virtual
core::pack::task::operation::TaskOperationOP protocols::toolbox::task_operations::RestrictToInterfaceOperation::clone ( ) const
virtual

be warned if you use clone that you'll not get a new interface calculator

Implements protocols::toolbox::task_operations::RestrictOperationsBase.

References RestrictToInterfaceOperation().

void protocols::toolbox::task_operations::RestrictToInterfaceOperation::make_calculator ( core::Size  upper_chain,
core::Size  lower_chain 
)
private

constructor helper function - makes the PoseMetricCalculator

private helper function to make calculator - runs in the ctor

References calculator_name_, and make_name().

Referenced by RestrictToInterfaceOperation().

void protocols::toolbox::task_operations::RestrictToInterfaceOperation::make_name ( core::Size  upper_chain,
core::Size  lower_chain 
)
private

constructor helper function - names the PoseMetricCalculator

private helper function to name calculator- runs in the ctor

References calculator_name_.

Referenced by make_calculator().

Member Data Documentation

std::string protocols::toolbox::task_operations::RestrictToInterfaceOperation::calculator_name_
private

Referenced by apply(), make_calculator(), and make_name().


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