class documentation
class _PositioningSentenceProducerMixin: (source)
Known subclasses: twisted.positioning.nmea.NMEAProtocol
, twisted.positioning.test.test_sentence.MixinProtocol
A mixin for certain protocols that produce positioning sentences.
This mixin helps protocols that store the layout of sentences that they consume in a _SENTENCE_CONTENTS class variable provide all sentence attributes that can ever occur. It does this by providing a class method, getSentenceAttributes, which iterates over all sentence types and collects the possible sentence attributes.
Class Method | get |
Returns a set of all attributes that might be found in the sentences produced by this protocol. |