5 #include <Poco/SharedPtr.h>
7 #include "exporters/QueuingStrategy.h"
19 typedef Poco::SharedPtr<InMemoryQueuingStrategy> Ptr;
24 bool empty()
override;
35 void push(
const std::vector<SensorData> &data)
override;
46 size_t peek(std::vector<SensorData> &data,
size_t count)
override;
52 void pop(
size_t count)
override;
55 std::vector<SensorData> m_vector;
size_t peek(std::vector< SensorData > &data, size_t count) override
Definition: InMemoryQueuingStrategy.cpp:26
size_t size()
Definition: InMemoryQueuingStrategy.cpp:16
bool empty() override
Definition: InMemoryQueuingStrategy.cpp:11
Basic implementation of the QueuingStrategy interface.
Definition: InMemoryQueuingStrategy.h:17
Definition: QueuingStrategy.h:18
void pop(size_t count) override
Definition: InMemoryQueuingStrategy.cpp:36
void push(const std::vector< SensorData > &data) override
Definition: InMemoryQueuingStrategy.cpp:21