Revision 350f377...

Go back to digest for 11th November 2012

Features in Utilities

Friedrich Karl Tilman Pülz committed changes in [publictransport] /:

Implement service operations to get earlier/later timetable items

- Add service operations "requestEarlierItems"
and "requestLaterItems"
- Add MoreItemsJob, used by the service
- Add MoreItemsDirection enumeration (earlier or later items)
- Add MoreItemsRequest, contains a shared pointer to the request
object used to get the timetable data for which more items
should be requested
- Add AbstractTimetableItemRequest, used for timetable data
requests (eg. DepartureRequest), saves some unused variables
for other requests, eg. the new MoreItemsRequest
- Use getters/setters in AbstractRequest and derivates
instead of using public member variables
- Add TimetableInformation field RequestData, can be used to
store data about the request that is needed eg. to request
earlier/later items

- TODO: Implement earlier/later requests in HAFAS scripts,
use in the applet for journeys

File Changes

Modified 22 files
  •   engine/datasource.cpp
  •   engine/datasource.h
  •   engine/enums.h
  •   engine/global.cpp
  •   engine/publictransportdataengine.cpp
  •   engine/publictransportdataengine.h
  •   engine/request.cpp
  •   engine/request.h
  •   engine/serviceprovider.cpp
  •   engine/serviceprovider.h
  •   engine/timetable.operations
  •   engine/timetableservice.cpp
  •   engine/timetableservice.h
  •   engine/gtfs/serviceprovidergtfs.cpp
  •   engine/script/script_thread.cpp
  •   engine/script/script_thread.h
  •   engine/script/serviceproviderscript.cpp
  •   engine/script/serviceproviderscript.h
  •   engine/timetablemate/src/project.cpp
  •   engine/timetablemate/src/project.h
  •   engine/timetablemate/src/debugger/debugger.h
  •   engine/timetablemate/src/debugger/timetabledatarequestjob.cpp
22 files changed in total