MemoryQueryProcessorBase.h
Go to the documentation of this file.
1
#pragma once
2
3
#include "../../base/MemoryQueryProcessorBase.h"
4
5
6
namespace
armarx::armem::server::query_proc::ltm::detail
7
{
8
9
template
<
class
_MemoryT,
class
_ResultMemoryT,
class
_ChildProcessorT>
10
class
MemoryQueryProcessorBase
:
11
public
base::MemoryQueryProcessorBase
<_MemoryT, _ResultMemoryT, _ChildProcessorT>
12
{
13
protected
:
14
15
using
Base
=
base::MemoryQueryProcessorBase<_MemoryT, _ResultMemoryT, _ChildProcessorT>
;
16
17
public
:
18
19
using
MemoryT
=
typename
Base::MemoryT
;
20
using
CoreSegmentT
=
typename
Base::CoreSegmentT
;
21
using
ResultMemoryT
=
typename
Base::ResultMemoryT
;
22
using
ResultCoreSegmentT
=
typename
Base::CoreSegmentT
;
23
using
ChildProcessorT
=
typename
Base::ChildProcessorT
;
24
25
public
:
26
using
Base::MemoryQueryProcessorBase
;
27
virtual
~MemoryQueryProcessorBase
() =
default
;
28
29
using
Base::process
;
30
31
protected
:
32
33
bool
_processAllowed
(
const
armem::query::data::MemoryQuery& query)
const
final
34
{
35
// only execute if query target is correct
36
return
query.target == armem::query::data::QueryTarget::WM_LTM;
37
}
38
39
40
};
41
}
armarx::armem::server::query_proc::base::MemoryQueryProcessorBase< armem::server::ltm::Memory, armem::wm::Memory, CoreSegmentQueryProcessor >::CoreSegmentT
typename MemoryT::CoreSegmentT CoreSegmentT
Definition:
MemoryQueryProcessorBase.h:23
armarx::armem::server::query_proc::base::MemoryQueryProcessorBase::ResultMemoryT
_ResultMemoryT ResultMemoryT
Definition:
MemoryQueryProcessorBase.h:25
armarx::armem::server::query_proc::base::MemoryQueryProcessorBase::MemoryT
_MemoryT MemoryT
Definition:
MemoryQueryProcessorBase.h:22
armarx::armem::server::query_proc::base::BaseQueryProcessorBase< armem::server::ltm::Memory, armem::wm::Memory, armem::query::data::MemoryQuery >
armarx::armem::server::query_proc::base::MemoryQueryProcessorBase::MemoryQueryProcessorBase
MemoryQueryProcessorBase()
Definition:
MemoryQueryProcessorBase.h:32
armarx::armem::server::ltm::Memory
A memory storing data on the hard drive and in mongodb (needs 'armarx memory start' to start the mong...
Definition:
Memory.h:19
armarx::armem::server::query_proc::base::MemoryQueryProcessorBase::process
ResultMemoryT process(const armem::query::data::Input &input, const MemoryT &memory) const
Definition:
MemoryQueryProcessorBase.h:43
armarx::armem::wm::Memory
Client-side working memory.
Definition:
memory_definitions.h:133
armarx::armem::server::query_proc::ltm::detail::MemoryQueryProcessorBase
Definition:
MemoryQueryProcessorBase.h:10
armarx::armem::server::query_proc::ltm::detail::MemoryQueryProcessorBase::~MemoryQueryProcessorBase
virtual ~MemoryQueryProcessorBase()=default
armarx::armem::server::query_proc::base::MemoryQueryProcessorBase< armem::server::ltm::Memory, armem::wm::Memory, CoreSegmentQueryProcessor >::ChildProcessorT
CoreSegmentQueryProcessor ChildProcessorT
Definition:
MemoryQueryProcessorBase.h:28
armarx::armem::server::query_proc::base::MemoryQueryProcessorBase
Definition:
MemoryQueryProcessorBase.h:14
armarx::armem::server::query_proc::ltm::detail::MemoryQueryProcessorBase::_processAllowed
bool _processAllowed(const armem::query::data::MemoryQuery &query) const final
Definition:
MemoryQueryProcessorBase.h:33
armarx::armem::server::query_proc::ltm::detail
Definition:
CoreSegmentQueryProcessorBase.h:6
armarx::armem::server::query_proc::base::MemoryQueryProcessorBase< armem::server::ltm::Memory, armem::wm::Memory, CoreSegmentQueryProcessor >::ResultCoreSegmentT
typename ResultMemoryT::CoreSegmentT ResultCoreSegmentT
Definition:
MemoryQueryProcessorBase.h:26
RobotAPI
libraries
armem
server
query_proc
ltm
detail
MemoryQueryProcessorBase.h
Generated on Sat Oct 12 2024 09:14:08 for armarx_documentation by
1.8.17