BaseQueryProcessorBase< DataT, ResultT, QueryT > Class Template Referenceabstract

Base class for memory query processors. More...

#include <RobotAPI/libraries/armem/server/query_proc/base/BaseQueryProcessorBase.h>

Public Types

using QueryPtrT = ::IceInternal::Handle< QueryT >
 
using QuerySeqT = std::vector< QueryPtrT >
 

Public Member Functions

ResultT process (const QueryPtrT &query, const DataT &data) const
 
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
 
virtual void process (ResultT &result, const QueryT &query, const DataT &data) const =0
 Process the query and populate result. More...
 
virtual ~BaseQueryProcessorBase ()=default
 

Detailed Description

template<class DataT, class ResultT, class QueryT>
class armarx::armem::server::query_proc::base::BaseQueryProcessorBase< DataT, ResultT, QueryT >

Base class for memory query processors.

Definition at line 21 of file BaseQueryProcessorBase.h.

Member Typedef Documentation

◆ QueryPtrT

using QueryPtrT = ::IceInternal::Handle<QueryT>

Definition at line 25 of file BaseQueryProcessorBase.h.

◆ QuerySeqT

using QuerySeqT = std::vector<QueryPtrT>

Definition at line 26 of file BaseQueryProcessorBase.h.

Constructor & Destructor Documentation

◆ ~BaseQueryProcessorBase()

virtual ~BaseQueryProcessorBase ( )
virtualdefault

Member Function Documentation

◆ process() [1/5]

ResultT process ( const QueryPtrT query,
const DataT &  data 
) const
inline

Definition at line 40 of file BaseQueryProcessorBase.h.

◆ process() [2/5]

ResultT process ( const QuerySeqT queries,
const DataT &  data 
) const
inline

Definition at line 45 of file BaseQueryProcessorBase.h.

◆ process() [3/5]

ResultT process ( const QueryT &  query,
const DataT &  data 
) const
inline

Definition at line 33 of file BaseQueryProcessorBase.h.

+ Here is the caller graph for this function:

◆ process() [4/5]

void process ( ResultT &  result,
const QuerySeqT queries,
const DataT &  data 
) const
inline

Definition at line 52 of file BaseQueryProcessorBase.h.

◆ process() [5/5]

virtual void process ( ResultT &  result,
const QueryT &  query,
const DataT &  data 
) const
pure virtual

Process the query and populate result.

Parameters
resultThe result container.
queryThe query.
dataThe source container.

Implemented in ProviderSegmentQueryProcessorBase< _ProviderSegmentT, _ResultProviderSegmentT, _ChildProcessorT >, ProviderSegmentQueryProcessorBase< armem::wm::ProviderSegment, armem::wm::ProviderSegment, EntityQueryProcessor >, ProviderSegmentQueryProcessorBase< armem::server::ltm::ProviderSegment, armem::wm::ProviderSegment, EntityQueryProcessor >, ProviderSegmentQueryProcessorBase< server::wm::ProviderSegment, armem::wm::ProviderSegment, EntityQueryProcessor >, MemoryQueryProcessorBase< _MemoryT, _ResultMemoryT, _ChildProcessorT >, MemoryQueryProcessorBase< server::wm::Memory, armem::wm::Memory, CoreSegmentQueryProcessor >, MemoryQueryProcessorBase< armem::wm::Memory, armem::wm::Memory, CoreSegmentQueryProcessor >, MemoryQueryProcessorBase< armem::server::ltm::Memory, armem::wm::Memory, CoreSegmentQueryProcessor >, EntityQueryProcessorBase< _EntityT, _ResultEntityT >, EntityQueryProcessorBase< SourceEntityT, armem::wm::Entity >, EntityQueryProcessorBase< armem::server::ltm::Entity, armem::wm::Entity >, CoreSegmentQueryProcessorBase< _CoreSegmentT, _ResultCoreSegmentT, _ChildProcessorT >, CoreSegmentQueryProcessorBase< armem::wm::CoreSegment, armem::wm::CoreSegment, ProviderSegmentQueryProcessor >, CoreSegmentQueryProcessorBase< armem::server::ltm::CoreSegment, armem::wm::CoreSegment, ProviderSegmentQueryProcessor >, CoreSegmentQueryProcessorBase< server::wm::CoreSegment, armem::wm::CoreSegment, ProviderSegmentQueryProcessor >, and CoreSegmentQueryProcessor.


The documentation for this class was generated from the following file: