X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Flibr2c2%2Ftrain.h;h=3c4176d3e3cf6de5fe816e484b51205546a359bb;hb=42a5c6606e82b1a27cb6d4d7afa630c75c869f97;hp=9603891e8f6e4d0672df77c21546c0b033e9bf90;hpb=9eb22a66345301631994cf24a21af9375d07a172;p=r2c2.git diff --git a/source/libr2c2/train.h b/source/libr2c2/train.h index 9603891..3c4176d 100644 --- a/source/libr2c2/train.h +++ b/source/libr2c2/train.h @@ -35,6 +35,7 @@ public: void name(const std::string &); void quantized_speed(); void router(); + void timetable(); void vehicle(ArticleNumber); }; @@ -131,7 +132,7 @@ private: void control_changed(const Controller::Control &); void loco_speed_event(unsigned, unsigned, bool); void loco_func_event(unsigned, unsigned, bool); - void sensor_state_changed(Sensor &, Sensor::State); + void advanced(Block &, Sensor *); void halt_event(bool); void block_reserved(const Block &, const Train *); float get_reserved_distance_until(const Block *) const;