Rosetta 3.4
Public Types | Public Member Functions | Protected Member Functions
core::pose::datacache::LengthEventCollector Class Reference

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

#include <cacheable_observers.hh>

Inheritance diagram for core::pose::datacache::LengthEventCollector:
Inheritance graph
[legend]
Collaboration diagram for core::pose::datacache::LengthEventCollector:
Collaboration graph
[legend]

List of all members.

Public Types

typedef utility::signals::Link Link

Public Member Functions

 LengthEventCollector ()
 default constructor
 LengthEventCollector (LengthEventCollector const &rval)
 copy constructor
 ~LengthEventCollector ()
 default destructor
LengthEventCollectoroperator= (LengthEventCollector const &rval)
 copy assignment
pose::datacache::CacheableObserverOP clone ()
 clone this object
pose::datacache::CacheableObserverOP create ()
 create a new instance of this object
bool is_attached () const
 is this observer attached to a Pose/Conformation?
void clear_events ()
utility::vector1
< core::conformation::signals::LengthEvent >
const & 
events () const

Protected Member Functions

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

Detailed Description

a cacheable observer that keeps track of what length events occured


Member Typedef Documentation

typedef utility::signals::Link core::pose::datacache::LengthEventCollector::Link

Constructor & Destructor Documentation

core::pose::datacache::LengthEventCollector::LengthEventCollector ( )

default constructor

Referenced by clone(), and create().

core::pose::datacache::LengthEventCollector::LengthEventCollector ( LengthEventCollector const &  rval)

copy constructor

Warning:
Subject being observed (represented by Link/pointer) is not copied!
core::pose::datacache::LengthEventCollector::~LengthEventCollector ( )

default destructor

Remarks:
detaches during destruction

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


Member Function Documentation

void core::pose::datacache::LengthEventCollector::attach_impl ( pose::Pose pose) [protected, virtual]
void core::pose::datacache::LengthEventCollector::clear_events ( ) [inline]
pose::datacache::CacheableObserverOP core::pose::datacache::LengthEventCollector::clone ( ) [virtual]

clone this object

Warning:
Subject (represented by Link/pointer) is not copied!

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

References LengthEventCollector().

pose::datacache::CacheableObserverOP core::pose::datacache::LengthEventCollector::create ( ) [virtual]

create a new instance of this object

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

References LengthEventCollector().

void core::pose::datacache::LengthEventCollector::detach_impl ( ) [protected, virtual]

detach from Pose/Conformation

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

utility::vector1< core::conformation::signals::LengthEvent > const & core::pose::datacache::LengthEventCollector::events ( ) const
bool core::pose::datacache::LengthEventCollector::is_attached ( ) const [inline, virtual]

is this observer attached to a Pose/Conformation?

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

void core::pose::datacache::LengthEventCollector::on_length_change ( conformation::signals::LengthEvent const &  event) [protected]

all this class does is keep track of length events

Referenced by attach_impl().

LengthEventCollector & core::pose::datacache::LengthEventCollector::operator= ( LengthEventCollector const &  rval)

copy assignment

Warning:
Subject being observed (represented by Link/pointer) is not copied!

The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines