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>
9
#include <
MemoryX/libraries/memorytypes/entity/ObjectClass.h
>
10
11
namespace
memoryx
12
{
13
14
using
ConstManipulationObjectPtr
= VirtualRobot::ManipulationObjectPtr;
15
16
struct
ObjectClassWrapper
17
{
18
ObjectClassPtr
classInMemory
;
19
ConstManipulationObjectPtr
manipulationObject
;
20
};
21
22
class
ObjectClassSegmentWrapper
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
memoryx::ObjectClassSegmentWrapper
Definition:
ObjectClassSegmentWrapper.h:22
memoryx
VirtualRobot headers.
Definition:
CommonPlacesTester.cpp:48
ObjectClass.h
memoryx::ObjectClassSegmentWrapper::getClass
std::optional< ObjectClassWrapper > getClass(std::string const &className) const
Definition:
ObjectClassSegmentWrapper.cpp:68
memoryx::ObjectClassWrapper
Definition:
ObjectClassSegmentWrapper.h:16
memoryx::ObjectClassWrapper::manipulationObject
ConstManipulationObjectPtr manipulationObject
Definition:
ObjectClassSegmentWrapper.h:19
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:18
memoryx::ConstManipulationObjectPtr
VirtualRobot::ManipulationObjectPtr ConstManipulationObjectPtr
Definition:
ObjectClassSegmentWrapper.h:14
MemoryX
libraries
helpers
VirtualRobotHelpers
ObjectClassSegmentWrapper.h
Generated by
1.8.17