twisted.positioning.base.PositioningBeacon(object)
class documentationtwisted.positioning.base
View Source
(View In Hierarchy)
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. |
Initializes a positioning beacon.
Parameters | identifier | The identifier for this beacon. (type: Can be pretty much anything (see ivar documentation).) |
Returns the hash of the identifier for this beacon.
Returns | The hash of the identifier. (hash(self.identifier) ) (type: int ) |
Returns a string representation of this beacon.
Returns | The string representation. (type: str ) |