HEX
Server: Apache
System: Linux scp1.abinfocom.com 5.4.0-216-generic #236-Ubuntu SMP Fri Apr 11 19:53:21 UTC 2025 x86_64
User: confeduphaar (1010)
PHP: 8.1.33
Disabled: exec,passthru,shell_exec,system
Upload Files
File: //lib/python3/dist-packages/twisted/positioning/__pycache__/ipositioning.cpython-38.pyc
U


W[��@sbdZddlmZmZddlmZmZGdd�de�ZGdd�de�ZGdd	�d	e�Z	ddd	gZ
d
S)z'
Positioning interfaces.

@since: 14.0
�)�absolute_import�division)�	Attribute�	Interfacec@sPeZdZdZdd�Zdd�Zdd�Zdd	�Zd
d�Zdd
�Z	dd�Z
dd�ZdS)�IPositioningReceiverz1
    An interface for positioning providers.
    cCsdS)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�)ZlatitudeZ	longituderr�B/usr/lib/python3/dist-packages/twisted/positioning/ipositioning.py�positionReceivedsz%IPositioningReceiver.positionReceivedcCsdS)z�
        Method called when position error is received.

        @param positioningError: The position error.
        @type positioningError: L{twisted.positioning.base.PositionError}
        Nr)Z
positionErrorrrr�positionErrorReceivedsz*IPositioningReceiver.positionErrorReceivedcCsdS)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%sz!IPositioningReceiver.timeReceivedcCsdS)z�
        Method called when a true heading is received.

        @param heading: The heading.
        @type heading: L{twisted.positioning.base.Heading}
        Nr)Zheadingrrr�headingReceived/sz$IPositioningReceiver.headingReceivedcCsdS)z�
        Method called when an altitude is received.

        @param altitude: The altitude.
        @type altitude: L{twisted.positioning.base.Altitude}
        Nr)Zaltituderrr�altitudeReceived8sz%IPositioningReceiver.altitudeReceivedcCsdS)z�
        Method called when the speed is received.

        @param speed: The speed of a mobile object.
        @type speed: L{twisted.positioning.base.Speed}
        Nr)Zspeedrrr�
speedReceivedAsz"IPositioningReceiver.speedReceivedcCsdS)z�
        Method called when the climb is received.

        @param climb: The climb of the mobile object.
        @type climb: L{twisted.positioning.base.Climb}
        Nr)Zclimbrrr�
climbReceivedJsz"IPositioningReceiver.climbReceivedcCsdS)z�
        Method called when positioning beacon information is received.

        @param beaconInformation: The beacon information.
        @type beaconInformation: L{twisted.positioning.base.BeaconInformation}
        Nr)ZbeaconInformationrrr�beaconInformationReceivedRsz.IPositioningReceiver.beaconInformationReceivedN)�__name__�
__module__�__qualname__�__doc__r	r
rr
rrrrrrrrrs
			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)rrrrrZ
identifierrrrrr\s�rc@seZdZdZdd�ZdS)�
INMEAReceiverz/
    An object that can receive NMEA data.
    cCsdS)z�
        Method called when a sentence is received.

        @param sentence: The received NMEA sentence.
        @type L{twisted.positioning.nmea.NMEASentence}
        Nr)Zsentencerrr�sentenceReceivedlszINMEAReceiver.sentenceReceivedN)rrrrrrrrrrhsrN)rZ
__future__rrZzope.interfacerrrrr�__all__rrrr�<module>sN�