Heartbeat
- class simframe.frame.Heartbeat(updater=None, systole=None, diastole=None)[source]
Bases:
object
This class controls an update including
systole
anddiastole
.A full cardiac cycle constists of a systole operation, the actual update and a systole operation. All three are of type
Updater
.The
beat
function callssystole
,updater
,diastole
in that order and returns the return value of theupdater
. Any positional or keyword arguments are only passed to theupdater
, NOT tosystole
anddiastole
.- Attributes:
Methods
beat
(owner, *args[, Y])This method executes
systole
,updater
, anddistole
in that order and returns the return value of theupdater
.Attributes Summary
Updater
that is called at the end of the cardiac cycle.Updater
that is called in the beginning of cardiac cycle.Updater
that is performing the update instruction.Methods Summary
beat
(owner, *args[, Y])This method executes
systole
,updater
, anddistole
in that order and returns the return value of theupdater
.Attributes Documentation
- diastole
Updater
that is called at the end of the cardiac cycle.
- systole
Updater
that is called in the beginning of cardiac cycle.
- updater
Updater
that is performing the update instruction.
Methods Documentation