MemoryRemoteGui.h
Go to the documentation of this file.
1 #pragma once
2 
4 
6 
7 
8 namespace armarx::armem::server
9 {
10 
11  /**
12  * @brief Utility for memory Remote Guis.
13  */
15  {
16  public:
19 
20 
22  GroupBox makeGroupBox(const armem::wm::CoreSegment& coreSegment) const;
23  GroupBox makeGroupBox(const armem::wm::ProviderSegment& providerSegment) const;
24  GroupBox makeGroupBox(const armem::wm::Entity& entity) const;
25  GroupBox makeGroupBox(const armem::wm::EntitySnapshot& entitySnapshot) const;
26  GroupBox makeGroupBox(const armem::wm::EntityInstance& instance) const;
27 
29  GroupBox makeGroupBox(const armem::server::wm::CoreSegment& coreSegment) const;
30  GroupBox makeGroupBox(const armem::server::wm::ProviderSegment& providerSegment) const;
31  GroupBox makeGroupBox(const armem::server::wm::Entity& entity) const;
32 
33 
34  std::string makeGroupLabel(const std::string& term, const std::string& name, size_t size,
35  const std::string& namePrefix = ": '", const std::string& nameSuffix = "'") const;
36  std::string makeNoItemsMessage(const std::string& term) const;
37 
38 
39 
40  int maxHistorySize = 10;
41 
42  private:
43 
44  template <class ...Args>
46  template <class ...Args>
47  MemoryRemoteGui::GroupBox _makeGroupBox(const armem::base::CoreSegmentBase<Args...>& coreSegment) const;
48  template <class ...Args>
49  MemoryRemoteGui::GroupBox _makeGroupBox(const armem::base::ProviderSegmentBase<Args...>& providerSegment) const;
50  template <class ...Args>
51  MemoryRemoteGui::GroupBox _makeGroupBox(const armem::base::EntityBase<Args...>& entity) const;
52 
53  };
54 
55 
56 }
armarx::armem::base::ProviderSegmentBase
Data of a provider segment containing multiple entities.
Definition: ProviderSegmentBase.h:22
armarx::armem::wm::ProviderSegment
Client-side working memory provider segment.
Definition: memory_definitions.h:105
armarx::armem::wm::EntityInstance
Client-side working entity instance.
Definition: memory_definitions.h:32
armarx::armem::server::MemoryRemoteGui::makeGroupBox
GroupBox makeGroupBox(const armem::wm::Memory &memory) const
Definition: MemoryRemoteGui.cpp:125
armarx::RemoteGui::Client::Label
Definition: Widgets.h:31
armarx::armem::base::EntityBase
An entity over a period of time.
Definition: EntityBase.h:43
armarx::armem::server::wm::Entity
Definition: memory_definitions.h:30
armarx::memory
Brief description of class memory.
Definition: memory.h:39
armarx::armem::server::MemoryRemoteGui::makeGroupLabel
std::string makeGroupLabel(const std::string &term, const std::string &name, size_t size, const std::string &namePrefix=": '", const std::string &nameSuffix="'") const
Definition: MemoryRemoteGui.cpp:215
memory_definitions.h
visionx::voxelgrid::Label
uint32_t Label
Type of an object label.
Definition: types.h:7
armarx::armem::base::CoreSegmentBase
Data of a core segment containing multiple provider segments.
Definition: CoreSegmentBase.h:22
armarx::armem::server::wm::Memory
Definition: memory_definitions.h:136
armarx::armem::wm::CoreSegment
Client-side working memory core segment.
Definition: memory_definitions.h:119
armarx::armem::wm::Memory
Client-side working memory.
Definition: memory_definitions.h:133
armarx::RemoteGui::Client::GroupBox
Definition: Widgets.h:193
armarx::armem::base::MemoryBase
Data of a memory consisting of multiple core segments.
Definition: MemoryBase.h:19
armarx::armem::wm::EntitySnapshot
Client-side working memory entity snapshot.
Definition: memory_definitions.h:80
armarx::armem::server::wm::ProviderSegment
Definition: memory_definitions.h:60
armarx::armem::server
Definition: GraspMemory.cpp:19
armarx::armem::server::wm::CoreSegment
base::CoreSegmentBase
Definition: memory_definitions.h:86
armarx::armem::server::MemoryRemoteGui::makeNoItemsMessage
std::string makeNoItemsMessage(const std::string &term) const
Definition: MemoryRemoteGui.cpp:225
armarx::armem::server::MemoryRemoteGui::maxHistorySize
int maxHistorySize
Definition: MemoryRemoteGui.h:40
Widgets.h
armarx::armem::wm::Entity
Client-side working memory entity.
Definition: memory_definitions.h:93
armarx::armem::server::MemoryRemoteGui
Utility for memory Remote Guis.
Definition: MemoryRemoteGui.h:14