]> git.tdb.fi Git - r2c2.git/blobdiff - source/libmarklin/timetable.h
Place vehicles on the track when attached
[r2c2.git] / source / libmarklin / timetable.h
index 6631f3822c734f2ff99c8a9b28b8e70fd01bc4b5..3abbf83149e87e256bb9852a1c146a49c833c629 100644 (file)
@@ -27,6 +27,7 @@ public:
        public:
                Loader(Timetable &);
        private:
+               void arrive();
                void go_to(const std::string &);
                void route(const std::string &);
                void speed(int);
@@ -39,6 +40,7 @@ public:
                GOTO,
                TRAVEL,
                WAIT,
+               ARRIVE,
                SPEED,
                ROUTE
        };
@@ -71,6 +73,7 @@ public:
 
        void set_enabled(bool);
        bool is_enabled() const { return enabled; }
+       void reset();
 
        void clear();
        void append(const Row &);