X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Flibr2c2%2Fblockallocator.h;h=6eecbd4e2c531eb0cbbcc49363a0910598fca774;hb=cb4e53ba1b8ea41b978190de6668e9862b9cfea8;hp=c90b450bb52f11248ce1f8d016a0e73163e5b0a0;hpb=dda1e6c8716b6ac70d63a3f6ff95474a8b8b7336;p=r2c2.git diff --git a/source/libr2c2/blockallocator.h b/source/libr2c2/blockallocator.h index c90b450..6eecbd4 100644 --- a/source/libr2c2/blockallocator.h +++ b/source/libr2c2/blockallocator.h @@ -3,8 +3,8 @@ #include #include -#include "block.h" #include "blockiter.h" +#include "sensor.h" namespace R2C2 { @@ -60,7 +60,6 @@ public: private: bool reserve_block(const BlockIter &); public: - void release_until(const Block &); bool release_from(const Block &); void release_noncurrent(); private: @@ -73,7 +72,7 @@ public: private: void turnout_path_changed(Track &); void block_reserved(Block &, const Train *); - void block_state_changed(Block &, Block::State); + void sensor_state_changed(Sensor &, Sensor::State); public: void save(std::list &) const;