Rosetta Core  2014.35
Public Types | Public Member Functions | Public Attributes | List of all members
core::conformation::signals::LengthEvent Struct Reference

signals a change in length of residues in a Conformation More...

#include <LengthEvent.hh>

Public Types

enum  Tag {
  EMPTY, INVALIDATE, RESIDUE_APPEND, RESIDUE_PREPEND,
  RESIDUE_DELETE
}
 the type of length change More...
 
typedef core::Size Size
 
typedef GeneralEvent Super
 
- Public Types inherited from core::conformation::signals::GeneralEvent
typedef
core::conformation::Conformation 
Conformation
 

Public Member Functions

 LengthEvent ()
 default constructor More...
 
 LengthEvent (Conformation const *conf, Tag const t, Size const &pos, int const &len_chg, Residue const *res)
 constructor More...
 
 LengthEvent (LengthEvent const &rval)
 copy constructor More...
 
virtual ~LengthEvent ()
 default destructor More...
 
LengthEventoperator= (LengthEvent const &rval)
 copy assignment More...
 
- Public Member Functions inherited from core::conformation::signals::GeneralEvent
 GeneralEvent ()
 default constructor More...
 
 GeneralEvent (Conformation const *conf)
 constructor More...
 
 GeneralEvent (GeneralEvent const &rval)
 copy constructor More...
 
virtual ~GeneralEvent ()
 default destructor More...
 
GeneralEventoperator= (GeneralEvent const &rval)
 copy assignment More...
 

Public Attributes

Tag tag
 tag indicating type of length change More...
 
Size position
 residue position where the event happened More...
 
int length_change
 overall length change of the conformation More...
 
ResidueCAP residue
 direct access to residue More...
 
- Public Attributes inherited from core::conformation::signals::GeneralEvent
Conformation const * conformation
 the Conformation firing the signal More...
 

Detailed Description

signals a change in length of residues in a Conformation

Remarks
When accessing residue information, take care as to which data member you choose. For almost all situations the ResidueCAP 'residue' should be used instead of the Conformation. See remarks below.

Member Typedef Documentation

Member Enumeration Documentation

the type of length change

Enumerator
EMPTY 
INVALIDATE 
RESIDUE_APPEND 
RESIDUE_PREPEND 
RESIDUE_DELETE 

Constructor & Destructor Documentation

core::conformation::signals::LengthEvent::LengthEvent ( )
inline

default constructor

core::conformation::signals::LengthEvent::LengthEvent ( Conformation const *  conf,
Tag const  t,
Size const &  pos,
int const &  len_chg,
Residue const *  res 
)
inline

constructor

Parameters
ttype of length change
posresidue position
core::conformation::signals::LengthEvent::LengthEvent ( LengthEvent const &  rval)
inline

copy constructor

virtual core::conformation::signals::LengthEvent::~LengthEvent ( )
inlinevirtual

default destructor

Member Function Documentation

LengthEvent& core::conformation::signals::LengthEvent::operator= ( LengthEvent const &  rval)
inline

Member Data Documentation

int core::conformation::signals::LengthEvent::length_change
Size core::conformation::signals::LengthEvent::position
ResidueCAP core::conformation::signals::LengthEvent::residue

direct access to residue

Remarks
Almost always want to use this to access the residue instead of the conformation. Calling Conformation::residue() can cause an internal update/re-sync inside Pose, which may have consequences if you're depending upon multiple residue operations to be setup (such as bond angle/length changes) prior to an internal update.

Referenced by core::pose::PDBInfo::on_length_change(), and operator=().

Tag core::conformation::signals::LengthEvent::tag

The documentation for this struct was generated from the following file: