poppy.core.generic.timer module

Pipeline Timer

class poppy.core.generic.timer.Timer[source]

Bases: object

A class timer to make periodic calls to a given function or single shot calls after a given amount of time.

singleShot(time=None)[source]

To run the timer just one time after a given delay.

start(time)[source]

To start the periodic timer.

stop()[source]

To stop the timer, if it is periodic or single shot.