Known subclasses: twisted.positioning.base.Satellite

Implements interfaces: twisted.positioning.ipositioning.IPositioningBeacon

A positioning beacon.

Instance Variable identifier The unique identifier for this beacon. This is usually an integer. For GPS, this is also known as the PRN. (type: Pretty much anything that can be used as a unique identifier. Depends on the implementation.)
Method __init__ Initializes a positioning beacon.
Method __hash__ Returns the hash of the identifier for this beacon.
Method __repr__ Returns a string representation of this beacon.
identifier =
The unique identifier for this beacon. This is usually an integer. For GPS, this is also known as the PRN. (type: Pretty much anything that can be used as a unique identifier. Depends on the implementation.)
def __init__(self, identifier):

Initializes a positioning beacon.

ParametersidentifierThe identifier for this beacon. (type: Can be pretty much anything (see ivar documentation).)
def __hash__(self):

Returns the hash of the identifier for this beacon.

ReturnsThe hash of the identifier. (hash(self.identifier)) (type: int)
def __repr__(self):

Returns a string representation of this beacon.

ReturnsThe string representation. (type: str)
API Documentation for twisted, generated by pydoctor at 2020-03-25 17:34:30.