Block *block;
unsigned entry;
- BlockRef(Block *s, unsigned e): block(s), entry(e) { }
+ BlockRef(Block *, unsigned);
+ BlockRef next() const;
};
struct RealSpeed
Msp::Time::TimeStamp stop_timeout;
unsigned functions;
const Route *route;
+ const Route *next_route;
+ bool end_of_route;
std::string status;
Msp::Time::TimeStamp last_entry_time;
unsigned get_functions() const { return functions; }
void set_route(const Route *);
+ void go_to(const Track &);
const Route *get_route() const { return route; }
void place(Block &, unsigned);
bool is_placed() const { return !cur_blocks.empty(); }