unsigned address;
std::string name;
int priority;
+ const Train *yielding_to;
std::vector<Vehicle *> vehicles;
std::list<BlockRef> cur_blocks;
std::list<BlockRef> rsv_blocks;
Block *pending_block;
+ bool reserving;
+ bool advancing;
Controller *controller;
Timetable *timetable;
bool active;
void set_name(const std::string &);
const std::string &get_name() const { return name; }
void set_priority(int);
+ void yield_to(const Train &);
int get_priority() const { return priority; }
Controller &get_controller() const { return *controller; }
void halt_event(bool);
void block_reserved(const Block &, const Train *);
unsigned reserve_more();
+ float get_reserved_distance_until(const Block *, bool) const;
float get_real_speed(unsigned) const;
unsigned find_speed(float) const;
float get_travel_speed() const;