Segment.h
Go to the documentation of this file.
1
#pragma once
2
3
// STD/STL
4
#include <mutex>
5
#include <string>
6
7
// BaseClass
8
#include <
RobotAPI/libraries/armem/server/segment/SpecializedSegment.h
>
9
10
// ArmarX
11
#include <RobotAPI/libraries/aron/common/aron/trajectory.aron.generated.h>
12
13
namespace
armarx::armem::server::motions::mps::segment
14
{
15
class
MPSegment
:
public
armem::server::segment::SpecializedProviderSegment
16
{
17
using
Base
=
armem::server::segment::SpecializedProviderSegment
;
18
19
public
:
20
MPSegment
(
armem::server::MemoryToIceAdapter
&
iceMemory
);
21
22
virtual
void
defineProperties
(
armarx::PropertyDefinitionsPtr
defs,
const
std::string& prefix =
""
)
override
;
23
virtual
void
init
()
override
;
24
virtual
void
onConnect
();
25
26
private
:
27
int
loadByMotionFinder(
const
std::string&);
28
void
loadSingleMotionFinder(
const
std::string&,
const
std::string &entityName,
bool
taskspace);
29
30
private
:
31
struct
Properties
32
{
33
std::string motionsPackage =
"PriorKnowledgeData"
;
34
bool
loadFromMotionsPackage =
true
;
35
};
36
Properties properties;
37
};
38
}
SpecializedSegment.h
armarx::armem::server::MemoryToIceAdapter
Helps connecting a Memory server to the Ice interface.
Definition:
MemoryToIceAdapter.h:19
armarx::armem::server::motions::mps::segment::MPSegment::init
virtual void init() override
Definition:
Segment.cpp:35
armarx::armem::server::segment::SpecializedProviderSegment
A base class for provider segments.
Definition:
SpecializedProviderSegment.h:20
armarx::armem::server::motions::mps::segment::MPSegment::MPSegment
MPSegment(armem::server::MemoryToIceAdapter &iceMemory)
Definition:
Segment.cpp:22
armarx::armem::server::motions::mps::segment
Definition:
motionprimitives.cpp:19
armarx::armem::server::segment::detail::SegmentBase< server::wm::ProviderSegment >
armarx::armem::server::motions::mps::segment::MPSegment
Definition:
Segment.h:15
armarx::armem::server::segment::detail::SegmentBase< server::wm::ProviderSegment >::iceMemory
MemoryToIceAdapter & iceMemory
Definition:
SpecializedSegment.h:60
IceUtil::Handle< class PropertyDefinitionContainer >
armarx::armem::server::motions::mps::segment::MPSegment::defineProperties
virtual void defineProperties(armarx::PropertyDefinitionsPtr defs, const std::string &prefix="") override
Definition:
Segment.cpp:27
armarx::armem::server::motions::mps::segment::MPSegment::onConnect
virtual void onConnect()
Definition:
Segment.cpp:45
RobotAPI
libraries
armem_mps
server
MotionPrimitives
Segment.h
Generated on Sat Oct 12 2024 09:14:09 for armarx_documentation by
1.8.17