wm.cpp
Go to the documentation of this file.
1 #include "wm.h"
2 
4 
5 
7 {
8 
9  HasDataMode::HasDataMode(armem::query::DataMode dataMode) : dataMode(dataMode)
10  {
11  }
12 
13 }
14 
15 
17 {
18 
20  detail::ProviderSegmentQueryProcessorBase<armem::wm::ProviderSegment, armem::wm::ProviderSegment, EntityQueryProcessor>(dataMode),
21  HasDataMode(dataMode)
22  {
23  }
24 
25 
27  CoreSegmentQueryProcessorBase(dataMode), HasDataMode(dataMode)
28  {
29  }
30 
31 
33  MemoryQueryProcessorBase(dataMode), HasDataMode(dataMode)
34  {
35  }
36 
37 }
38 
39 
41 {
43  ProviderSegmentQueryProcessorBase(dataMode), HasDataMode(dataMode)
44  {
45  }
46 
47 
49  CoreSegmentQueryProcessorBase(dataMode),
50  HasDataMode(dataMode)
51  {
52  }
53 
54 
56  armem::wm::CoreSegment& result,
57  const armem::query::data::CoreSegmentQuery& query,
58  const CoreSegment& coreSegment) const
59  {
60  coreSegment.doLocked([&]()
61  {
62  CoreSegmentQueryProcessorBase::process(result, query, coreSegment);
63  });
64  }
65 
66 
68  MemoryQueryProcessorBase(dataMode),
69  HasDataMode(dataMode)
70  {
71  }
72 
73 
74 }
armarx::armem::wm::ProviderSegment
Client-side working memory provider segment.
Definition: memory_definitions.h:105
armarx::armem::server::query_proc::wm::detail::EntityQueryProcessor
Definition: wm.h:31
armarx::armem
Definition: LegacyRobotStateMemoryAdapter.cpp:31
detail
Definition: OpenCVUtil.cpp:127
ice_conversions.h
armarx::armem::server::query_proc::wm_server::CoreSegmentQueryProcessor::process
void process(armem::wm::CoreSegment &result, const armem::query::data::CoreSegmentQuery &query, const CoreSegment &coreSegment) const override
Locks the core segment, then delegates back to CoreSegmentQueryProcessorBase.
Definition: wm.cpp:55
armarx::armem::query::DataMode
DataMode
Definition: DataMode.h:7
armarx::armem::server::query_proc::wm_server::CoreSegmentQueryProcessor::CoreSegmentQueryProcessor
CoreSegmentQueryProcessor(armem::query::DataMode dataMode=armem::query::DataMode::WithData)
Definition: wm.cpp:48
armarx::armem::server::query_proc::wm_server::ProviderSegmentQueryProcessor::ProviderSegmentQueryProcessor
ProviderSegmentQueryProcessor(armem::query::DataMode dataMode=armem::query::DataMode::WithData)
Definition: wm.cpp:42
armarx::armem::wm::CoreSegment
Client-side working memory core segment.
Definition: memory_definitions.h:119
wm.h
armarx::armem::server::query_proc::wm_server::MemoryQueryProcessor::MemoryQueryProcessor
MemoryQueryProcessor(armem::query::DataMode dataMode=armem::query::DataMode::WithData)
Definition: wm.cpp:67
armarx::armem::server::query_proc::wm::CoreSegmentQueryProcessor::CoreSegmentQueryProcessor
CoreSegmentQueryProcessor(armem::query::DataMode dataMode=armem::query::DataMode::WithData)
Definition: wm.cpp:26
armarx::armem::server::wm::CoreSegment::doLocked
auto doLocked(FunctionT &&function) const
Definition: memory_definitions.h:120
armarx::armem::server::query_proc::wm::ProviderSegmentQueryProcessor::ProviderSegmentQueryProcessor
ProviderSegmentQueryProcessor(armem::query::DataMode dataMode=armem::query::DataMode::WithData)
Definition: wm.cpp:19
armarx::armem::server::wm::CoreSegment
base::CoreSegmentBase
Definition: memory_definitions.h:86
armarx::armem::server::query_proc::wm_server
Definition: wm.cpp:40
armarx::armem::server::query_proc::wm
Definition: CoreSegmentQueryProcessorBase.cpp:3
armarx::armem::server::query_proc::wm::MemoryQueryProcessor::MemoryQueryProcessor
MemoryQueryProcessor(armem::query::DataMode dataMode=armem::query::DataMode::WithData)
Definition: wm.cpp:32
armarx::armem::server::query_proc::wm::detail
Definition: CoreSegmentQueryProcessorBase.cpp:3
armarx::armem::server::query_proc::wm::detail::HasDataMode::HasDataMode
HasDataMode(armem::query::DataMode dataMode)
Definition: wm.cpp:9