bard.dispatcher module
basic package for the program.
-
class DISPATCHER(zelf, *args, **kwargs)[source]
Bases: bard.object.Object
the dispatcher delegates the workload to the Runners. Runner gets instantiated when needed.
-
collect(zelf, *args, **kwargs)[source]
-
event(zelf, *args, **kwargs)[source]
-
handle_cmnd(zelf, *args, **kwargs)[source]
-
handle_event(zelf, *args, **kwargs)[source]
-
put(zelf, *args, **kwargs)[source]
-
single(zelf, *args, **kwargs)[source]
-
start(zelf, *args, **kwargs)[source]
-
stop(zelf, *args, **kwargs)[source]
-
class RUNNER(zelf, *args, **kwargs)[source]
Bases: threading.Thread
the working unit of BARD.
-
clear(zelf)[source]
clear the ready state.
-
nr = 0
-
put(zelf, *args, **kwargs)[source]
put arguments/kwargs to the Runner.
-
ready(zelf)[source]
signal to ready state.
-
stop(zelf, *args, **kwargs)[source]
-
wait(zelf, sec=180.0)[source]
wait for ready state.