ProfileLibrarySegment.h
Go to the documentation of this file.
1 #pragma once
2 
3 // Base Class
4 #include <optional>
5 #include <vector>
7 
8 // ArmarX
10 #include <ArmarXCore/interface/core/Profiler.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>
17 #include <RobotAPI/libraries/skills/core/aron/FluxioProfile.aron.generated.h>
18 
20 {
22  {
24 
25  public:
26  static constexpr const char* CoreSegmentName = "Profile";
27 
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