X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Flibr2c2%2Flayout.h;h=26df423ed731b3f461f912ee04b4c57e19fde08e;hb=7c98e23312cf01ce1fa6c1ffd8e36c22d2fa6110;hp=7c61c4fdecf8ead4c767efc77ba564849a417f65;hpb=9f4f169affcedcf249e935f93e0a15ed60232f6a;p=r2c2.git diff --git a/source/libr2c2/layout.h b/source/libr2c2/layout.h index 7c61c4f..26df423 100644 --- a/source/libr2c2/layout.h +++ b/source/libr2c2/layout.h @@ -12,6 +12,7 @@ namespace R2C2 { class ArticleNumber; +class BeamGate; class Block; class Catalogue; class Driver; @@ -35,12 +36,10 @@ public: public: Loader(Layout &); private: + void beamgate(); void route(); - void route(const std::string &); void signal(ArticleNumber); - void track(unsigned); void track(ArticleNumber); - void train(unsigned, unsigned, const std::string &); void train(ArticleNumber, unsigned, const std::string &); void turnout(unsigned, unsigned); void zone(); @@ -109,6 +108,7 @@ public: void add(TrackChain &); void add(Block &); void add(Sensor &); + void add(BeamGate &); template const std::set &get_all() const; @@ -120,6 +120,7 @@ public: void remove(Track &); void remove(TrackChain &); void remove(Sensor &); + void remove(BeamGate &); unsigned allocate_turnout_id();