unsigned get_id() const { return id; }
unsigned get_sensor_id() const { return sensor_id; }
unsigned get_turnout_id() const { return turnout_id; }
- TrackCircuit &get_sensor() const { return *sensor; }
+ TrackCircuit *get_sensor() const { return sensor; }
const std::vector<Endpoint> &get_endpoints() const { return endpoints; }
const Endpoint &get_endpoint(unsigned) const;
int get_endpoint_by_link(Block &) const;