signals¶
Bindings for core::conformation::signals namespace
- class pyrosetta.rosetta.core.conformation.signals.ConnectionEvent¶
Bases:
pybind11_object
- signal a change in the connection with a Conformation object, e.g.
destruction or transfer
- SUGGESTION: Try to use the Link management provided by the
SignalHub instead of listening to this event, as it typically makes managing connections much easier.
- DISCONNECT = <Tag.DISCONNECT: 1>¶
- EMPTY = <Tag.EMPTY: 0>¶
- TRANSFER = <Tag.TRANSFER: 2>¶
- class Tag¶
Bases:
pybind11_object
the type of Conformation lifetime event
Current tags are as follows:
- ‘EMPTY’ - null event for default ConnectionEvent constructor (no point
in watching for this non-event)
‘DISCONNECT’ - force disconnect (e.g. the Conformation is getting destroyed) ‘TRANSFER’ - the connection is getting transferred to a
new Conformation, so if any observers are storing Conformation pointers (e.g. those not using Link management) then they should discard the existing Conformation pointer and swap it with the one provided by the Event.
Members:
EMPTY
DISCONNECT
TRANSFER
- DISCONNECT = <Tag.DISCONNECT: 1>¶
- EMPTY = <Tag.EMPTY: 0>¶
- TRANSFER = <Tag.TRANSFER: 2>¶
- property name¶
- property value¶
- assign(self: pyrosetta.rosetta.core.conformation.signals.ConnectionEvent, rval: pyrosetta.rosetta.core.conformation.signals.ConnectionEvent) pyrosetta.rosetta.core.conformation.signals.ConnectionEvent ¶
copy assignment
C++: core::conformation::signals::ConnectionEvent::operator=(const struct core::conformation::signals::ConnectionEvent &) –> struct core::conformation::signals::ConnectionEvent &
- property tag¶
- class pyrosetta.rosetta.core.conformation.signals.GeneralEvent¶
Bases:
pybind11_object
signals a general change in a Conformation
- assign(self: pyrosetta.rosetta.core.conformation.signals.GeneralEvent, rval: pyrosetta.rosetta.core.conformation.signals.GeneralEvent) pyrosetta.rosetta.core.conformation.signals.GeneralEvent ¶
copy assignment
C++: core::conformation::signals::GeneralEvent::operator=(const struct core::conformation::signals::GeneralEvent &) –> struct core::conformation::signals::GeneralEvent &
- class pyrosetta.rosetta.core.conformation.signals.IdentityEvent¶
Bases:
GeneralEvent
signals a change in residue identity in a Conformation
- 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.
- EMPTY = <Tag.EMPTY: 0>¶
- INVALIDATE = <Tag.INVALIDATE: 1>¶
- RESIDUE = <Tag.RESIDUE: 2>¶
- class Tag¶
Bases:
pybind11_object
the type of length change
Members:
EMPTY
INVALIDATE
RESIDUE
- EMPTY = <Tag.EMPTY: 0>¶
- INVALIDATE = <Tag.INVALIDATE: 1>¶
- RESIDUE = <Tag.RESIDUE: 2>¶
- property name¶
- property value¶
- assign(self: pyrosetta.rosetta.core.conformation.signals.IdentityEvent, rval: pyrosetta.rosetta.core.conformation.signals.IdentityEvent) pyrosetta.rosetta.core.conformation.signals.IdentityEvent ¶
copy assignment
C++: core::conformation::signals::IdentityEvent::operator=(const struct core::conformation::signals::IdentityEvent &) –> struct core::conformation::signals::IdentityEvent &
- property position¶
- property tag¶
- class pyrosetta.rosetta.core.conformation.signals.LengthEvent¶
Bases:
GeneralEvent
signals a change in length of residues in a Conformation
- 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.
- EMPTY = <Tag.EMPTY: 0>¶
- INVALIDATE = <Tag.INVALIDATE: 1>¶
- RESIDUE_APPEND = <Tag.RESIDUE_APPEND: 2>¶
- RESIDUE_DELETE = <Tag.RESIDUE_DELETE: 4>¶
- RESIDUE_PREPEND = <Tag.RESIDUE_PREPEND: 3>¶
- class Tag¶
Bases:
pybind11_object
the type of length change
Members:
EMPTY
INVALIDATE
RESIDUE_APPEND
RESIDUE_PREPEND
RESIDUE_DELETE
- EMPTY = <Tag.EMPTY: 0>¶
- INVALIDATE = <Tag.INVALIDATE: 1>¶
- RESIDUE_APPEND = <Tag.RESIDUE_APPEND: 2>¶
- RESIDUE_DELETE = <Tag.RESIDUE_DELETE: 4>¶
- RESIDUE_PREPEND = <Tag.RESIDUE_PREPEND: 3>¶
- property name¶
- property value¶
- assign(self: pyrosetta.rosetta.core.conformation.signals.LengthEvent, rval: pyrosetta.rosetta.core.conformation.signals.LengthEvent) pyrosetta.rosetta.core.conformation.signals.LengthEvent ¶
copy assignment
C++: core::conformation::signals::LengthEvent::operator=(const struct core::conformation::signals::LengthEvent &) –> struct core::conformation::signals::LengthEvent &
- check_consistency(self: pyrosetta.rosetta.core.conformation.signals.LengthEvent) None ¶
C++: core::conformation::signals::LengthEvent::check_consistency() const –> void
- property conformation_size¶
- property length_change¶
- property position¶
- property tag¶
- class pyrosetta.rosetta.core.conformation.signals.XYZEvent¶
Bases:
GeneralEvent
signals a change in XYZ coordinates in a Conformation
- This signal should be sent when XYZs and DOFs change in
the atom tree inside the Conformation. Treat the atom tree as the primary subject, as the residues container is designed to be update as necessary and will lag behind.
- assign(self: pyrosetta.rosetta.core.conformation.signals.XYZEvent, rval: pyrosetta.rosetta.core.conformation.signals.XYZEvent) pyrosetta.rosetta.core.conformation.signals.XYZEvent ¶
copy assignment
C++: core::conformation::signals::XYZEvent::operator=(const struct core::conformation::signals::XYZEvent &) –> struct core::conformation::signals::XYZEvent &