X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Flibr2c2%2Flayout.h;h=2211de04987b031eb58fc83c4e289aae35140abb;hb=9b8a32cf7371bc5fae8ce239a212469511c459e6;hp=4bccb20c9b26b34b436c3dc12dddeba47bc20b68;hpb=eb8b919a1a224c0d6f206d1d29a9b4b8c3a0cac8;p=r2c2.git diff --git a/source/libr2c2/layout.h b/source/libr2c2/layout.h index 4bccb20..2211de0 100644 --- a/source/libr2c2/layout.h +++ b/source/libr2c2/layout.h @@ -70,14 +70,6 @@ private: void del(); }; - struct BlockReservation - { - Block █ - Train *train; - - BlockReservation(Block &, Train *); - }; - public: typedef std::vector ZoneArray; @@ -102,8 +94,6 @@ private: std::map trains; Msp::Time::TimeStamp last_tick; unsigned next_turnout_addr; - bool emitting_block_reserved; - std::deque block_reserve_queue; public: Layout(Catalogue &, Driver * = 0); @@ -161,7 +151,6 @@ public: void save_dynamic(const std::string &) const; private: void sensor_state_changed(Sensor &, Sensor::State); - void block_reserved(Block &, Train *); }; } // namespace R2C2