ProviderSegmentQueryProcessorBase< _ProviderSegmentT, _ResultProviderSegmentT, _ChildProcessorT > Class Template Reference

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

+ Inheritance diagram for ProviderSegmentQueryProcessorBase< _ProviderSegmentT, _ResultProviderSegmentT, _ChildProcessorT >:

Public Types

using ChildProcessorT = _ChildProcessorT
 
using EntityT = typename ProviderSegmentT::EntityT
 
using ProviderSegmentT = _ProviderSegmentT
 
using ResultEntityT = typename ResultProviderSegmentT::EntityT
 
using ResultProviderSegmentT = _ResultProviderSegmentT
 
- Public Types inherited from BaseQueryProcessorBase< _ProviderSegmentT, _ResultProviderSegmentT, armem::query::data::ProviderSegmentQuery >
using QueryPtrT = ::IceInternal::Handle< armem::query::data::ProviderSegmentQuery >
 
using QuerySeqT = std::vector< QueryPtrT >
 

Public Member Functions

virtual void process (ResultProviderSegmentT &result, const armem::query::data::provider::All &query, const ProviderSegmentT &providerSegment) const
 
virtual void process (ResultProviderSegmentT &result, const armem::query::data::provider::Regex &query, const ProviderSegmentT &providerSegment) const
 
virtual void process (ResultProviderSegmentT &result, const armem::query::data::provider::Single &query, const ProviderSegmentT &providerSegment) const
 
virtual void process (ResultProviderSegmentT &result, const armem::query::data::ProviderSegmentQuery &query, const ProviderSegmentT &providerSegment) const override
 Process the query and populate result. More...
 
 ProviderSegmentQueryProcessorBase ()
 
 ProviderSegmentQueryProcessorBase (ChildProcessorT &&childProcessor)
 
- Public Member Functions inherited from BaseQueryProcessorBase< _ProviderSegmentT, _ResultProviderSegmentT, armem::query::data::ProviderSegmentQuery >
void process (_ResultProviderSegmentT &result, const QuerySeqT &queries, const _ProviderSegmentT &data) const
 
_ResultProviderSegmentT process (const armem::query::data::ProviderSegmentQuery &query, const _ProviderSegmentT &data) const
 
_ResultProviderSegmentT process (const QueryPtrT &query, const _ProviderSegmentT &data) const
 
_ResultProviderSegmentT process (const QuerySeqT &queries, const _ProviderSegmentT &data) const
 
virtual ~BaseQueryProcessorBase ()=default
 

Protected Types

using Base = BaseQueryProcessorBase< _ProviderSegmentT, _ResultProviderSegmentT, armem::query::data::ProviderSegmentQuery >
 

Protected Member Functions

void _processResult (ResultProviderSegmentT &result, const EntityT &entity, const armem::query::data::ProviderSegmentQuery &query) const
 

Protected Attributes

ChildProcessorT childProcessor
 

Detailed Description

template<class _ProviderSegmentT, class _ResultProviderSegmentT, class _ChildProcessorT>
class armarx::armem::server::query_proc::base::ProviderSegmentQueryProcessorBase< _ProviderSegmentT, _ResultProviderSegmentT, _ChildProcessorT >

Definition at line 16 of file ProviderSegmentQueryProcessorBase.h.

Member Typedef Documentation

◆ Base

using Base = BaseQueryProcessorBase<_ProviderSegmentT, _ResultProviderSegmentT, armem::query::data::ProviderSegmentQuery>
protected

Definition at line 21 of file ProviderSegmentQueryProcessorBase.h.

◆ ChildProcessorT

using ChildProcessorT = _ChildProcessorT

Definition at line 32 of file ProviderSegmentQueryProcessorBase.h.

◆ EntityT

using EntityT = typename ProviderSegmentT::EntityT

Definition at line 27 of file ProviderSegmentQueryProcessorBase.h.

◆ ProviderSegmentT

using ProviderSegmentT = _ProviderSegmentT

Definition at line 26 of file ProviderSegmentQueryProcessorBase.h.

◆ ResultEntityT

using ResultEntityT = typename ResultProviderSegmentT::EntityT

Definition at line 30 of file ProviderSegmentQueryProcessorBase.h.

◆ ResultProviderSegmentT

using ResultProviderSegmentT = _ResultProviderSegmentT

Definition at line 29 of file ProviderSegmentQueryProcessorBase.h.

Constructor & Destructor Documentation

◆ ProviderSegmentQueryProcessorBase() [1/2]

◆ ProviderSegmentQueryProcessorBase() [2/2]

ProviderSegmentQueryProcessorBase ( ChildProcessorT &&  childProcessor)
inline

Definition at line 40 of file ProviderSegmentQueryProcessorBase.h.

Member Function Documentation

◆ _processResult()

void _processResult ( ResultProviderSegmentT result,
const EntityT entity,
const armem::query::data::ProviderSegmentQuery &  query 
) const
inlineprotected

Definition at line 106 of file ProviderSegmentQueryProcessorBase.h.

+ Here is the caller graph for this function:

◆ process() [1/4]

virtual void process ( ResultProviderSegmentT result,
const armem::query::data::provider::All &  query,
const ProviderSegmentT providerSegment 
) const
inlinevirtual

Definition at line 68 of file ProviderSegmentQueryProcessorBase.h.

◆ process() [2/4]

virtual void process ( ResultProviderSegmentT result,
const armem::query::data::provider::Regex &  query,
const ProviderSegmentT providerSegment 
) const
inlinevirtual

Definition at line 88 of file ProviderSegmentQueryProcessorBase.h.

◆ process() [3/4]

virtual void process ( ResultProviderSegmentT result,
const armem::query::data::provider::Single &  query,
const ProviderSegmentT providerSegment 
) const
inlinevirtual

Definition at line 78 of file ProviderSegmentQueryProcessorBase.h.

◆ process() [4/4]

virtual void process ( ResultProviderSegmentT result,
const armem::query::data::ProviderSegmentQuery &  query,
const ProviderSegmentT data 
) const
inlineoverridevirtual

Process the query and populate result.

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

Implements BaseQueryProcessorBase< _ProviderSegmentT, _ResultProviderSegmentT, armem::query::data::ProviderSegmentQuery >.

Definition at line 46 of file ProviderSegmentQueryProcessorBase.h.

+ Here is the caller graph for this function:

Member Data Documentation

◆ childProcessor

ChildProcessorT childProcessor
protected

Definition at line 121 of file ProviderSegmentQueryProcessorBase.h.


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