t.p.b.PositioningBeacon(object) : class documentation

Part of twisted.positioning.base View Source View In Hierarchy

Known subclasses: twisted.positioning.base.Satellite

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): (source)
Initializes a positioning beacon.
ParametersidentifierThe identifier for this beacon. (type: Can be pretty much anything (see ivar documentation).)
def __hash__(self): (source)
Returns the hash of the identifier for this beacon.
ReturnsThe hash of the identifier. (hash(self.identifier)) (type: int)
def __repr__(self): (source)
Returns a string representation of this beacon.
ReturnsThe string representation. (type: str)
API Documentation for Twisted, generated by pydoctor at 2015-01-30 14:14:53.