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
Helps connecting a Memory server to the Ice interface.
void addProfile(const skills::manager::arondto::FluxioProfile &profile)
ProfileLibraryCoreSegment(armem::server::MemoryToIceAdapter &iceMemory)
std::optional< std::vector< skills::manager::arondto::FluxioProfile > > getProfiles() const
void defineProperties(PropertyDefinitionsPtr defs, const std::string &prefix)
IceUtil::Handle< class PropertyDefinitionContainer > PropertyDefinitionsPtr
PropertyDefinitions smart pointer type.