EntityQueryProcessorBase< _EntityT, _ResultEntityT > Class Template Referenceabstract

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

+ Inheritance diagram for EntityQueryProcessorBase< _EntityT, _ResultEntityT >:

Public Types

using EntitySnapshotT = typename EntityT::EntitySnapshotT
 
using EntityT = _EntityT
 
using ResultEntityT = _ResultEntityT
 
using ResultSnapshotT = typename ResultEntityT::EntitySnapshotT
 
- Public Types inherited from BaseQueryProcessorBase< _EntityT, _ResultEntityT, armem::query::data::EntityQuery >
using QueryPtrT = ::IceInternal::Handle< armem::query::data::EntityQuery >
 
using QuerySeqT = std::vector< QueryPtrT >
 

Public Member Functions

virtual void process (ResultEntityT &result, const armem::query::data::entity::All &query, const EntityT &entity) const
 
virtual void process (ResultEntityT &result, const armem::query::data::entity::BeforeOrAtTime &query, const EntityT &entity) const
 
virtual void process (ResultEntityT &result, const armem::query::data::entity::BeforeTime &query, const EntityT &entity) const
 
virtual void process (ResultEntityT &result, const armem::query::data::entity::IndexRange &query, const EntityT &entity) const
 
virtual void process (ResultEntityT &result, const armem::query::data::entity::Single &query, const EntityT &entity) const
 
virtual void process (ResultEntityT &result, const armem::query::data::entity::TimeApprox &query, const EntityT &entity) const
 
virtual void process (ResultEntityT &result, const armem::query::data::entity::TimeRange &query, const EntityT &entity) const
 
virtual void process (ResultEntityT &result, const armem::query::data::EntityQuery &query, const EntityT &entity) const override
 Process the query and populate result. More...
 
virtual void process (ResultEntityT &result, const Time &min, const Time &max, const EntityT &entity, const armem::query::data::EntityQuery &query) const
 
- Public Member Functions inherited from BaseQueryProcessorBase< _EntityT, _ResultEntityT, armem::query::data::EntityQuery >
void process (_ResultEntityT &result, const QuerySeqT &queries, const _EntityT &data) const
 
_ResultEntityT process (const armem::query::data::EntityQuery &query, const _EntityT &data) const
 
_ResultEntityT process (const QueryPtrT &query, const _EntityT &data) const
 
_ResultEntityT process (const QuerySeqT &queries, const _EntityT &data) const
 
virtual ~BaseQueryProcessorBase ()=default
 

Protected Types

using Base = BaseQueryProcessorBase< _EntityT, _ResultEntityT, armem::query::data::EntityQuery >
 

Protected Member Functions

virtual void addResultSnapshot (ResultEntityT &result, const EntitySnapshotT &snapshot) const =0
 

Detailed Description

template<class _EntityT, class _ResultEntityT>
class armarx::armem::server::query_proc::base::EntityQueryProcessorBase< _EntityT, _ResultEntityT >

Definition at line 26 of file EntityQueryProcessorBase.h.

Member Typedef Documentation

◆ Base

using Base = BaseQueryProcessorBase<_EntityT, _ResultEntityT, armem::query::data::EntityQuery>
protected

Definition at line 31 of file EntityQueryProcessorBase.h.

◆ EntitySnapshotT

using EntitySnapshotT = typename EntityT::EntitySnapshotT

Definition at line 36 of file EntityQueryProcessorBase.h.

◆ EntityT

using EntityT = _EntityT

Definition at line 35 of file EntityQueryProcessorBase.h.

◆ ResultEntityT

using ResultEntityT = _ResultEntityT

Definition at line 38 of file EntityQueryProcessorBase.h.

◆ ResultSnapshotT

using ResultSnapshotT = typename ResultEntityT::EntitySnapshotT

Definition at line 39 of file EntityQueryProcessorBase.h.

Member Function Documentation

◆ addResultSnapshot()

virtual void addResultSnapshot ( ResultEntityT result,
const EntitySnapshotT snapshot 
) const
protectedpure virtual

Implemented in EntityQueryProcessorBase< _EntityT, _ResultEntityT >, EntityQueryProcessorBase< SourceEntityT, armem::wm::Entity >, EntityQueryProcessorBase< _EntityT, _ResultEntityT >, and EntityQueryProcessorBase< armem::server::ltm::Entity, armem::wm::Entity >.

+ Here is the caller graph for this function:

◆ process() [1/9]

virtual void process ( ResultEntityT result,
const armem::query::data::entity::All &  query,
const EntityT entity 
) const
inlinevirtual

Definition at line 84 of file EntityQueryProcessorBase.h.

◆ process() [2/9]

virtual void process ( ResultEntityT result,
const armem::query::data::entity::BeforeOrAtTime &  query,
const EntityT entity 
) const
inlinevirtual

Definition at line 180 of file EntityQueryProcessorBase.h.

◆ process() [3/9]

virtual void process ( ResultEntityT result,
const armem::query::data::entity::BeforeTime &  query,
const EntityT entity 
) const
inlinevirtual

Definition at line 194 of file EntityQueryProcessorBase.h.

◆ process() [4/9]

virtual void process ( ResultEntityT result,
const armem::query::data::entity::IndexRange &  query,
const EntityT entity 
) const
inlinevirtual

Definition at line 151 of file EntityQueryProcessorBase.h.

◆ process() [5/9]

virtual void process ( ResultEntityT result,
const armem::query::data::entity::Single &  query,
const EntityT entity 
) const
inlinevirtual

Definition at line 98 of file EntityQueryProcessorBase.h.

◆ process() [6/9]

virtual void process ( ResultEntityT result,
const armem::query::data::entity::TimeApprox &  query,
const EntityT entity 
) const
inlinevirtual

Definition at line 225 of file EntityQueryProcessorBase.h.

◆ process() [7/9]

virtual void process ( ResultEntityT result,
const armem::query::data::entity::TimeRange &  query,
const EntityT entity 
) const
inlinevirtual

Definition at line 136 of file EntityQueryProcessorBase.h.

◆ process() [8/9]

virtual void process ( ResultEntityT result,
const armem::query::data::EntityQuery &  query,
const EntityT data 
) const
inlineoverridevirtual

Process the query and populate result.

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

Implements BaseQueryProcessorBase< _EntityT, _ResultEntityT, armem::query::data::EntityQuery >.

Definition at line 45 of file EntityQueryProcessorBase.h.

+ Here is the caller graph for this function:

◆ process() [9/9]

virtual void process ( ResultEntityT result,
const Time min,
const Time max,
const EntityT entity,
const armem::query::data::EntityQuery &  query 
) const
inlinevirtual

Definition at line 164 of file EntityQueryProcessorBase.h.


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