6 #include <Poco/SharedPtr.h>
8 #include "model/SensorData.h"
20 typedef Poco::SharedPtr<QueuingStrategy> Ptr;
27 virtual bool empty() = 0;
33 virtual void push(
const std::vector<SensorData> &data) = 0;
42 virtual size_t peek(std::vector<SensorData> &data,
size_t count) = 0;
52 virtual void pop(
size_t count) = 0;
virtual size_t peek(std::vector< SensorData > &data, size_t count)=0
Serves to access data held by the strategy.
virtual void push(const std::vector< SensorData > &data)=0
Serves to insert data into the strategy.
Definition: QueuingStrategy.h:18
virtual void pop(size_t count)=0
Serves to release the data from the strategy.