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>
5
#include <
MemoryX/libraries/memorytypes/entity/ObjectClass.h
>
6
7
#include <VirtualRobot/VirtualRobot.h>
8
9
#include <optional>
10
11
12
namespace
memoryx
13
{
14
15
using
ConstManipulationObjectPtr
= VirtualRobot::ManipulationObjectPtr;
16
17
struct
ObjectClassWrapper
18
{
19
ObjectClassPtr
classInMemory
;
20
ConstManipulationObjectPtr
manipulationObject
;
21
};
22
23
class
ObjectClassSegmentWrapper
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
MemoryX
libraries
helpers
VirtualRobotHelpers
ObjectClassSegmentWrapper.h
Generated on Sat Oct 12 2024 09:14:05 for armarx_documentation by
1.8.17