ExecutableSkillLibrarySegment.h
Go to the documentation of this file.
1
#pragma once
2
3
// Base Class
4
#include <
RobotAPI/libraries/armem/server/segment/SpecializedSegment.h
>
5
6
// ArmarX
7
#include <
ArmarXCore/core/application/properties/PropertyDefinitionContainer.h
>
8
#include <ArmarXCore/interface/core/Profiler.h>
9
#include <
ArmarXCore/observers/ObserverObjectFactories.h
>
10
11
#include <RobotAPI/interface/skills/SkillManagerInterface.h>
12
#include <RobotAPI/interface/skills/SkillProviderInterface.h>
13
#include <RobotAPI/libraries/armem_skills/aron/Skill.aron.generated.h>
14
#include <
RobotAPI/libraries/skills/core/ProviderInfo.h
>
15
16
namespace
armarx::skills::segment
17
{
18
class
ExecutableSkillLibraryCoreSegment
:
public
armem::server::segment::SpecializedCoreSegment
19
{
20
using
Base
=
armem::server::segment::SpecializedCoreSegment
;
21
22
public
:
23
static
constexpr
const
char
*
CoreSegmentName
=
"ExecutableSkill"
;
24
25
ExecutableSkillLibraryCoreSegment
(
armem::server::MemoryToIceAdapter
&
iceMemory
);
26
27
void
defineProperties
(
PropertyDefinitionsPtr
defs,
const
std::string& prefix);
28
void
init
();
29
30
void
addSkillProvider
(
const
skills::ProviderInfo
& info);
31
void
removeSkillProvider
(
const
std::string& providerName);
32
33
size_t
size
()
const
;
34
35
private
:
36
std::map<std::string, std::map<std::string, skills::manager::dto::ProviderInfo>>
skills
;
37
};
38
}
// namespace armarx::skills::segment
SpecializedSegment.h
skills
This file is part of ArmarX.
armarx::armem::server::segment::SpecializedCoreSegment
A base class for core segments.
Definition:
SpecializedCoreSegment.h:20
armarx::skills::segment::ExecutableSkillLibraryCoreSegment::init
void init()
Definition:
ExecutableSkillLibrarySegment.cpp:30
armarx::armem::server::MemoryToIceAdapter
Helps connecting a Memory server to the Ice interface.
Definition:
MemoryToIceAdapter.h:19
armarx::skills::segment::ExecutableSkillLibraryCoreSegment::removeSkillProvider
void removeSkillProvider(const std::string &providerName)
Definition:
ExecutableSkillLibrarySegment.cpp:62
armarx::skills::segment::ExecutableSkillLibraryCoreSegment
Definition:
ExecutableSkillLibrarySegment.h:18
ObserverObjectFactories.h
armarx::skills::segment
Definition:
ExecutableSkillLibrarySegment.cpp:13
armarx::armem::server::segment::detail::SegmentBase< server::wm::CoreSegment >
armarx::skills::segment::ExecutableSkillLibraryCoreSegment::size
size_t size() const
armarx::skills::segment::ExecutableSkillLibraryCoreSegment::CoreSegmentName
static constexpr const char * CoreSegmentName
Definition:
ExecutableSkillLibrarySegment.h:23
armarx::armem::server::segment::detail::SegmentBase< server::wm::CoreSegment >::iceMemory
MemoryToIceAdapter & iceMemory
Definition:
SpecializedSegment.h:60
PropertyDefinitionContainer.h
ProviderInfo.h
IceUtil::Handle< class PropertyDefinitionContainer >
armarx::skills::ProviderInfo
Definition:
ProviderInfo.h:19
armarx::skills::segment::ExecutableSkillLibraryCoreSegment::defineProperties
void defineProperties(PropertyDefinitionsPtr defs, const std::string &prefix)
Definition:
ExecutableSkillLibrarySegment.cpp:22
armarx::skills::segment::ExecutableSkillLibraryCoreSegment::ExecutableSkillLibraryCoreSegment
ExecutableSkillLibraryCoreSegment(armem::server::MemoryToIceAdapter &iceMemory)
Definition:
ExecutableSkillLibrarySegment.cpp:15
armarx::skills::segment::ExecutableSkillLibraryCoreSegment::addSkillProvider
void addSkillProvider(const skills::ProviderInfo &info)
Definition:
ExecutableSkillLibrarySegment.cpp:36
RobotAPI
libraries
armem_skills
server
segment
ExecutableSkillLibrarySegment.h
Generated on Sat Sep 28 2024 09:14:08 for armarx_documentation by
1.8.17