ObjectClassSegmentWrapper.h
Go to the documentation of this file.
1 #pragma once
2 
3 #include <MemoryX/interface/components/PriorKnowledgeInterface.h>
4 #include <MemoryX/interface/components/CommonStorageInterface.h>
6 
7 #include <VirtualRobot/VirtualRobot.h>
8 
9 #include <optional>
10 
11 
12 namespace memoryx
13 {
14 
15  using ConstManipulationObjectPtr = VirtualRobot::ManipulationObjectPtr;
16 
18  {
21  };
22 
24  {
25  public:
26  void initFromProxy(memoryx::PriorKnowledgeInterfacePrx const& priorKnowledge, const std::vector<std::string>& datasets);
27 
28  std::optional<ObjectClassWrapper> getClass(std::string const& className) const;
29 
30  private:
31  std::map<std::string, ObjectClassWrapper> classToWrapper;
32  };
33 
34 
35 }
memoryx::ObjectClassSegmentWrapper
Definition: ObjectClassSegmentWrapper.h:23
memoryx
VirtualRobot headers.
Definition: CommonPlacesTester.cpp:48
ObjectClass.h
memoryx::ObjectClassSegmentWrapper::getClass
std::optional< ObjectClassWrapper > getClass(std::string const &className) const
Definition: ObjectClassSegmentWrapper.cpp:62
memoryx::ObjectClassWrapper
Definition: ObjectClassSegmentWrapper.h:17
memoryx::ObjectClassWrapper::manipulationObject
ConstManipulationObjectPtr manipulationObject
Definition: ObjectClassSegmentWrapper.h:20
IceInternal::Handle< ObjectClass >
memoryx::ObjectClassSegmentWrapper::initFromProxy
void initFromProxy(memoryx::PriorKnowledgeInterfacePrx const &priorKnowledge, const std::vector< std::string > &datasets)
Definition: ObjectClassSegmentWrapper.cpp:16
memoryx::ObjectClassWrapper::classInMemory
ObjectClassPtr classInMemory
Definition: ObjectClassSegmentWrapper.h:19
memoryx::ConstManipulationObjectPtr
VirtualRobot::ManipulationObjectPtr ConstManipulationObjectPtr
Definition: ObjectClassSegmentWrapper.h:15