o ¯b€ ã@sPdZddlmZmZGdd„deƒZGdd„deƒZGdd„deƒZgd ¢Zd S) z' Positioning interfaces. @since: 14.0 é)Ú AttributeÚ Interfacec@sPeZdZdZdd„Zdd„Zdd„Zdd „Zd d „Zd d „Z dd„Z dd„Z dS)ÚIPositioningReceiverz1 An interface for positioning providers. cCó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Ú longituderrúB/usr/lib/python3/dist-packages/twisted/positioning/ipositioning.pyÚpositionReceivedóz%IPositioningReceiver.positionReceivedcCr)zº Method called when position error is received. @param positionError: The position error. @type positionError: L{twisted.positioning.base.PositionError} Nr)Ú positionErrorrrr ÚpositionErrorReceivedr z*IPositioningReceiver.positionErrorReceivedcCr)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)Útimerrr Ú timeReceived$r z!IPositioningReceiver.timeReceivedcCr)z¡ Method called when a true heading is received. @param heading: The heading. @type heading: L{twisted.positioning.base.Heading} Nr)Úheadingrrr ÚheadingReceived-r z$IPositioningReceiver.headingReceivedcCr)z¢ Method called when an altitude is received. @param altitude: The altitude. @type altitude: L{twisted.positioning.base.Altitude} Nr)Úaltituderrr ÚaltitudeReceived5r z%IPositioningReceiver.altitudeReceivedcCr)z§ Method called when the speed is received. @param speed: The speed of a mobile object. @type speed: L{twisted.positioning.base.Speed} Nr)Úspeedrrr Ú speedReceived=r z"IPositioningReceiver.speedReceivedcCr)z© Method called when the climb is received. @param climb: The climb of the mobile object. @type climb: L{twisted.positioning.base.Climb} Nr)Úclimbrrr Ú climbReceivedEr z"IPositioningReceiver.climbReceivedcCr)zÚ Method called when positioning beacon information is received. @param beaconInformation: The beacon information. @type beaconInformation: L{twisted.positioning.base.BeaconInformation} Nr)ÚbeaconInformationrrr ÚbeaconInformationReceivedMr z.IPositioningReceiver.beaconInformationReceivedN) Ú__name__Ú __module__Ú __qualname__Ú__doc__r r rrrrrrrrrr r s   rc@seZdZdZedƒZdS)ÚIPositioningBeaconz A positioning beacon. z‚ A unique identifier for this beacon. The type is dependent on the implementation, but must be immutable. N)rrrrrÚ identifierrrrr rVs ÿrc@seZdZdZdd„ZdS)Ú INMEAReceiverz/ An object that can receive NMEA data. cCr)z© Method called when a sentence is received. @param sentence: The received NMEA sentence. @type L{twisted.positioning.nmea.NMEASentence} Nr)Úsentencerrr ÚsentenceReceivedhr zINMEAReceiver.sentenceReceivedN)rrrrr"rrrr r cs r )rrr N)rÚzope.interfacerrrrr Ú__all__rrrr Ús I