/* $Id$
This file is part of the MSP Märklin suite
-Copyright © 2006-2008 Mikkosoft Productions, Mikko Rasa
+Copyright © 2006-2009 Mikkosoft Productions, Mikko Rasa
Distributed under the GPL
*/
TrafficManager &trfc_mgr;
unsigned id;
unsigned sensor_id;
+ unsigned turnout_id;
std::set<Track *> tracks;
std::vector<Endpoint> endpoints;
const Train *train;
Block(TrafficManager &, Track &);
unsigned get_sensor_id() const { return sensor_id; }
+ unsigned get_turnout_id() const { return turnout_id; }
const std::set<Track *> &get_tracks() const { return tracks; }
const std::vector<Endpoint> &get_endpoints() const { return endpoints; }
int get_endpoint_by_link(const Block &) const;