Rosetta  2021.16
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | Protected Member Functions | Private Member Functions | Private Attributes | List of all members
protocols::denovo_design::components::StructureDataObserver Class Reference

a cacheable observer that keeps track of what length events occured More...

#include <StructureDataObserver.hh>

Inheritance diagram for protocols::denovo_design::components::StructureDataObserver:
Inheritance graph
[legend]

Public Member Functions

 StructureDataObserver ()
 
 StructureDataObserver (StructureDataOP sd)
 default constructor More...
 
 ~StructureDataObserver () override
 default destructor More...
 
core::pose::datacache::CacheableObserverOP clone () override
 clone this object More...
 
core::pose::datacache::CacheableObserverOP create () override
 create a new instance of this object More...
 
bool is_attached () const override
 is this observer attached to a Pose/Conformation? More...
 
void set_length_event_link (utility::signals::Link const &length_event)
 
- Public Member Functions inherited from core::pose::datacache::CacheableObserver
 CacheableObserver ()
 default constructor More...
 
 CacheableObserver (CacheableObserver const &rval)
 copy constructor More...
 
 ~CacheableObserver () override
 default destructor More...
 
CacheableObserveroperator= (CacheableObserver const &rval)
 copy assignment More...
 
void attach_to (Pose &pose)
 attach to Pose/Conformation Derived classes do not overload this method – see attach_impl() instead. More...
 
void detach_from ()
 detach from Pose/Conformation More...
 

Protected Member Functions

void attach_impl (core::pose::Pose &pose) override
 attach to Pose/Conformation More...
 
void detach_impl () override
 detach from Pose/Conformation More...
 
void on_length_change (core::conformation::signals::LengthEvent const &event)
 

Private Member Functions

void on_residue_delete (core::conformation::signals::LengthEvent const &event)
 
void on_residue_append (core::conformation::signals::LengthEvent const &event)
 
void on_residue_prepend (core::conformation::signals::LengthEvent const &event)
 

Private Attributes

StructureDataOP sd_
 
utility::signals::Link length_event_link_
 

Detailed Description

a cacheable observer that keeps track of what length events occured

Constructor & Destructor Documentation

protocols::denovo_design::components::StructureDataObserver::StructureDataObserver ( )
protocols::denovo_design::components::StructureDataObserver::StructureDataObserver ( StructureDataOP  sd)

default constructor

protocols::denovo_design::components::StructureDataObserver::~StructureDataObserver ( )
override

default destructor

Remarks
detaches during destruction

References core::pose::datacache::CacheableObserver::detach_from().

Member Function Documentation

void protocols::denovo_design::components::StructureDataObserver::attach_impl ( core::pose::Pose pose)
overrideprotectedvirtual
core::pose::datacache::CacheableObserverOP protocols::denovo_design::components::StructureDataObserver::clone ( )
overridevirtual

clone this object

Implements core::pose::datacache::CacheableObserver.

core::pose::datacache::CacheableObserverOP protocols::denovo_design::components::StructureDataObserver::create ( )
overridevirtual

create a new instance of this object

Implements core::pose::datacache::CacheableObserver.

void protocols::denovo_design::components::StructureDataObserver::detach_impl ( )
overrideprotectedvirtual

detach from Pose/Conformation

Implements core::pose::datacache::CacheableObserver.

References length_event_link_.

bool protocols::denovo_design::components::StructureDataObserver::is_attached ( ) const
overridevirtual

is this observer attached to a Pose/Conformation?

Implements core::pose::datacache::CacheableObserver.

References length_event_link_.

void protocols::denovo_design::components::StructureDataObserver::on_length_change ( core::conformation::signals::LengthEvent const &  event)
protected
void protocols::denovo_design::components::StructureDataObserver::on_residue_append ( core::conformation::signals::LengthEvent const &  event)
private
void protocols::denovo_design::components::StructureDataObserver::on_residue_delete ( core::conformation::signals::LengthEvent const &  event)
private
void protocols::denovo_design::components::StructureDataObserver::on_residue_prepend ( core::conformation::signals::LengthEvent const &  event)
private
void protocols::denovo_design::components::StructureDataObserver::set_length_event_link ( utility::signals::Link const &  length_event)
inline

References length_event_link_.

Referenced by attach_impl().

Member Data Documentation

utility::signals::Link protocols::denovo_design::components::StructureDataObserver::length_event_link_
private
StructureDataOP protocols::denovo_design::components::StructureDataObserver::sd_
private

Referenced by on_residue_delete().


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