| |
- __builtin__.object
-
- GShape
- Route
- TrackedVehicleSegment
- Vehicle
- VehicleReport
- VehicleSegment
class GShape(__builtin__.object) |
| |
Methods defined here:
- __init__(self, id)
Data descriptors defined here:
- __dict__
- dictionary for instance variables (if defined)
- __weakref__
- list of weak references to the object (if defined)
|
class TrackedVehicleSegment(__builtin__.object) |
|
A variation on the VehicleSegment class for segments which have
already been identified with a GTFS trip ID and all the associated
information. |
|
Methods defined here:
- __init__(self, segment_id, useCorrectedGTFS=True)
- getGTFSRouteInfo(self)
- Returns (routeID,directionID) for this trip.
Data descriptors defined here:
- __dict__
- dictionary for instance variables (if defined)
- __weakref__
- list of weak references to the object (if defined)
|
class Vehicle(__builtin__.object) |
|
Represents a uinque transit vehicle, as definted by its ID
in the vehicle_track table |
|
Methods defined here:
- __init__(self, vehicle_id)
Data descriptors defined here:
- __dict__
- dictionary for instance variables (if defined)
- __weakref__
- list of weak references to the object (if defined)
|
class VehicleReport(__builtin__.object) |
|
POD structure representing a single row in the GPS log. |
|
Methods defined here:
- __init__(self, id, lat, lon, routetag, dirtag, reported_update_time)
- timeInSecondsIntoDay(self)
Data descriptors defined here:
- __dict__
- dictionary for instance variables (if defined)
- __weakref__
- list of weak references to the object (if defined)
|
class VehicleSegment(__builtin__.object) |
|
A list of VehicleReports, representing a single trip made by
a vehicle. |
|
Methods defined here:
- __init__(self, reports)
- export_segment(self)
- Exports this segment to the database.
- getGTFSRouteInfo(self)
- Returns (routeID,directionID) for this trip.
Data descriptors defined here:
- __dict__
- dictionary for instance variables (if defined)
- __weakref__
- list of weak references to the object (if defined)
| |