RemoteInfo#
- class lsst.ts.watcher.RemoteInfo(name, index, callback_names=None, poll_names=None, index_required=True)#
Bases:
objectInformation about a remote SAL component.
- Parameters:
name (
str) – Name of SAL component.index (
int) – SAL component index; use 0 if the component is not indexed.callback_names (
list[str], optional) – Names of telemetry or event topics for which the rule is called when a sample is read. If None then no such topics. Each name must include prefixevt_ortel_for event or telemetry. For example [“evt_FilterChangeInPosition”, “evt_TrackingTarget”]poll_names (
list[str], optional) – Names of telemetry or event topics which are available to the rule, but do not trigger a rule callback. If None then no such topics. Each name must include prefixevt_ortel_for event or telemetry.index_required (
bool, optional) – If the component is indexed, is a non-zero index required? Defaults to True, since it is rare for a rule to be able to handle more than one instance of a CSC.
- callback_names#
The
callback_namesargument converted to a tuple; an empty tuple if the argument is None.
- poll_names#
The
poll_namesargument converted to a tuple; an empty tuple if the argument is None.
- Raises:
ValueError – If any name in
callback_namesorpoll_namesdoes not begin withevt_ortel_.ValueError – If the same name appears more than once in
callback_names + poll_names, in other words, more than once in either list or in both lists taken together.ValueError – If no
callback_namesnorpoll_namesare specified.ValueError – If
indexcannot be cast to anint.
Attributes Summary
callback_names + poll_names.
Attributes Documentation
- key#
- topic_names#
callback_names + poll_names.
- Type:
Get all topic names