|
Rosetta 3.5
|
tracks modifications to be made and is capable of making residue length changes on a Pose More...
#include <BuildInstruction.hh>


Public Types | |
| typedef core::Size | Size |
| typedef core::Real | Real |
| typedef core::chemical::ResidueTypeSet | ResidueTypeSet |
| typedef core::chemical::ResidueTypeSetCAP | ResidueTypeSetCAP |
| typedef core::conformation::signals::LengthEvent | LengthEvent |
| typedef core::kinematics::MoveMap | MoveMap |
| typedef core::pose::Pose | Pose |
| typedef utility::vector1 < BuildInstructionCAP > | BuildInstructionCAPs |
| typedef utility::signals::Link | Link |
| typedef std::set< Size > | Positions |
| typedef std::string | String |
Public Member Functions | |
| BuildInstruction () | |
| default constructor More... | |
| BuildInstruction (Interval const &i, ResidueTypeSetCAP rts=core::chemical::ChemicalManager::get_instance() ->residue_type_set(core::chemical::FA_STANDARD)) | |
| interval constructor More... | |
| BuildInstruction (BuildInstruction const &rval) | |
| copy constructor More... | |
| virtual | ~BuildInstruction () |
| default destructor More... | |
| BuildInstruction & | operator= (BuildInstruction const &rval) |
| copy assignment More... | |
| virtual BuildInstructionOP | clone () const =0 |
| clone this object More... | |
| BuildInstructionState::Enum | modify (Pose &pose) |
| modify this pose More... | |
| BuildInstructionState::Enum | state () const |
| return the state of this BuildInstruction More... | |
| bool | ready () const |
| Is the BuildInstruction's state at READY? More... | |
| bool | waiting_on_dependencies () const |
| Is the BuildInstruction's state at WAITING_ON_DEPENDENCIES? More... | |
| bool | modify_was_successful () const |
| Is the BuildInstruction's state at MODIFY_WAS_SUCCESSFUL? More... | |
| virtual void | on_residue_append (LengthEvent const &event)=0 |
| update indexing on residue append More... | |
| virtual void | on_residue_prepend (LengthEvent const &event)=0 |
| update indexing on residue prepend More... | |
| virtual void | on_residue_delete (LengthEvent const &event)=0 |
| update indexing on residue delete More... | |
| void | attach_to (Pose &pose) |
| attach to a Pose's conformation More... | |
| void | detach_from () |
| detach from a Pose's conformation More... | |
| void | on_length_change (LengthEvent const &event) |
| update any indexing wrt length change to Pose/Conformation being watched More... | |
| bool | detach_after_modify () const |
| detach after modify()? More... | |
| Interval const & | original_interval () const |
| return original residue range of this instruction More... | |
| ResidueTypeSet const & | residue_type_set () const |
| the residue type set being used More... | |
| bool | has_dependencies () const |
| does this BuildInstruction have dependencies? More... | |
| Size | n_dependencies () const |
| the number of dependencies this BuildInstruction has More... | |
| BuildInstructionCAPs const & | dependencies () const |
| the list of instructions whose modify() must complete before the modify() for this instruction may be called successfully More... | |
| virtual bool | original_interval_valid () const =0 |
| is the original interval storing valid information, or is empty or being used for something else? More... | |
| virtual Interval | interval () const =0 |
| a copy of the working range of residues specifying the modified region More... | |
| virtual Positions | preexisting_positions () const =0 |
| return a copy of the set of positions within the new region that were pre-existing in the original Pose prior to modify() More... | |
| virtual Positions | new_positions () const =0 |
| return a copy of the set of positions that are "new" and did not exist in the original Pose. More... | |
| virtual Positions | defined_positions () const =0 |
| return a copy of the set of positions within the newly modified region that has a defined conformation. E.g. existing or copied residues. More... | |
| virtual Positions | undefined_positions () const =0 |
| return a copy of the set of positions within the newly modified region that has an undefined conformation. E.g. newly created residues. More... | |
| virtual MoveMap | movemap () const =0 |
| return a copy of the MoveMap that defines the moveable/fixed positions/dofs for this instruction More... | |
| void | detach_after_modify (bool const flag) |
| set detach after modify() More... | |
| void | reset_accounting () |
| reset intervals, positions, etc to initial state and drop observers. State set to READY. More... | |
| virtual void | add_dependency_to (BuildInstructionCAP i) |
| add an instruction to this BuildInstruction's dependency list More... | |
| virtual bool | dependent_on (BuildInstructionCAP i) const |
| is this instruction dependent upon the given instruction? More... | |
| void | clear_dependencies () |
| clear the list of dependencies More... | |
| virtual Positions | original_kept_positions () const =0 |
| return the set of positions within the original interval that will be kept in this BuildInstruction More... | |
| virtual Positions | original_deleted_positions () const =0 |
| return set of positions within the original interval that will be deleted in this BuildInstruction More... | |
| virtual bool | compatible_with (BuildInstruction const &rval) const |
| compares fixed and mutable positions to determine compatibility with another instruction More... | |
| virtual Positions | original_fixed_positions () const =0 |
| return set of any fixed positions necessary with respect to the original interval and original Pose numbering More... | |
| virtual Positions | original_mutable_positions () const =0 |
| return set of any mutable positions necessary with respect to the original interval and original Pose numbering More... | |
| virtual bool | creates_undefined_backbone () const =0 |
| does this object create undefined backbone in the modified region? More... | |
Protected Member Functions | |
| Link const & | length_obs_link () const |
| access to the Conformation length observer link More... | |
| virtual bool | dependencies_satisfied () const |
| are dependencies satisfied so that modify_impl() can complete successfully? More... | |
| virtual void | modify_impl (Pose &pose)=0 |
| do the actual work of modifying the Pose More... | |
| void | state (BuildInstructionState::Enum const s) |
| set the BuildInstruction's current state More... | |
| virtual void | reset_accounting_impl ()=0 |
| do the actual reset of intervals, positions, etc to initial state More... | |
Private Types | |
| typedef utility::pointer::ReferenceCount | Super |
Private Attributes | |
| BuildInstructionState::Enum | state_ |
| Describes the state of the BuildInstruction. More... | |
| Interval | original_interval_ |
| defines the original residue range via closed interval [first, second] or an original anchor position [anchor, anchor] that's marked as invalid More... | |
| ResidueTypeSetCAP | rts_ |
| the residue type set to use More... | |
| Link | length_obs_link_ |
| Conformation length observer link. More... | |
| bool | detach_after_modify_ |
| detach after performing modify() More... | |
| BuildInstructionCAPs | dependencies_ |
| if this BuildInstruction's modify() is dependent on any other BuildInstructions whose modify() must complete first, we store access to those instructions here More... | |
tracks modifications to be made and is capable of making residue length changes on a Pose
Definition at line 68 of file BuildInstruction.hh.
| typedef utility::vector1< BuildInstructionCAP > protocols::forge::build::BuildInstruction::BuildInstructionCAPs |
Definition at line 88 of file BuildInstruction.hh.
| typedef core::conformation::signals::LengthEvent protocols::forge::build::BuildInstruction::LengthEvent |
Definition at line 84 of file BuildInstruction.hh.
| typedef utility::signals::Link protocols::forge::build::BuildInstruction::Link |
Definition at line 90 of file BuildInstruction.hh.
Definition at line 85 of file BuildInstruction.hh.
Definition at line 86 of file BuildInstruction.hh.
| typedef std::set< Size > protocols::forge::build::BuildInstruction::Positions |
Definition at line 92 of file BuildInstruction.hh.
Definition at line 81 of file BuildInstruction.hh.
Definition at line 82 of file BuildInstruction.hh.
| typedef core::chemical::ResidueTypeSetCAP protocols::forge::build::BuildInstruction::ResidueTypeSetCAP |
Definition at line 83 of file BuildInstruction.hh.
Definition at line 80 of file BuildInstruction.hh.
| typedef std::string protocols::forge::build::BuildInstruction::String |
Definition at line 93 of file BuildInstruction.hh.
Definition at line 74 of file BuildInstruction.hh.
| protocols::forge::build::BuildInstruction::BuildInstruction | ( | ) |
default constructor
Definition at line 51 of file BuildInstruction.cc.
| protocols::forge::build::BuildInstruction::BuildInstruction | ( | Interval const & | i, |
| ResidueTypeSetCAP | rts = core::chemical::ChemicalManager::get_instance()->residue_type_set( core::chemical::FA_STANDARD ) |
||
| ) |
interval constructor
| [in] | i | the residue range to operate on |
| [in] | rts | the residue type set to use, default FA_STANDARD |
Definition at line 62 of file BuildInstruction.cc.
| protocols::forge::build::BuildInstruction::BuildInstruction | ( | BuildInstruction const & | rval) |
copy constructor
Definition at line 75 of file BuildInstruction.cc.
|
virtual |
|
virtual |
add an instruction to this BuildInstruction's dependency list
Definition at line 236 of file BuildInstruction.cc.
References dependencies_, and dependent_on().
| void protocols::forge::build::BuildInstruction::attach_to | ( | Pose & | pose) |
attach to a Pose's conformation
Definition at line 169 of file BuildInstruction.cc.
References core::conformation::Conformation::attach_length_obs(), core::pose::Pose::conformation(), detach_from(), length_obs_link_, and on_length_change().
Referenced by modify(), and protocols::forge::build::SegmentRebuild::modify_impl().
|
inline |
clear the list of dependencies
Definition at line 345 of file BuildInstruction.hh.
References dependencies_.
|
pure virtual |
clone this object
Implemented in protocols::forge::build::SegmentInsert, protocols::forge::build::SegmentRebuild, protocols::forge::build::Bridge, protocols::forge::build::ConnectRight, protocols::forge::build::GrowLeft, protocols::forge::build::GrowRight, protocols::forge::build::RelativeConnectRight, and protocols::forge::build::SegmentSwap.
|
virtual |
compares fixed and mutable positions to determine compatibility with another instruction
Definition at line 252 of file BuildInstruction.cc.
References original_fixed_positions(), original_mutable_positions(), rts_, and protocols::forge::build::TR().
|
pure virtual |
does this object create undefined backbone in the modified region?
Implemented in protocols::forge::build::SegmentInsert, protocols::forge::build::ConnectRight, protocols::forge::build::SegmentRebuild, protocols::forge::build::GrowLeft, protocols::forge::build::GrowRight, protocols::forge::build::Bridge, and protocols::forge::build::SegmentSwap.
|
pure virtual |
return a copy of the set of positions within the newly modified region that has a defined conformation. E.g. existing or copied residues.
This set can change wrt length changes in Pose/Conformation being watched.
Implemented in protocols::forge::build::SegmentInsert, protocols::forge::build::ConnectRight, protocols::forge::build::SegmentRebuild, protocols::forge::build::GrowLeft, protocols::forge::build::GrowRight, protocols::forge::build::Bridge, and protocols::forge::build::SegmentSwap.
Referenced by protocols::forge::build::BuildManager::intervals_containing_defined_positions(), and protocols::forge::build::BuildManager::modified_i2p_defined().
|
inline |
the list of instructions whose modify() must complete before the modify() for this instruction may be called successfully
Definition at line 252 of file BuildInstruction.hh.
References dependencies_.
Referenced by protocols::forge::build::RelativeConnectRight::modify_impl().
|
protectedvirtual |
are dependencies satisfied so that modify_impl() can complete successfully?
Reimplemented in protocols::forge::build::SegmentInsert, protocols::forge::build::ConnectRight, protocols::forge::build::SegmentRebuild, protocols::forge::build::GrowLeft, protocols::forge::build::GrowRight, protocols::forge::build::Bridge, and protocols::forge::build::SegmentSwap.
Definition at line 221 of file BuildInstruction.cc.
References dependencies_.
Referenced by modify().
|
virtual |
is this instruction dependent upon the given instruction?
Definition at line 244 of file BuildInstruction.cc.
References dependencies_.
Referenced by add_dependency_to().
|
inline |
detach after modify()?
Ordinarily a modify() call consists of attaching as a length obs of the Pose, actually doing the modify, and then detaching as a length obs of the Pose. This flag governs whether the last detach occurs.
Definition at line 216 of file BuildInstruction.hh.
References detach_after_modify_.
|
inline |
set detach after modify()
Ordinarily a modify() call consists of attaching as a length obs of the Pose, actually doing the modify, and then detaching as a length obs of the Pose. This flag governs whether the last detach occurs.
Definition at line 318 of file BuildInstruction.hh.
References detach_after_modify_.
| void protocols::forge::build::BuildInstruction::detach_from | ( | ) |
detach from a Pose's conformation
Definition at line 176 of file BuildInstruction.cc.
References length_obs_link_.
Referenced by attach_to(), modify(), on_length_change(), reset_accounting(), and ~BuildInstruction().
|
inline |
does this BuildInstruction have dependencies?
Definition at line 237 of file BuildInstruction.hh.
References dependencies_.
Referenced by protocols::forge::build::SegmentRebuild::original_fixed_positions().
|
pure virtual |
a copy of the working range of residues specifying the modified region
This residue range can change wrt length changes in Pose /Conformation being watched.
Implemented in protocols::forge::build::SegmentInsert, protocols::forge::build::ConnectRight, protocols::forge::build::SegmentRebuild, protocols::forge::build::GrowLeft, protocols::forge::build::GrowRight, protocols::forge::build::Bridge, and protocols::forge::build::SegmentSwap.
Referenced by protocols::forge::build::BuildManager::intervals(), protocols::forge::build::BuildManager::intervals_containing_defined_positions(), protocols::forge::build::BuildManager::intervals_containing_new_positions(), protocols::forge::build::BuildManager::intervals_containing_preexisting_positions(), protocols::forge::build::BuildManager::intervals_containing_undefined_positions(), protocols::forge::build::BuildManager::intervals_without_valid_original_equivalents(), protocols::forge::build::BuildManager::modified2original_interval_endpoints(), protocols::forge::build::BuildManager::modified2original_intervals(), protocols::forge::build::BuildManager::modified_i2p_defined(), protocols::forge::build::BuildManager::modified_i2p_new(), protocols::forge::build::BuildManager::modified_i2p_preexisting(), protocols::forge::build::BuildManager::modified_i2p_undefined(), protocols::forge::build::BuildManager::modified_interval2movemap(), protocols::forge::build::BuildManager::original2modified_interval_endpoints(), protocols::forge::build::BuildManager::original2modified_intervals(), and protocols::forge::build::BuildManager::union_of_intervals_containing_undefined_positions().
|
inlineprotected |
access to the Conformation length observer link
Definition at line 405 of file BuildInstruction.hh.
References length_obs_link_.
Referenced by protocols::forge::build::SegmentRebuild::modify_impl().
| BuildInstructionState::Enum protocols::forge::build::BuildInstruction::modify | ( | Pose & | pose) |
modify this pose
Definition at line 109 of file BuildInstruction.cc.
References attach_to(), core::scoring::Energies::clear(), dependencies_satisfied(), detach_after_modify_, detach_from(), core::pose::Pose::energies(), modify_impl(), protocols::forge::build::BuildInstructionState::MODIFY_WAS_SUCCESSFUL, modify_was_successful(), state(), state_, and protocols::forge::build::BuildInstructionState::WAITING_ON_DEPENDENCIES.
Referenced by protocols::forge::build::BuildManager::modify(), and protocols::forge::build::Bridge::modify_impl().
|
protectedpure virtual |
do the actual work of modifying the Pose
Implemented in protocols::forge::build::SegmentInsert, protocols::forge::build::ConnectRight, protocols::forge::build::SegmentRebuild, protocols::forge::build::GrowLeft, protocols::forge::build::GrowRight, protocols::forge::build::Bridge, protocols::forge::build::SegmentSwap, and protocols::forge::build::RelativeConnectRight.
Referenced by modify().
| bool protocols::forge::build::BuildInstruction::modify_was_successful | ( | ) | const |
Is the BuildInstruction's state at MODIFY_WAS_SUCCESSFUL?
Definition at line 163 of file BuildInstruction.cc.
References protocols::forge::build::BuildInstructionState::MODIFY_WAS_SUCCESSFUL, and state_.
Referenced by modify(), protocols::forge::build::BuildManager::modify(), protocols::forge::build::ConnectRight::on_residue_append(), protocols::forge::build::ConnectRight::on_residue_delete(), and protocols::forge::build::ConnectRight::on_residue_prepend().
|
pure virtual |
return a copy of the MoveMap that defines the moveable/fixed positions/dofs for this instruction
This set can change wrt length changes in Pose/Conformation being watched.
Implemented in protocols::forge::build::SegmentInsert, protocols::forge::build::ConnectRight, protocols::forge::build::SegmentRebuild, protocols::forge::build::GrowLeft, protocols::forge::build::GrowRight, protocols::forge::build::Bridge, and protocols::forge::build::SegmentSwap.
Referenced by protocols::forge::build::BuildManager::modified_interval2movemap().
|
inline |
the number of dependencies this BuildInstruction has
Definition at line 244 of file BuildInstruction.hh.
References dependencies_.
Referenced by protocols::forge::build::RelativeConnectRight::modify_impl().
|
pure virtual |
return a copy of the set of positions that are "new" and did not exist in the original Pose.
Implemented in protocols::forge::build::SegmentInsert, protocols::forge::build::ConnectRight, protocols::forge::build::SegmentRebuild, protocols::forge::build::GrowLeft, protocols::forge::build::GrowRight, protocols::forge::build::Bridge, and protocols::forge::build::SegmentSwap.
Referenced by protocols::forge::build::BuildManager::intervals_containing_new_positions(), protocols::forge::build::BuildManager::modified_i2p_new(), and protocols::forge::build::BuildManager::modify().
| void protocols::forge::build::BuildInstruction::on_length_change | ( | LengthEvent const & | event) |
update any indexing wrt length change to Pose/Conformation being watched
Definition at line 182 of file BuildInstruction.cc.
References detach_from(), core::conformation::signals::LengthEvent::INVALIDATE, on_residue_append(), on_residue_delete(), on_residue_prepend(), core::conformation::signals::LengthEvent::RESIDUE_APPEND, core::conformation::signals::LengthEvent::RESIDUE_DELETE, core::conformation::signals::LengthEvent::RESIDUE_PREPEND, and core::conformation::signals::LengthEvent::tag.
Referenced by attach_to().
|
pure virtual |
update indexing on residue append
Implemented in protocols::forge::build::SegmentInsert, protocols::forge::build::ConnectRight, protocols::forge::build::SegmentRebuild, protocols::forge::build::GrowLeft, protocols::forge::build::GrowRight, protocols::forge::build::Bridge, and protocols::forge::build::SegmentSwap.
Referenced by on_length_change().
|
pure virtual |
update indexing on residue delete
Implemented in protocols::forge::build::SegmentInsert, protocols::forge::build::ConnectRight, protocols::forge::build::SegmentRebuild, protocols::forge::build::GrowLeft, protocols::forge::build::GrowRight, protocols::forge::build::Bridge, and protocols::forge::build::SegmentSwap.
Referenced by on_length_change().
|
pure virtual |
update indexing on residue prepend
Implemented in protocols::forge::build::SegmentInsert, protocols::forge::build::ConnectRight, protocols::forge::build::SegmentRebuild, protocols::forge::build::GrowLeft, protocols::forge::build::GrowRight, protocols::forge::build::Bridge, and protocols::forge::build::SegmentSwap.
Referenced by on_length_change().
| BuildInstruction & protocols::forge::build::BuildInstruction::operator= | ( | BuildInstruction const & | rval) |
copy assignment
Definition at line 94 of file BuildInstruction.cc.
References detach_after_modify_, original_interval_, rts_, and state_.
Referenced by protocols::forge::build::SegmentSwap::operator=(), protocols::forge::build::GrowRight::operator=(), protocols::forge::build::GrowLeft::operator=(), protocols::forge::build::ConnectRight::operator=(), protocols::forge::build::Bridge::operator=(), protocols::forge::build::SegmentRebuild::operator=(), and protocols::forge::build::SegmentInsert::operator=().
|
pure virtual |
return set of positions within the original interval that will be deleted in this BuildInstruction
Implemented in protocols::forge::build::SegmentInsert, protocols::forge::build::ConnectRight, protocols::forge::build::SegmentRebuild, protocols::forge::build::GrowLeft, protocols::forge::build::GrowRight, protocols::forge::build::Bridge, and protocols::forge::build::SegmentSwap.
Referenced by protocols::forge::build::BuildManager::modify(), protocols::forge::build::BuildManager::original_i2p_deleted(), and protocols::forge::build::BuildManager::original_intervals_containing_deleted_positions().
|
pure virtual |
return set of any fixed positions necessary with respect to the original interval and original Pose numbering
Implemented in protocols::forge::build::SegmentInsert, protocols::forge::build::ConnectRight, protocols::forge::build::SegmentRebuild, protocols::forge::build::GrowLeft, protocols::forge::build::GrowRight, protocols::forge::build::Bridge, protocols::forge::build::SegmentSwap, and protocols::forge::build::RelativeConnectRight.
Referenced by compatible_with().
|
inline |
return original residue range of this instruction
Definition at line 223 of file BuildInstruction.hh.
References original_interval_.
Referenced by protocols::forge::build::BuildManager::modified2original_interval_endpoints(), protocols::forge::build::BuildManager::modified2original_intervals(), protocols::forge::build::SegmentSwap::modify_impl(), protocols::forge::build::SegmentRebuild::modify_impl(), protocols::forge::build::SegmentInsert::modify_impl(), protocols::forge::build::BuildManager::original2modified_interval_endpoints(), protocols::forge::build::BuildManager::original2modified_intervals(), protocols::forge::build::SegmentSwap::original_deleted_positions(), protocols::forge::build::Bridge::original_deleted_positions(), protocols::forge::build::SegmentRebuild::original_deleted_positions(), protocols::forge::build::SegmentInsert::original_deleted_positions(), protocols::forge::build::Bridge::original_fixed_positions(), protocols::forge::build::GrowLeft::original_fixed_positions(), protocols::forge::build::GrowRight::original_fixed_positions(), protocols::forge::build::SegmentRebuild::original_fixed_positions(), protocols::forge::build::ConnectRight::original_fixed_positions(), protocols::forge::build::SegmentInsert::original_fixed_positions(), protocols::forge::build::BuildManager::original_i2p_deleted(), protocols::forge::build::BuildManager::original_i2p_kept(), protocols::forge::build::BuildManager::original_intervals_containing_deleted_positions(), protocols::forge::build::BuildManager::original_intervals_containing_kept_positions(), protocols::forge::build::Bridge::original_kept_positions(), protocols::forge::build::SegmentSwap::original_mutable_positions(), protocols::forge::build::Bridge::original_mutable_positions(), protocols::forge::build::SegmentRebuild::original_mutable_positions(), protocols::forge::build::SegmentInsert::performing_pure_insertion(), protocols::forge::build::SegmentSwap::reset_accounting_impl(), protocols::forge::build::Bridge::reset_accounting_impl(), protocols::forge::build::GrowRight::reset_accounting_impl(), protocols::forge::build::GrowLeft::reset_accounting_impl(), protocols::forge::build::SegmentRebuild::reset_accounting_impl(), protocols::forge::build::SegmentInsert::reset_accounting_impl(), and protocols::forge::build::ConnectRight::reset_accounting_impl().
|
pure virtual |
is the original interval storing valid information, or is empty or being used for something else?
Implemented in protocols::forge::build::SegmentInsert, protocols::forge::build::ConnectRight, protocols::forge::build::SegmentRebuild, protocols::forge::build::GrowLeft, protocols::forge::build::GrowRight, protocols::forge::build::Bridge, and protocols::forge::build::SegmentSwap.
Referenced by protocols::forge::build::BuildManager::intervals_without_valid_original_equivalents(), protocols::forge::build::BuildManager::modified2original_interval_endpoints(), protocols::forge::build::BuildManager::modified2original_intervals(), protocols::forge::build::BuildManager::original2modified_interval_endpoints(), and protocols::forge::build::BuildManager::original2modified_intervals().
|
pure virtual |
return the set of positions within the original interval that will be kept in this BuildInstruction
Implemented in protocols::forge::build::SegmentInsert, protocols::forge::build::ConnectRight, protocols::forge::build::SegmentRebuild, protocols::forge::build::GrowLeft, protocols::forge::build::GrowRight, protocols::forge::build::Bridge, and protocols::forge::build::SegmentSwap.
Referenced by protocols::forge::build::BuildManager::original_i2p_kept(), and protocols::forge::build::BuildManager::original_intervals_containing_kept_positions().
|
pure virtual |
return set of any mutable positions necessary with respect to the original interval and original Pose numbering
Implemented in protocols::forge::build::SegmentInsert, protocols::forge::build::ConnectRight, protocols::forge::build::SegmentRebuild, protocols::forge::build::GrowLeft, protocols::forge::build::GrowRight, protocols::forge::build::Bridge, and protocols::forge::build::SegmentSwap.
Referenced by compatible_with().
|
pure virtual |
return a copy of the set of positions within the new region that were pre-existing in the original Pose prior to modify()
Implemented in protocols::forge::build::SegmentInsert, protocols::forge::build::ConnectRight, protocols::forge::build::SegmentRebuild, protocols::forge::build::GrowLeft, protocols::forge::build::GrowRight, protocols::forge::build::Bridge, and protocols::forge::build::SegmentSwap.
Referenced by protocols::forge::build::BuildManager::intervals_containing_preexisting_positions(), and protocols::forge::build::BuildManager::modified_i2p_preexisting().
| bool protocols::forge::build::BuildInstruction::ready | ( | ) | const |
Is the BuildInstruction's state at READY?
Definition at line 145 of file BuildInstruction.cc.
References protocols::forge::build::BuildInstructionState::READY, and state_.
| void protocols::forge::build::BuildInstruction::reset_accounting | ( | ) |
reset intervals, positions, etc to initial state and drop observers. State set to READY.
Reset intervals, positions, etc to initial state and drop observers. State set to READY.
Definition at line 209 of file BuildInstruction.cc.
References detach_from(), protocols::forge::build::BuildInstructionState::READY, reset_accounting_impl(), and state().
|
protectedpure virtual |
do the actual reset of intervals, positions, etc to initial state
Implemented in protocols::forge::build::ConnectRight, protocols::forge::build::SegmentInsert, protocols::forge::build::SegmentRebuild, protocols::forge::build::GrowLeft, protocols::forge::build::GrowRight, protocols::forge::build::Bridge, and protocols::forge::build::SegmentSwap.
Referenced by reset_accounting().
|
inline |
the residue type set being used
Definition at line 230 of file BuildInstruction.hh.
References rts_.
Referenced by protocols::forge::build::Bridge::modify_impl(), protocols::forge::build::GrowLeft::modify_impl(), protocols::forge::build::GrowRight::modify_impl(), protocols::forge::build::SegmentRebuild::modify_impl(), and protocols::forge::build::SegmentInsert::modify_impl().
|
inline |
return the state of this BuildInstruction
Definition at line 149 of file BuildInstruction.hh.
References state_.
Referenced by modify(), and reset_accounting().
|
inlineprotected |
set the BuildInstruction's current state
Definition at line 435 of file BuildInstruction.hh.
References state_.
|
pure virtual |
return a copy of the set of positions within the newly modified region that has an undefined conformation. E.g. newly created residues.
This set can change wrt length changes in Pose/Conformation being watched.
Implemented in protocols::forge::build::SegmentInsert, protocols::forge::build::ConnectRight, protocols::forge::build::SegmentRebuild, protocols::forge::build::GrowLeft, protocols::forge::build::GrowRight, protocols::forge::build::Bridge, and protocols::forge::build::SegmentSwap.
Referenced by protocols::forge::build::BuildManager::intervals_containing_undefined_positions(), protocols::forge::build::BuildManager::modified_i2p_undefined(), and protocols::forge::build::BuildManager::union_of_intervals_containing_undefined_positions().
| bool protocols::forge::build::BuildInstruction::waiting_on_dependencies | ( | ) | const |
Is the BuildInstruction's state at WAITING_ON_DEPENDENCIES?
Definition at line 154 of file BuildInstruction.cc.
References state_, and protocols::forge::build::BuildInstructionState::WAITING_ON_DEPENDENCIES.
|
private |
if this BuildInstruction's modify() is dependent on any other BuildInstructions whose modify() must complete first, we store access to those instructions here
Definition at line 485 of file BuildInstruction.hh.
Referenced by add_dependency_to(), clear_dependencies(), dependencies(), dependencies_satisfied(), dependent_on(), has_dependencies(), and n_dependencies().
|
private |
detach after performing modify()
Ordinarily a modify() call consists of attaching as a length obs of the Pose, actually doing the modify, and then detaching as a length obs of the Pose. This flag governs whether the last detach occurs.
Definition at line 477 of file BuildInstruction.hh.
Referenced by detach_after_modify(), modify(), and operator=().
|
private |
Conformation length observer link.
Definition at line 469 of file BuildInstruction.hh.
Referenced by attach_to(), detach_from(), and length_obs_link().
|
private |
defines the original residue range via closed interval [first, second] or an original anchor position [anchor, anchor] that's marked as invalid
Definition at line 461 of file BuildInstruction.hh.
Referenced by operator=(), and original_interval().
|
private |
the residue type set to use
Definition at line 465 of file BuildInstruction.hh.
Referenced by compatible_with(), operator=(), and residue_type_set().
|
private |
Describes the state of the BuildInstruction.
modify() functions for more information. Definition at line 455 of file BuildInstruction.hh.
Referenced by modify(), modify_was_successful(), operator=(), ready(), state(), and waiting_on_dependencies().
1.8.4