![]() |
Rosetta
2021.16
|
Special Observer which apply PyMOLMover if Pose is changed. More...
#include <PyMOLMover.hh>

Public Types | |
| enum | ObserverType { no_observer = 0, general_observer = 1, energy_observer = 2, conformation_observer = 4 } |
Public Member Functions | |
| PyMOLObserver () | |
| PyMOLObserver (PyMOLObserver const &rval) | |
| ~PyMOLObserver () override | |
| PyMOLObserver & | operator= (PyMOLObserver const &rval) |
| core::pose::datacache::CacheableObserverOP | clone () override |
| clone this object More... | |
| core::pose::datacache::CacheableObserverOP | create () override |
| create a new instance of this object More... | |
| void | set_type (ObserverType setting) |
| void | add_type (ObserverType setting) |
| ObserverType | get_type () const |
| bool | is_attached () const override |
| is this observer attached to a Pose/Conformation? More... | |
| virtual void | generalEvent (core::pose::signals::GeneralEvent const &ev) |
| virtual void | energyEvent (core::pose::signals::EnergyEvent const &ev) |
| virtual void | conformationEvent (core::pose::signals::ConformationEvent const &ev) |
| PyMOLMover & | pymol () |
| void | attach (core::pose::Pose &p) |
| Attach observer to the pose object. More... | |
| void | detach (core::pose::Pose &p) |
| Detach observer from the pose object. More... | |
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... | |
| CacheableObserver & | operator= (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 | update_links () |
Private Attributes | |
| ObserverType | type_ |
| PyMOLMover | pymol_ |
| utility::signals::Link | general_event_link_ |
| utility::signals::Link | energy_event_link_ |
| utility::signals::Link | conformation_event_link_ |
Special Observer which apply PyMOLMover if Pose is changed.
| protocols::moves::PyMOLObserver::PyMOLObserver | ( | ) |
| protocols::moves::PyMOLObserver::PyMOLObserver | ( | PyMOLObserver const & | rval | ) |
|
override |
| void protocols::moves::PyMOLObserver::add_type | ( | ObserverType | setting | ) |
References type_.
| void protocols::moves::PyMOLObserver::attach | ( | core::pose::Pose & | p | ) |
Attach observer to the pose object.
References core::pose::datacache::CacheableObserver::attach_to().
|
overrideprotectedvirtual |
attach to Pose/Conformation
Implements core::pose::datacache::CacheableObserver.
References core::pose::Pose::attach_conformation_obs(), core::pose::Pose::attach_energy_obs(), core::pose::Pose::attach_general_obs(), conformation_event_link_, conformation_observer, conformationEvent(), energy_event_link_, energy_observer, energyEvent(), general_event_link_, general_observer, generalEvent(), and type_.
|
overridevirtual |
clone this object
Implements core::pose::datacache::CacheableObserver.
|
inlinevirtual |
References protocols::moves::PyMOLMover::apply(), core::pose::signals::GeneralEvent::pose, and pymol_.
Referenced by attach_impl().
|
overridevirtual |
create a new instance of this object
Implements core::pose::datacache::CacheableObserver.
| void protocols::moves::PyMOLObserver::detach | ( | core::pose::Pose & | p | ) |
Detach observer from the pose object.
References core::pose::datacache::CacheableObserver::detach_from().
|
overrideprotectedvirtual |
detach from Pose/Conformation
Implements core::pose::datacache::CacheableObserver.
References conformation_event_link_, energy_event_link_, and general_event_link_.
|
inlinevirtual |
References protocols::moves::PyMOLMover::apply(), core::pose::signals::GeneralEvent::pose, and pymol_.
Referenced by attach_impl().
|
inlinevirtual |
References protocols::moves::PyMOLMover::apply(), core::pose::signals::GeneralEvent::pose, and pymol_.
Referenced by attach_impl().
|
inline |
References type_.
|
overridevirtual |
is this observer attached to a Pose/Conformation?
Implements core::pose::datacache::CacheableObserver.
References conformation_event_link_, energy_event_link_, and general_event_link_.
| PyMOLObserver & protocols::moves::PyMOLObserver::operator= | ( | PyMOLObserver const & | rval | ) |
References core::pose::datacache::CacheableObserver::operator=(), pymol_, and type_.
|
inline |
References pymol_.
| void protocols::moves::PyMOLObserver::set_type | ( | ObserverType | setting | ) |
References type_.
|
protected |
|
private |
Referenced by attach_impl(), detach_impl(), and is_attached().
|
private |
Referenced by attach_impl(), detach_impl(), and is_attached().
|
private |
Referenced by attach_impl(), detach_impl(), and is_attached().
|
private |
Referenced by conformationEvent(), energyEvent(), generalEvent(), operator=(), and pymol().
|
private |
Referenced by add_type(), attach_impl(), get_type(), operator=(), and set_type().
1.8.7