MotionSegment.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/SpecializedCoreSegment.h
>
9
#include <
RobotAPI/libraries/armem/server/segment/SpecializedProviderSegment.h
>
10
11
// ArmarX
12
#include <RobotAPI/libraries/armem_motions/aron/MDBReference.aron.generated.h>
13
14
15
namespace
armarx::armem::server::motions::mdb::segment
16
{
17
class
MDBMotionSegment
:
public
armem::server::segment::SpecializedProviderSegment
18
{
19
using
Base
=
armem::server::segment::SpecializedProviderSegment
;
20
21
public
:
22
MDBMotionSegment
(
armem::server::MemoryToIceAdapter
&
iceMemory
);
23
24
virtual
void
defineProperties
(
armarx::PropertyDefinitionsPtr
defs,
const
std::string& prefix =
""
)
override
;
25
virtual
void
init
()
override
;
26
virtual
void
onConnect
();
27
28
private
:
29
int
loadByMotionFinder(
const
std::string&);
30
31
private
:
32
struct
Properties
33
{
34
std::string motionsPackage =
"PriorKnowledgeData"
;
35
bool
loadFromMotionsPackage =
true
;
36
};
37
Properties properties;
38
};
39
}
armarx::armem::server::motions::mdb::segment::MDBMotionSegment::onConnect
virtual void onConnect()
Definition:
MotionSegment.cpp:46
armarx::armem::server::motions::mdb::segment::MDBMotionSegment::defineProperties
virtual void defineProperties(armarx::PropertyDefinitionsPtr defs, const std::string &prefix="") override
Definition:
MotionSegment.cpp:28
armarx::armem::server::MemoryToIceAdapter
Helps connecting a Memory server to the Ice interface.
Definition:
MemoryToIceAdapter.h:19
armarx::armem::server::segment::SpecializedProviderSegment
A base class for provider segments.
Definition:
SpecializedProviderSegment.h:20
armarx::armem::server::segment::detail::SegmentBase< server::wm::ProviderSegment >
armarx::armem::server::motions::mdb::segment::MDBMotionSegment
Definition:
MotionSegment.h:17
armarx::armem::server::motions::mdb::segment
Definition:
MotionSegment.cpp:21
armarx::armem::server::motions::mdb::segment::MDBMotionSegment::init
virtual void init() override
Definition:
MotionSegment.cpp:36
armarx::armem::server::segment::detail::SegmentBase< server::wm::ProviderSegment >::iceMemory
MemoryToIceAdapter & iceMemory
Definition:
SpecializedSegment.h:60
IceUtil::Handle< class PropertyDefinitionContainer >
SpecializedProviderSegment.h
armarx::armem::server::motions::mdb::segment::MDBMotionSegment::MDBMotionSegment
MDBMotionSegment(armem::server::MemoryToIceAdapter &iceMemory)
Definition:
MotionSegment.cpp:23
SpecializedCoreSegment.h
RobotAPI
libraries
armem_motions
server
MotionSegment.h
Generated on Sat Oct 12 2024 09:14:09 for armarx_documentation by
1.8.17