SkillExecutionRequestSegment.h
Go to the documentation of this file.
1#pragma once
2
3// Base Class
6
7// ArmarX
9#include <ArmarXCore/interface/core/Profiler.h>
11
12#include <RobotAPI/interface/skills/SkillManagerInterface.h>
13#include <RobotAPI/interface/skills/SkillProviderInterface.h>
15
17{
19 {
21
22 public:
23 static constexpr const char* CoreSegmentName = "SkillExecutionRequest";
24
26
27 void defineProperties(PropertyDefinitionsPtr defs, const std::string& prefix);
28 void init();
29
31
33
34 /**
35 * @brief Clear all snapshots from the working memory of this
36 * core segment, consolidating them into @p ltm first if
37 * @c ltm.isRecording() returns true. Mirrors the state
38 * after a fresh memory restart.
39 * @return Number of snapshots removed from working memory.
40 */
42 const std::string& memoryName,
43 bool& consolidated);
44 };
45} // namespace armarx::skills::segment
Helps connecting a Memory server to the Ice interface.
A memory storing data on the hard drive and in mongodb (needs 'armarx memory start' to start the mong...
Definition Memory.h:24
std::size_t clearAndConsolidate(armem::server::ltm::Memory &ltm, const std::string &memoryName, bool &consolidated)
Clear all snapshots from the working memory of this core segment, consolidating them into ltm first i...
skills::SkillExecutionRequest convertCommit(const aron::data::dto::DictPtr &commitData)
SkillExecutionRequestCoreSegment(armem::server::MemoryToIceAdapter &iceMemory)
void defineProperties(PropertyDefinitionsPtr defs, const std::string &prefix)
void addSkillExecutionRequest(const skills::SkillExecutionRequest &info)
::IceInternal::Handle< Dict > DictPtr
IceUtil::Handle< class PropertyDefinitionContainer > PropertyDefinitionsPtr
PropertyDefinitions smart pointer type.