+++ /dev/null
-/* $Id$
-
-This file is part of the MSP Märklin suite
-Copyright © 2010 Mikkosoft Productions, Mikko Rasa
-Distributed under the GPL
-*/
-
-#ifndef LIBMARKLIN_SIMPLECONTROLLER_H_
-#define LIBMARKLIN_SIMPLECONTROLLER_H_
-
-#include <string>
-#include "controller.h"
-
-namespace Marklin {
-
-class SimpleController: public Controller
-{
-private:
- Control target_speed;
- Control reverse;
- float accel;
- float speed;
-
-public:
- SimpleController();
-
- virtual void set_control(const std::string &, float);
- virtual const Control &get_control(const std::string &) const;
-
- virtual float get_speed() const { return speed; }
- virtual bool get_reverse() const { return reverse.value; }
- virtual float get_braking_distance() const;
-
- virtual void tick(const Msp::Time::TimeDelta &);
-};
-
-} // namespace Marklin
-
-#endif