X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Flibr2c2%2Flayout.h;h=7c61c4fdecf8ead4c767efc77ba564849a417f65;hb=9f4f169affcedcf249e935f93e0a15ed60232f6a;hp=204a60f6d90b9e64718386cbeb384c3f511fa570;hpb=d2dfed1a38c5e8487532e9055fad464cf54efd83;p=r2c2.git diff --git a/source/libr2c2/layout.h b/source/libr2c2/layout.h index 204a60f..7c61c4f 100644 --- a/source/libr2c2/layout.h +++ b/source/libr2c2/layout.h @@ -7,6 +7,7 @@ #include #include "geometry.h" #include "sensor.h" +#include "clock.h" namespace R2C2 { @@ -84,6 +85,7 @@ public: private: Catalogue &catalogue; Driver *driver; + Clock clock; std::string base; Storage objects; Storage track_chains; @@ -99,6 +101,7 @@ public: Catalogue &get_catalogue() const { return catalogue; } bool has_driver() const { return driver; } Driver &get_driver() const; + const Clock &get_clock() const { return clock; } const std::string &get_base() const { return base; } void add(Object &);