void name(const std::string &);
void quantized_speed();
void router();
+ void timetable();
void vehicle(ArticleNumber);
};
const VehicleType &loco_type;
unsigned address;
std::string protocol;
+ unsigned loco_id;
std::string name;
const Train *preceding_train;
std::vector<Vehicle *> vehicles;
float get_speed() const;
float get_quantized_speed() const;
unsigned get_speed_step() const { return current_speed_step; }
+ float get_maximum_speed() const;
bool get_function(unsigned) const;
unsigned get_functions() const { return functions; }
return 0;
}
- void place(const BlockIter &);
+ bool place(const BlockIter &);
void unplace();
bool is_placed() const { return !allocator.empty(); }
void stop_at(Block *);