Driver &driver = layout.get_driver();
turnout_id = driver.add_turnout(turnout_addr, type);
driver.signal_turnout.connect(sigc::mem_fun(this, &Track::turnout_event));
Driver &driver = layout.get_driver();
turnout_id = driver.add_turnout(turnout_addr, type);
driver.signal_turnout.connect(sigc::mem_fun(this, &Track::turnout_event));
add("position", &Loader::position);
add("rotation", &Loader::rotation);
add("tilt", &Loader::tilt);
add("position", &Loader::position);
add("rotation", &Loader::rotation);
add("tilt", &Loader::tilt);
void Track::Loader::position(float x, float y, float z)
{
obj.set_position(Vector(x, y, z));
void Track::Loader::position(float x, float y, float z)
{
obj.set_position(Vector(x, y, z));