Update the read path of the client to cope with long intervals.

This commit is contained in:
David Given
2019-02-22 20:18:22 +01:00
parent a77925fe64
commit 79e3e686eb
7 changed files with 35 additions and 26 deletions

View File

@@ -4,13 +4,10 @@
class Fluxmap
{
public:
uint8_t operator[](int index) const
{
return _intervals.at(index);
}
uint32_t getAndIncrement(size_t& index) const;
nanoseconds_t duration() const { return _duration; }
int bytes() const { return _intervals.size(); }
size_t bytes() const { return _intervals.size(); }
const uint8_t* ptr() const
{