ProfileLibrarySegment.h
Go to the documentation of this file.
1
#pragma once
2
3
// Base Class
4
#include <optional>
5
#include <vector>
6
#include <
RobotAPI/libraries/armem/server/segment/SpecializedSegment.h
>
7
8
// ArmarX
9
#include <
ArmarXCore/core/application/properties/PropertyDefinitionContainer.h
>
10
#include <ArmarXCore/interface/core/Profiler.h>
11
#include <
ArmarXCore/observers/ObserverObjectFactories.h
>
12
13
#include <RobotAPI/interface/skills/SkillManagerInterface.h>
14
#include <RobotAPI/interface/skills/SkillProviderInterface.h>
15
#include <RobotAPI/libraries/armem_skills/aron/Skill.aron.generated.h>
16
#include <
RobotAPI/libraries/skills/core/ProviderInfo.h
>
17
#include <RobotAPI/libraries/skills/core/aron/FluxioProfile.aron.generated.h>
18
19
namespace
armarx::skills::segment
20
{
21
class
ProfileLibraryCoreSegment
:
public
armem::server::segment::SpecializedCoreSegment
22
{
23
using
Base
=
armem::server::segment::SpecializedCoreSegment
;
24
25
public
:
26
static
constexpr
const
char
*
CoreSegmentName
=
"Profile"
;
27
28
ProfileLibraryCoreSegment
(
armem::server::MemoryToIceAdapter
&
iceMemory
);
29
30
void
defineProperties
(
PropertyDefinitionsPtr
defs,
const
std::string& prefix);
31
void
init
();
32
33
void
addProfile
(
const
skills::manager::arondto::FluxioProfile& profile);
34
std::optional<std::vector<skills::manager::arondto::FluxioProfile>>
getProfiles
()
const
;
35
};
36
}
// namespace armarx::skills::segment
SpecializedSegment.h
armarx::skills::segment::ProfileLibraryCoreSegment::CoreSegmentName
static constexpr const char * CoreSegmentName
Definition:
ProfileLibrarySegment.h:26
armarx::armem::server::segment::SpecializedCoreSegment
A base class for core segments.
Definition:
SpecializedCoreSegment.h:19
armarx::skills::segment::ProfileLibraryCoreSegment::ProfileLibraryCoreSegment
ProfileLibraryCoreSegment(armem::server::MemoryToIceAdapter &iceMemory)
Definition:
ProfileLibrarySegment.cpp:19
armarx::armem::server::MemoryToIceAdapter
Helps connecting a Memory server to the Ice interface.
Definition:
MemoryToIceAdapter.h:19
armarx::skills::segment::ProfileLibraryCoreSegment::addProfile
void addProfile(const skills::manager::arondto::FluxioProfile &profile)
Definition:
ProfileLibrarySegment.cpp:40
armarx::skills::segment::ProfileLibraryCoreSegment::init
void init()
Definition:
ProfileLibrarySegment.cpp:34
ObserverObjectFactories.h
armarx::skills::segment
Definition:
ComposedSkillLibrarySegment.cpp:20
armarx::armem::server::segment::detail::SegmentBase< server::wm::CoreSegment >
armarx::armem::server::segment::detail::SegmentBase< server::wm::CoreSegment >::iceMemory
MemoryToIceAdapter & iceMemory
Definition:
SpecializedSegment.h:58
PropertyDefinitionContainer.h
ProviderInfo.h
IceUtil::Handle< class PropertyDefinitionContainer >
armarx::skills::segment::ProfileLibraryCoreSegment::getProfiles
std::optional< std::vector< skills::manager::arondto::FluxioProfile > > getProfiles() const
Definition:
ProfileLibrarySegment.cpp:58
armarx::skills::segment::ProfileLibraryCoreSegment::defineProperties
void defineProperties(PropertyDefinitionsPtr defs, const std::string &prefix)
Definition:
ProfileLibrarySegment.cpp:26
armarx::skills::segment::ProfileLibraryCoreSegment
Definition:
ProfileLibrarySegment.h:21
RobotAPI
libraries
armem_skills
server
segment
ProfileLibrarySegment.h
Generated on Sat Mar 29 2025 09:17:29 for armarx_documentation by
1.8.17