Go to the documentation of this file.
3 #include <RobotAPI/interface/armem/query.h>
6 #include <Ice/Handle.h>
14 using QueryTarget = armem::query::data::QueryTarget::QueryTargetEnum;
20 template <
class DataT,
class ResultT,
class QueryT>
35 ResultT result {
data.id() };
47 ResultT result {
data.id() };
59 for (
const auto& query : queries)
73 virtual void process(ResultT& result,
const QueryT& query,
const DataT&
data)
const = 0;
ResultT process(const QueryPtrT &query, const DataT &data) const
Base class for memory query processors.
virtual ~BaseQueryProcessorBase()=default
ResultT process(const QuerySeqT &queries, const DataT &data) const
ResultT process(const QueryT &query, const DataT &data) const
void process(ResultT &result, const QuerySeqT &queries, const DataT &data) const
std::vector< QueryPtrT > QuerySeqT
armem::query::data::QueryTarget::QueryTargetEnum QueryTarget