SELKIELogger
1.0.0
|
Represent sources being tracked. More...
Public Member Functions | |
def | __init__ (self, number, name=None, channels=None, lastTimestamp=None) |
Tracked source must be identified by name. More... | |
def | __getitem__ (self, ch) |
Support subscripted access to channel names. More... | |
def | __iter__ (self) |
Allow iteration over channel list, e.g. More... | |
def | __str__ (self) |
Represent source by its name. More... | |
Public Attributes | |
id | |
Source ID. | |
name | |
Source Name. | |
channels | |
List of channels. More... | |
lastTimestamp | |
Last timestamp received. More... | |
Static Private Attributes | |
list | __slots__ = ["id", "name", "channels", "lastTimestamp"] |
Explicitly allocate class members. | |
Represent sources being tracked.
Definition at line 259 of file SLMessages.py.
def SELKIELogger.SLMessages.SLChannelMap.Source.__init__ | ( | self, | |
number, | |||
name = None , |
|||
channels = None , |
|||
lastTimestamp = None |
|||
) |
Tracked source must be identified by name.
number | SourceID |
name | Source Name |
channels | Channel Map |
lastTimestamp | Last source timestamp received |
Definition at line 265 of file SLMessages.py.
def SELKIELogger.SLMessages.SLChannelMap.Source.__getitem__ | ( | self, | |
ch | |||
) |
Support subscripted access to channel names.
ch | Channel ID |
Definition at line 293 of file SLMessages.py.
def SELKIELogger.SLMessages.SLChannelMap.Source.__iter__ | ( | self | ) |
Allow iteration over channel list, e.g.
Definition at line 310 of file SLMessages.py.
def SELKIELogger.SLMessages.SLChannelMap.Source.__str__ | ( | self | ) |
SELKIELogger.SLMessages.SLChannelMap.Source.channels |
List of channels.
Initialised to defaults if not provided.
Definition at line 281 of file SLMessages.py.
SELKIELogger.SLMessages.SLChannelMap.Source.lastTimestamp |
Last timestamp received.
Initialised to zero if not provided.
Definition at line 288 of file SLMessages.py.