DUNE-DAQ
DUNE Trigger and Data Acquisition software
|
Public Member Functions | |
__init__ (self, config) | |
str | default_id (self) |
bool | add_callback (self, function, name, selection='.*') |
clear_callbacks (self) | |
bool | remove_callback (self, name) |
start (self) | |
stop (self) | |
message_loop (self) | |
Public Attributes | |
bootstrap = config["bootstrap"] | |
str | group = config["group_id"] |
timeout = config["timeout"] | |
bool | running = False |
functions = dict() | |
thread = threading.Thread(target=self.message_loop) | |
Definition at line 15 of file ERSSubscriber.py.
ERSSubscriber.ERSSubscriber.__init__ | ( | self, | |
config ) |
Definition at line 16 of file ERSSubscriber.py.
bool ERSSubscriber.ERSSubscriber.add_callback | ( | self, | |
function, | |||
name, | |||
selection = '.*' ) |
Definition at line 38 of file ERSSubscriber.py.
ERSSubscriber.ERSSubscriber.clear_callbacks | ( | self | ) |
Definition at line 50 of file ERSSubscriber.py.
str ERSSubscriber.ERSSubscriber.default_id | ( | self | ) |
Definition at line 30 of file ERSSubscriber.py.
ERSSubscriber.ERSSubscriber.message_loop | ( | self | ) |
Definition at line 74 of file ERSSubscriber.py.
bool ERSSubscriber.ERSSubscriber.remove_callback | ( | self, | |
name ) |
Definition at line 55 of file ERSSubscriber.py.
ERSSubscriber.ERSSubscriber.start | ( | self | ) |
Definition at line 65 of file ERSSubscriber.py.
ERSSubscriber.ERSSubscriber.stop | ( | self | ) |
Definition at line 70 of file ERSSubscriber.py.
ERSSubscriber.ERSSubscriber.bootstrap = config["bootstrap"] |
Definition at line 17 of file ERSSubscriber.py.
ERSSubscriber.ERSSubscriber.functions = dict() |
Definition at line 24 of file ERSSubscriber.py.
str ERSSubscriber.ERSSubscriber.group = config["group_id"] |
Definition at line 19 of file ERSSubscriber.py.
bool ERSSubscriber.ERSSubscriber.running = False |
Definition at line 23 of file ERSSubscriber.py.
ERSSubscriber.ERSSubscriber.thread = threading.Thread(target=self.message_loop) |
Definition at line 25 of file ERSSubscriber.py.
ERSSubscriber.ERSSubscriber.timeout = config["timeout"] |
Definition at line 22 of file ERSSubscriber.py.