Watcher. More...
Public Member Functions | |
def | __init__ |
def | run |
def | shutdown |
Public Attributes | |
trigger_update | |
Private Member Functions | |
def | _sleep |
Private Attributes | |
_flipped_interface | |
_gateway | |
_hub | |
_internal_sleep_period | |
_last_loop_timestamp | |
_master | |
_pulled_interface | |
_trigger_shutdown | |
_trigger_update | |
_watch_loop_period |
def rocon_gateway.watcher_thread.WatcherThread.__init__ | ( | self, | |
gateway, | |||
watch_loop_period | |||
) |
Definition at line 28 of file watcher_thread.py.
def rocon_gateway.watcher_thread.WatcherThread._sleep | ( | self | ) | [private] |
Internal interruptible sleep loop to check for shutdown and update triggers. This lets us set a really long watch_loop update if we wish.
Definition at line 74 of file watcher_thread.py.
def rocon_gateway.watcher_thread.WatcherThread.run | ( | self | ) |
The watcher thread - monitors both the local master's system state (list of connections) and the various rules to make sure rules and existing connections or flips are in sync.
Definition at line 51 of file watcher_thread.py.
Called from the main program to shutdown this thread.
Definition at line 43 of file watcher_thread.py.
Definition at line 28 of file watcher_thread.py.
Definition at line 28 of file watcher_thread.py.
Definition at line 28 of file watcher_thread.py.
Definition at line 28 of file watcher_thread.py.
Definition at line 28 of file watcher_thread.py.
Definition at line 28 of file watcher_thread.py.
Definition at line 28 of file watcher_thread.py.
Definition at line 28 of file watcher_thread.py.
Definition at line 45 of file watcher_thread.py.
Definition at line 28 of file watcher_thread.py.
Definition at line 28 of file watcher_thread.py.