]> git.tdb.fi Git - r2c2.git/blob - source/libr2c2/trackcircuit.h
Handle sensors in a separate class
[r2c2.git] / source / libr2c2 / trackcircuit.h
1 #ifndef LIBR2C2_TRACKCIRCUIT_H_
2 #define LIBR2C2_TRACKCIRCUIT_H_
3
4 #include "sensor.h"
5
6 namespace R2C2 {
7
8 class Block;
9
10 class TrackCircuit: public Sensor
11 {
12 private:
13         Block █
14
15 public:
16         TrackCircuit(Layout &, Block &);
17
18         Block &get_block() const { return block; }
19 };
20
21 } // namespace R2C2
22
23 #endif