bibliopixel.layout.update_threading module

class bibliopixel.layout.update_threading.NoThreading(layout)[source]

Bases: bibliopixel.util.threads.runnable.Runnable

push_to_driver()[source]

Push the current pixel state to the driver

update_colors()[source]
wait_for_update()[source]
class bibliopixel.layout.update_threading.UpdateDriverThread(driver)[source]

Bases: bibliopixel.util.threads.runnable.LoopThread

run_once()[source]

The target code that is repeatedly executed in the run method

sending()[source]
sync()[source]
update_colors()[source]
class bibliopixel.layout.update_threading.UpdateThread(drivers)[source]

Bases: bibliopixel.util.threads.runnable.LoopThread

run_once()[source]

The target code that is repeatedly executed in the run method

update_colors()[source]
bibliopixel.layout.update_threading.UpdateThreading(enable, layout)[source]

UpdateThreading handles threading - and eventually multiprocessing - for Layout.

class bibliopixel.layout.update_threading.UseThreading(layout)[source]

Bases: bibliopixel.layout.update_threading.NoThreading

stop()[source]
update_colors()[source]
wait()[source]
wait_for_update()[source]