Rosetta  2021.16
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Types | Public Member Functions | Private Types | Private Member Functions | Private Attributes | List of all members
protocols::viewer::SilentObserver Class Reference

#include <SilentObserver.hh>

Inheritance diagram for protocols::viewer::SilentObserver:
Inheritance graph
[legend]

Public Types

typedef core::pose::Pose Pose
 

Public Member Functions

 SilentObserver ()
 default constructor More...
 
 SilentObserver (std::string const &name, bool fullatom)
 constructor More...
 
 ~SilentObserver () override
 default destructor More...
 
void attach_to (Pose &pose)
 attach to a Pose More...
 
void detach_from ()
 detach from Pose More...
 
void on_energy_change (core::pose::signals::EnergyEvent const &event)
 upon receiving an EnergyEvent write to silent file More...
 

Private Types

typedef utility::VirtualBase Super
 

Private Member Functions

 SilentObserver (SilentObserver const &rval)
 disallow copy constructor More...
 
SilentObserveroperator= (SilentObserver const &rval)
 disallow copy assignment More...
 

Private Attributes

int frame_count_
 
bool fullatom_
 
std::string silent_file_name_
 
core::io::silent::SilentFileDataOP sfd_
 
utility::signals::Link energy_event_link_
 

Member Typedef Documentation

typedef utility::VirtualBase protocols::viewer::SilentObserver::Super
private

Constructor & Destructor Documentation

protocols::viewer::SilentObserver::SilentObserver ( )
default

default constructor

protocols::viewer::SilentObserver::SilentObserver ( std::string const &  name,
bool  fullatom = false 
)

constructor

References sfd_.

protocols::viewer::SilentObserver::~SilentObserver ( )
override

default destructor

References detach_from().

protocols::viewer::SilentObserver::SilentObserver ( SilentObserver const &  rval)
private

disallow copy constructor

Member Function Documentation

void protocols::viewer::SilentObserver::attach_to ( Pose pose)
void protocols::viewer::SilentObserver::detach_from ( )

detach from Pose

References energy_event_link_.

Referenced by attach_to(), and ~SilentObserver().

void protocols::viewer::SilentObserver::on_energy_change ( core::pose::signals::EnergyEvent const &  event)

upon receiving an EnergyEvent write to silent file

References frame_count_, core::pose::signals::GeneralEvent::pose, sfd_, and silent_file_name_.

Referenced by attach_to().

SilentObserver& protocols::viewer::SilentObserver::operator= ( SilentObserver const &  rval)
private

disallow copy assignment

Member Data Documentation

utility::signals::Link protocols::viewer::SilentObserver::energy_event_link_
private

Referenced by attach_to(), and detach_from().

int protocols::viewer::SilentObserver::frame_count_
private

Referenced by on_energy_change().

bool protocols::viewer::SilentObserver::fullatom_
private
core::io::silent::SilentFileDataOP protocols::viewer::SilentObserver::sfd_
private

Referenced by on_energy_change(), and SilentObserver().

std::string protocols::viewer::SilentObserver::silent_file_name_
private

Referenced by on_energy_change().


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