/usr/lib/python3/dist-packages/twisted/positioning/__pycache__
Edit: /usr/lib/python3/dist-packages/twisted/positioning/__pycache__/ipositioning.cpython-310.pyc (4219B)
o
¯b€ ã @ sP d Z ddlmZmZ G dd„ deƒZG dd„ deƒZG dd„ deƒZg d ¢Zd
S )z'
Positioning interfaces.
@since: 14.0
é )Ú AttributeÚ Interfacec @ sP e Zd ZdZdd„ Zdd„ Zdd„ Zdd „ Zd
d„ Zdd
„ Z dd„ Z
dd„ ZdS )ÚIPositioningReceiverz1
An interface for positioning providers.
c C ó dS )a>
Method called when a position is received.
@param latitude: The latitude of the received position.
@type latitude: L{twisted.positioning.base.Coordinate}
@param longitude: The longitude of the received position.
@type longitude: L{twisted.positioning.base.Coordinate}
N© )ÚlatitudeÚ longituder r úB/usr/lib/python3/dist-packages/twisted/positioning/ipositioning.pyÚpositionReceived ó z%IPositioningReceiver.positionReceivedc C r )zº
Method called when position error is received.
@param positionError: The position error.
@type positionError: L{twisted.positioning.base.PositionError}
Nr )Ú
positionErrorr r r ÚpositionErrorReceived r z*IPositioningReceiver.positionErrorReceivedc C r )zÓ
Method called when time and date information arrives.
@param time: The date and time (expressed in UTC unless otherwise
specified).
@type time: L{datetime.datetime}
Nr )Útimer r r ÚtimeReceived$ r z!IPositioningReceiver.timeReceivedc C r )z¡
Method called when a true heading is received.
@param heading: The heading.
@type heading: L{twisted.positioning.base.Heading}
Nr )Úheadingr r r ÚheadingReceived- r z$IPositioningReceiver.headingReceivedc C r )z¢
Method called when an altitude is received.
@param altitude: The altitude.
@type altitude: L{twisted.positioning.base.Altitude}
Nr )Úaltituder r r ÚaltitudeReceived5 r z%IPositioningReceiver.altitudeReceivedc C r )z§
Method called when the speed is received.
@param speed: The speed of a mobile object.
@type speed: L{twisted.positioning.base.Speed}
Nr )Úspeedr r r Ú
speedReceived= r z"IPositioningReceiver.speedReceivedc C r )z©
Method called when the climb is received.
@param climb: The climb of the mobile object.
@type climb: L{twisted.positioning.base.Climb}
Nr )Úclimbr r r Ú
climbReceivedE r z"IPositioningReceiver.climbReceivedc C r )zÚ
Method called when positioning beacon information is received.
@param beaconInformation: The beacon information.
@type beaconInformation: L{twisted.positioning.base.BeaconInformation}
Nr )ÚbeaconInformationr r r ÚbeaconInformationReceivedM r z.IPositioningReceiver.beaconInformationReceivedN)Ú__name__Ú
__module__Ú__qualname__Ú__doc__r
r
r r r r r r r r r r r
s
r c @ s e Zd ZdZedƒZdS )ÚIPositioningBeaconz
A positioning beacon.
z‚
A unique identifier for this beacon. The type is dependent on the
implementation, but must be immutable.
N)r r r r r Ú
identifierr r r r r V s
ÿr c @ s e Zd ZdZdd„ ZdS )Ú
INMEAReceiverz/
An object that can receive NMEA data.
c C r )z©
Method called when a sentence is received.
@param sentence: The received NMEA sentence.
@type L{twisted.positioning.nmea.NMEASentence}
Nr )Úsentencer r r ÚsentenceReceivedh r zINMEAReceiver.sentenceReceivedN)r r r r r" r r r r r c s r )r r r N)r Úzope.interfacer r r r r Ú__all__r r r r Ú
s I