BaseTopic¶
-
class
lsst.ts.salobj.topics.
BaseTopic
(*, salinfo, name, sal_prefix)¶ Bases:
abc.ABC
Base class for topics.
Parameters: Raises: - RuntimeError
If the topic cannot be constructed.
Attributes: - salinfo :
SalInfo
The
salinfo
constructor argument.- name :
str
The
name
constructor argument.- sal_name :
str
The topic name used by SAL. For example: “logevent_summaryState”.
- log :
logging.Logger
A logger.
- volatile :
bool
Is this topic volatile (does it want no historical data)?
- attr_name :
str
Name of topic attribute in
Controller
andRemote
. For example: “evt_summaryState”.- rev_code :
str
Revision hash code for the topic. This code changes whenever the schema for the topic changes, and it is part of the DDS topic name. For example: “90255bf1”
- dds_name :
str
Name of topic seen by DDS. For example: “Test_logevent_summaryState_90255bf1”.
Attributes Summary
DataType
The class of data for this topic. metadata
Get topic metadata as a TopicMetadata
, if available, elseNone
.Attributes Documentation
-
DataType
¶ The class of data for this topic.