ObjectClassSegmentWrapper.h
Go to the documentation of this file.
1#pragma once
2
3#include <optional>
4
5#include <VirtualRobot/VirtualRobot.h>
6
7#include <MemoryX/interface/components/CommonStorageInterface.h>
8#include <MemoryX/interface/components/PriorKnowledgeInterface.h>
10
11namespace memoryx
12{
13
14 using ConstManipulationObjectPtr = VirtualRobot::ManipulationObjectPtr;
15
21
23 {
24 public:
25 void initFromProxy(memoryx::PriorKnowledgeInterfacePrx const& priorKnowledge,
26 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} // namespace memoryx
std::optional< ObjectClassWrapper > getClass(std::string const &className) const
void initFromProxy(memoryx::PriorKnowledgeInterfacePrx const &priorKnowledge, const std::vector< std::string > &datasets)
VirtualRobot headers.
IceInternal::Handle< ObjectClass > ObjectClassPtr
Definition ObjectClass.h:35
VirtualRobot::ManipulationObjectPtr ConstManipulationObjectPtr
ConstManipulationObjectPtr manipulationObject