]> git.tdb.fi Git - r2c2.git/blobdiff - source/libr2c2/train.h
Use signal_advanced for train speed measurement and vehicle placement
[r2c2.git] / source / libr2c2 / train.h
index 25392bd768db8f06493fe414fb6f9e038068cec1..3c4176d3e3cf6de5fe816e484b51205546a359bb 100644 (file)
@@ -132,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;