X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;ds=sidebyside;f=source%2F3d%2Ftrackcircuit.h;fp=source%2F3d%2Ftrackcircuit.h;h=ae032b0a05c2cc8099b8c7bac16e5643c3008302;hb=5116fff210cdc3f0fbdae13046cc60450aad5e8f;hp=0000000000000000000000000000000000000000;hpb=7fac28fcb5afb17eff7c459474e4cf884a02719c;p=r2c2.git diff --git a/source/3d/trackcircuit.h b/source/3d/trackcircuit.h new file mode 100644 index 0000000..ae032b0 --- /dev/null +++ b/source/3d/trackcircuit.h @@ -0,0 +1,27 @@ +#ifndef R2C2_TRACKCIRCUIT_H_ +#define R2C2_TRACKCIRCUIT_H_ + +#include +#include "utility.h" + +namespace R2C2 { + +class Layout3D; +class Path3D; + +class TrackCircuit3D: public Utility3D, public sigc::trackable +{ +private: + TrackCircuit &track_circuit; + std::list paths; + +public: + TrackCircuit3D(Layout3D &, TrackCircuit &); + +private: + void state_changed(Sensor::State); +}; + +} // namespace R2C2 + +#endif