CoreSegmentQueryProcessorBase< _CoreSegmentT, _ResultCoreSegmentT, _ChildProcessorT > Class Template Reference

Handles memory queries. More...

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

+ Inheritance diagram for CoreSegmentQueryProcessorBase< _CoreSegmentT, _ResultCoreSegmentT, _ChildProcessorT >:

Public Types

using ChildProcessorT = _ChildProcessorT
 
using CoreSegmentT = _CoreSegmentT
 
using ProviderSegmentT = typename CoreSegmentT::ProviderSegmentT
 
using ResultCoreSegmentT = _ResultCoreSegmentT
 
using ResultProviderSegmentT = typename ResultCoreSegmentT::ProviderSegmentT
 
- Public Types inherited from BaseQueryProcessorBase< _CoreSegmentT, _ResultCoreSegmentT, armem::query::data::CoreSegmentQuery >
using QueryPtrT = ::IceInternal::Handle< armem::query::data::CoreSegmentQuery >
 
using QuerySeqT = std::vector< QueryPtrT >
 

Public Member Functions

 CoreSegmentQueryProcessorBase ()
 
 CoreSegmentQueryProcessorBase (ChildProcessorT &&childProcessor)
 
virtual void process (ResultCoreSegmentT &result, const armem::query::data::core::All &query, const CoreSegmentT &coreSegment) const
 
virtual void process (ResultCoreSegmentT &result, const armem::query::data::core::Regex &query, const CoreSegmentT &coreSegment) const
 
virtual void process (ResultCoreSegmentT &result, const armem::query::data::core::Single &query, const CoreSegmentT &coreSegment) const
 
virtual void process (ResultCoreSegmentT &result, const armem::query::data::CoreSegmentQuery &query, const CoreSegmentT &coreSegment) const override
 Process the query and populate result. More...
 
- Public Member Functions inherited from BaseQueryProcessorBase< _CoreSegmentT, _ResultCoreSegmentT, armem::query::data::CoreSegmentQuery >
void process (_ResultCoreSegmentT &result, const QuerySeqT &queries, const _CoreSegmentT &data) const
 
_ResultCoreSegmentT process (const armem::query::data::CoreSegmentQuery &query, const _CoreSegmentT &data) const
 
_ResultCoreSegmentT process (const QueryPtrT &query, const _CoreSegmentT &data) const
 
_ResultCoreSegmentT process (const QuerySeqT &queries, const _CoreSegmentT &data) const
 
virtual ~BaseQueryProcessorBase ()=default
 

Protected Types

using Base = BaseQueryProcessorBase< _CoreSegmentT, _ResultCoreSegmentT, armem::query::data::CoreSegmentQuery >
 

Protected Member Functions

void _processResult (ResultCoreSegmentT &result, const ProviderSegmentT &providerSegment, const armem::query::data::CoreSegmentQuery &query) const
 

Protected Attributes

ChildProcessorT childProcessor
 

Detailed Description

template<class _CoreSegmentT, class _ResultCoreSegmentT, class _ChildProcessorT>
class armarx::armem::server::query_proc::base::CoreSegmentQueryProcessorBase< _CoreSegmentT, _ResultCoreSegmentT, _ChildProcessorT >

Handles memory queries.

Definition at line 18 of file CoreSegmentQueryProcessorBase.h.

Member Typedef Documentation

◆ Base

using Base = BaseQueryProcessorBase<_CoreSegmentT, _ResultCoreSegmentT, armem::query::data::CoreSegmentQuery>
protected

Definition at line 23 of file CoreSegmentQueryProcessorBase.h.

◆ ChildProcessorT

using ChildProcessorT = _ChildProcessorT

Definition at line 33 of file CoreSegmentQueryProcessorBase.h.

◆ CoreSegmentT

using CoreSegmentT = _CoreSegmentT

Definition at line 27 of file CoreSegmentQueryProcessorBase.h.

◆ ProviderSegmentT

using ProviderSegmentT = typename CoreSegmentT::ProviderSegmentT

Definition at line 28 of file CoreSegmentQueryProcessorBase.h.

◆ ResultCoreSegmentT

using ResultCoreSegmentT = _ResultCoreSegmentT

Definition at line 30 of file CoreSegmentQueryProcessorBase.h.

◆ ResultProviderSegmentT

using ResultProviderSegmentT = typename ResultCoreSegmentT::ProviderSegmentT

Definition at line 31 of file CoreSegmentQueryProcessorBase.h.

Constructor & Destructor Documentation

◆ CoreSegmentQueryProcessorBase() [1/2]

Definition at line 38 of file CoreSegmentQueryProcessorBase.h.

◆ CoreSegmentQueryProcessorBase() [2/2]

CoreSegmentQueryProcessorBase ( ChildProcessorT &&  childProcessor)
inline

Definition at line 41 of file CoreSegmentQueryProcessorBase.h.

Member Function Documentation

◆ _processResult()

void _processResult ( ResultCoreSegmentT result,
const ProviderSegmentT providerSegment,
const armem::query::data::CoreSegmentQuery &  query 
) const
inlineprotected

Definition at line 108 of file CoreSegmentQueryProcessorBase.h.

+ Here is the caller graph for this function:

◆ process() [1/4]

virtual void process ( ResultCoreSegmentT result,
const armem::query::data::core::All &  query,
const CoreSegmentT coreSegment 
) const
inlinevirtual

Definition at line 70 of file CoreSegmentQueryProcessorBase.h.

◆ process() [2/4]

virtual void process ( ResultCoreSegmentT result,
const armem::query::data::core::Regex &  query,
const CoreSegmentT coreSegment 
) const
inlinevirtual

Definition at line 90 of file CoreSegmentQueryProcessorBase.h.

◆ process() [3/4]

virtual void process ( ResultCoreSegmentT result,
const armem::query::data::core::Single &  query,
const CoreSegmentT coreSegment 
) const
inlinevirtual

Definition at line 80 of file CoreSegmentQueryProcessorBase.h.

◆ process() [4/4]

virtual void process ( ResultCoreSegmentT result,
const armem::query::data::CoreSegmentQuery &  query,
const CoreSegmentT data 
) const
inlineoverridevirtual

Process the query and populate result.

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

Implements BaseQueryProcessorBase< _CoreSegmentT, _ResultCoreSegmentT, armem::query::data::CoreSegmentQuery >.

Reimplemented in CoreSegmentQueryProcessor.

Definition at line 48 of file CoreSegmentQueryProcessorBase.h.

+ Here is the caller graph for this function:

Member Data Documentation

◆ childProcessor

ChildProcessorT childProcessor
protected

Definition at line 123 of file CoreSegmentQueryProcessorBase.h.


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