X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Flibr2c2%2Fcentralstation.cpp;h=5e82f2e5f117c23d9137bb80ff41b0b4359d2ecb;hb=b78b49d85fbb9b2901c77e6450cfd41c0a818ac1;hp=fc7855b0726fc9fbcf8183d45e3b05ddd57d35ad;hpb=2c08ce7d004b20a1cd9bc68fccbf734a6ba2d242;p=r2c2.git diff --git a/source/libr2c2/centralstation.cpp b/source/libr2c2/centralstation.cpp index fc7855b..5e82f2e 100644 --- a/source/libr2c2/centralstation.cpp +++ b/source/libr2c2/centralstation.cpp @@ -1,4 +1,5 @@ #include +#include #include #include #include @@ -328,6 +329,11 @@ bool CentralStation::get_sensor(unsigned addr) const return false; } +float CentralStation::get_telemetry_value(const string &name) const +{ + throw key_error(name); +} + void CentralStation::tick() { while(Message msg = receive())