Public Member Functions | Public Attributes | List of all members
schedule_x Class Reference

Public Member Functions

 schedule_x (way_types wt, array< schedule_entry_x > entries, integer current)

Public Attributes

uint8 current
array< schedule_entry_xentries
way_types waytype

Detailed Description

Class holding the schedule

Definition at line 36 of file

Constructor & Destructor Documentation

◆ schedule_x()

schedule_x::schedule_x ( way_types  wt,
array< schedule_entry_x entries,
integer  current 

Constructor. Parameters entries and current are optional.

wtway type
entriesarray of entries of the new schedule (default = [])
currentcurrent stop of schedule (default = 0)

Member Data Documentation

◆ current

uint8 schedule_x::current

Current stop of schedule: default first stop (schedule of line) or next stop of convoy (schedule of convoy).

In order to change this value for a convoy call convoy_x::change_schedule.

Definition at line 65 of file

◆ entries

array< schedule_entry_x > schedule_x::entries

The list of schedule targets.

Definition at line 50 of file

◆ waytype

way_types schedule_x::waytype

Waytype of schedule.

Definition at line 55 of file

The documentation for this class was generated from the following file: