twisted.positioning._sentence._PositioningSentenceProducerMixin(object) class documentationtwisted.positioning._sentence
          View Source
          (View In Hierarchy)
        
      Known subclasses: twisted.positioning.nmea.NMEAProtocol
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 | getSentenceAttributes | Returns a set of all attributes that might be found in the sentences produced by this protocol. | 
Returns a set of all attributes that might be found in the sentences produced by this protocol.
This is basically a set of all the attributes of all the sentences that this protocol can produce.
| Returns | The set of all possible sentence attribute names. (type: set of str) | |