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