malcolm.modules.ADTetrAMM.parts¶
- class malcolm.modules.ADTetrAMM.parts.TetrAMMDriverPart(name: Anno(name='APartName', typ=<class 'str'>, description='The name of the Part within the Controller'), mri: Anno(name='AMri', typ=<class 'str'>, description='Malcolm resource id of child object'))[source]¶
- Parameters
- setup(registrar: malcolm.core.part.PartRegistrar) → None[source]¶
Use the given
PartRegistrarto populate the hooks and fields. This function is called for all parts in a block when the block’sControlleris added to aProcess
- on_post_configure(context: Anno(name='AContext', typ=<class 'malcolm.core.context.Context'>, description='Context that should be used to perform operations on child blocks'))[source]¶
- Parameters
context (Context) – Context that should be used to perform operations on child blocks
- on_run(context: Anno(name='AContext', typ=<class 'malcolm.core.context.Context'>, description='Context that should be used to perform operations on child blocks')) → None[source]¶
- Parameters
context (Context) – Context that should be used to perform operations on child blocks