diff options
author | Trygve Laugstøl <trygvis@inamo.no> | 2015-03-22 17:29:35 +0100 |
---|---|---|
committer | Trygve Laugstøl <trygvis@inamo.no> | 2015-03-22 17:29:35 +0100 |
commit | d7d545575250f616f0b9e2243e08544ab2794a03 (patch) | |
tree | 3ac666251499b8b665d82681920f1afee645cb51 /sensor/main | |
parent | aad1eaa291460509a5cf94092609ae22ebef5494 (diff) | |
download | ble-toys-d7d545575250f616f0b9e2243e08544ab2794a03.tar.gz ble-toys-d7d545575250f616f0b9e2243e08544ab2794a03.tar.bz2 ble-toys-d7d545575250f616f0b9e2243e08544ab2794a03.tar.xz ble-toys-d7d545575250f616f0b9e2243e08544ab2794a03.zip |
o Renaming trygvis::soil_moisture to trygvis::sample.
Diffstat (limited to 'sensor/main')
-rw-r--r-- | sensor/main/SensorSample.cpp | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/sensor/main/SensorSample.cpp b/sensor/main/SensorSample.cpp index 6ec6dfc..5f0e9c6 100644 --- a/sensor/main/SensorSample.cpp +++ b/sensor/main/SensorSample.cpp @@ -1,4 +1,4 @@ -#include "SensorSample.h" +#include "trygvis/SensorSample.h" #include "json.hpp" #include <set> @@ -6,7 +6,7 @@ #include <chrono> namespace trygvis { -namespace soil_moisture { +namespace sensor { using namespace std; using json = nlohmann::json; @@ -441,11 +441,9 @@ unique_ptr<SampleOutputStream> open_sample_output_stream( } } -//template<typename T> ThreadSafeSampleOutputStream::ThreadSafeSampleOutputStream(unique_ptr<SampleOutputStream> underlying) : underlying(move(underlying)) { } -//template<typename T> void ThreadSafeSampleOutputStream::write(SampleRecord const &sample) { std::unique_lock<std::mutex> lock(mutex); |