bcinetwork — Networking between the different Pyff components.
-
class lib.bcinetwork.BciNetwork(ip, port, myport=None)
Wrapper for Communication between Feedback Controller and GUI.
-
getAvailableFeedbacks()
- Get available Feedbacks from Feedback Controller.
-
get_variables()
- Get variables (name, type and value) from currently running Feedback.
-
pause()
- Send ‘pause’ to Feedback Controller.
-
play()
- Send ‘play’ to Feedback Controller.
-
quit()
- Send ‘quit’ to Feedback Controller.
-
receive(timeout)
- Receive a signal.
-
send_init(feedback)
- Send ‘send_init(feedback)’ to Feedback Controller.
-
send_signal(signal)
- Send a signal.
-
stop()
- Send ‘stop’ to Feedback Controller.
Module author: Bastian Venthur <venthur@cs.tu-berlin.de>