Methods in org.onebusaway.transit_data_federation.impl.realtime with parameters of type BlockInstance |
BlockLocationRecordCollection |
BlockLocationRecordCollection.addRecord(BlockInstance blockInstance,
BlockLocationRecord record,
long windowSize)
|
static BlockLocationRecordCollection |
BlockLocationRecordCollection.createFromRecords(BlockInstance blockInstance,
List<BlockLocationRecord> records)
Convenience method that creates a link
BlockLocationRecordCollection from a list of records |
BlockLocation |
BlockLocationServiceImpl.getLocationForBlockInstance(BlockInstance blockInstance,
TargetTime time)
BlockLocationService Interface |
BlockLocation |
BlockLocationServiceImpl.getLocationForBlockInstanceAndScheduledBlockLocation(BlockInstance blockInstance,
ScheduledBlockLocation scheduledLocation,
long targetTime)
|
Map<org.onebusaway.gtfs.model.AgencyAndId,List<BlockLocation>> |
BlockLocationServiceImpl.getLocationsForBlockInstance(BlockInstance blockInstance,
List<Date> times,
long currentTime)
|
List<BlockLocation> |
BlockLocationServiceImpl.getLocationsForBlockInstance(BlockInstance blockInstance,
TargetTime time)
|
BlockLocation |
BlockLocationServiceImpl.getScheduledLocationForBlockInstance(BlockInstance blockInstance,
long targetTime)
|
Methods in org.onebusaway.transit_data_federation.services.blocks that return types with arguments of type BlockInstance |
List<BlockInstance> |
BlockCalendarService.getActiveBlocks(org.onebusaway.gtfs.model.AgencyAndId blockId,
long timeFrom,
long timeTo)
|
List<BlockInstance> |
BlockCalendarService.getActiveBlocksForAgencyInTimeRange(String agencyId,
long timeFrom,
long timeTo)
|
List<BlockInstance> |
BlockCalendarService.getActiveBlocksForRouteInTimeRange(org.onebusaway.gtfs.model.AgencyAndId routeId,
long timeFrom,
long timeTo)
|
List<BlockInstance> |
BlockCalendarService.getActiveBlocksInTimeRange(Iterable<BlockTripIndex> indices,
Iterable<BlockLayoverIndex> layoverIndices,
Iterable<FrequencyBlockTripIndex> frequencyIndices,
long timeFrom,
long timeTo)
|
List<BlockInstance> |
BlockCalendarService.getActiveBlocksInTimeRange(long timeFrom,
long timeTo)
|
List<BlockInstance> |
BlockGeospatialService.getActiveScheduledBlocksPassingThroughBounds(CoordinateBounds bounds,
long timeFrom,
long timeTo)
Determines the set of currently active blocks (according to scheduled
times) that pass through the specified bounds. |
Map<BlockInstance,List<BlockLocation>> |
BlockStatusService.getBlocks(org.onebusaway.gtfs.model.AgencyAndId blockId,
long serviceDate,
org.onebusaway.gtfs.model.AgencyAndId vehicleId,
long time)
|
Map<BlockInstance,List<List<BlockLocation>>> |
BlockStatusService.getBlocksForIndex(BlockSequenceIndex index,
List<Date> timetamps)
|
List<BlockInstance> |
BlockCalendarService.getClosestActiveBlocks(org.onebusaway.gtfs.model.AgencyAndId blockId,
long time)
|
Methods in org.onebusaway.transit_data_federation.services.realtime with parameters of type BlockInstance |
void |
BlockLocationRecordCache.addRecord(BlockInstance blockInstance,
BlockLocationRecord record)
|
VehicleLocationCacheElements |
VehicleLocationRecordCache.addRecord(BlockInstance blockInstance,
VehicleLocationRecord record,
ScheduledBlockLocation scheduledBlockLocation,
ScheduleDeviationSamples samples)
|
BlockLocation |
BlockLocationService.getLocationForBlockInstance(BlockInstance blockInstance,
TargetTime time)
Given a block instance and a target time, determine the vehicle position at
that time, using real-time data when available. |
BlockLocation |
BlockLocationService.getLocationForBlockInstanceAndScheduledBlockLocation(BlockInstance blockInstance,
ScheduledBlockLocation scheduledLocation,
long targetTime)
|
Map<org.onebusaway.gtfs.model.AgencyAndId,List<BlockLocation>> |
BlockLocationService.getLocationsForBlockInstance(BlockInstance blockInstance,
List<Date> times,
long currentTime)
|
List<BlockLocation> |
BlockLocationService.getLocationsForBlockInstance(BlockInstance blockInstance,
TargetTime time)
Given a block instance and a target time, determine the vehicle locations
at that time using real-time data when available. |
List<VehicleLocationCacheElements> |
VehicleLocationRecordCache.getRecordsForBlockInstance(BlockInstance blockInstance)
|
List<BlockLocationRecordCollection> |
BlockLocationRecordCache.getRecordsForBlockInstance(BlockInstance blockInstance)
|
BlockLocation |
BlockLocationService.getScheduledLocationForBlockInstance(BlockInstance blockInstance,
long targetTime)
Determines the scheduled vehicle location of a given block instance at the
specified time. |
static ArrivalAndDepartureTime |
ArrivalAndDepartureTime.getScheduledTime(BlockInstance blockInstance,
BlockStopTimeEntry blockStopTime)
|
static ArrivalAndDepartureTime |
ArrivalAndDepartureTime.getScheduledTime(BlockInstance blockInstance,
BlockStopTimeEntry blockStopTime,
int offset)
|
boolean |
VehicleLocationCacheEntry.isClosedBecauseBlockInstanceChanged(BlockInstance blockInstance)
|
ScheduleDeviationSamples |
RealTimeHistoryService.sampleScheduleDeviationsForVehicle(BlockInstance instance,
VehicleLocationRecord record,
ScheduledBlockLocation scheduledBlockLocation)
|
void |
BlockLocation.setBlockInstance(BlockInstance instance)
|