Public Member Functions | |
def | __init__ |
def | start |
def | stop |
Basic service interface. If you want your own service, you should respect this interface so that your service can be used by the looper.
Definition at line 1 of file service.py.
def service.Service.__init__ | ( | self, | |
cfg, | |||
comp, | |||
outdir | |||
) |
cfg: framework.config.Service object containing whatever parameters you need comp: dummy parameter outdir: output directory for your service (feel free not to use it) Please have a look at TFileService for more information
Definition at line 7 of file service.py.
def service.Service.start | ( | self | ) |
Start the service. Called by the looper, not by the user.
Definition at line 17 of file service.py.
Referenced by progressbar.ProgressBar.__next__().
def service.Service.stop | ( | self | ) |