ComposedSkillLibraryCoreSegment Class Reference

#include <RobotAPI/libraries/armem_skills/server/segment/ComposedSkillLibrarySegment.h>

+ Inheritance diagram for ComposedSkillLibraryCoreSegment:

Public Member Functions

void addSkill (const skills::manager::arondto::FluxioSkill &skill)
 
 ComposedSkillLibraryCoreSegment (armem::server::MemoryToIceAdapter &iceMemory)
 
void defineProperties (PropertyDefinitionsPtr defs, const std::string &prefix)
 
std::optional< std::vector< skills::manager::arondto::FluxioSkill > > getSkills () const
 
std::optional< std::vector< skills::manager::arondto::FluxioSkill > > getSkillsOfProvider (const std::string &providerId) const
 
void init ()
 
- Public Member Functions inherited from SpecializedCoreSegment
template<class FunctionT >
auto doLocked (FunctionT &&function) const
 
wm::CoreSegmentgetCoreSegment ()
 
const wm::CoreSegmentgetCoreSegment () const
 
void setAronType (aron::type::ObjectPtr aronType)
 
void setDefaultCoreSegmentName (const std::string &coreSegmentName)
 
void setDefaultMaxHistorySize (int64_t maxHistorySize)
 
void setPredictionEngines (const std::vector< PredictionEngine > &predictionEngines)
 
 SpecializedCoreSegment (MemoryToIceAdapter &iceMemory, const std::string &defaultCoreSegmentName="", aron::type::ObjectPtr coreSegmentAronType=nullptr, int defaultMaxHistorySize=10, const std::vector< PredictionEngine > &predictionEngines={})
 
virtual ~SpecializedCoreSegment () override
 
- Public Member Functions inherited from SegmentBase< server::wm::CoreSegment >
MemoryIDid ()
 
const MemoryIDid () const
 
 SegmentBase ()=delete
 
 SegmentBase (MemoryToIceAdapter &iceMemory)
 
virtual ~SegmentBase ()=default
 
- Public Member Functions inherited from Logging
SpamFilterDataPtr deactivateSpam (float deactivationDurationSec=10.0f, const std::string &identifier="", bool deactivate=true) const
 disables the logging for the current line for the given amount of seconds. More...
 
MessageTypeT getEffectiveLoggingLevel () const
 
 Logging ()
 
void setLocalMinimumLoggingLevel (MessageTypeT level)
 With setLocalMinimumLoggingLevel the minimum verbosity-level of log-messages can be set. More...
 
void setTag (const LogTag &tag)
 
void setTag (const std::string &tagName)
 
virtual ~Logging ()
 

Static Public Attributes

static constexpr const char * CoreSegmentName = "ComposedSkill"
 

Additional Inherited Members

- Public Attributes inherited from SpecializedCoreSegment
aron::type::ObjectPtr aronType
 
std::vector< PredictionEnginepredictionEngines
 
Properties properties
 
- Public Attributes inherited from SegmentBase< server::wm::CoreSegment >
server::wm::CoreSegmentsegmentPtr
 
- Protected Member Functions inherited from Logging
bool checkLogLevel (MessageTypeT level) const
 
const LogSenderPtrgetLogSender () const
 Retrieve log sender. More...
 
LogSenderPtr loghelper (const char *file, int line, const char *function) const
 
- Protected Attributes inherited from SegmentBase< server::wm::CoreSegment >
MemoryToIceAdaptericeMemory
 
- Protected Attributes inherited from Logging
MessageTypeT minimumLoggingLevel
 
SpamFilterDataPtr spamFilter
 
LogTag tag
 

Detailed Description

Definition at line 20 of file ComposedSkillLibrarySegment.h.

Constructor & Destructor Documentation

◆ ComposedSkillLibraryCoreSegment()

Member Function Documentation

◆ addSkill()

void addSkill ( const skills::manager::arondto::FluxioSkill &  skill)

Definition at line 43 of file ComposedSkillLibrarySegment.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ defineProperties()

void defineProperties ( PropertyDefinitionsPtr  defs,
const std::string &  prefix 
)
virtual

Reimplemented from SpecializedCoreSegment.

Definition at line 29 of file ComposedSkillLibrarySegment.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ getSkills()

std::optional< std::vector< skills::manager::arondto::FluxioSkill > > getSkills ( ) const

Definition at line 62 of file ComposedSkillLibrarySegment.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ getSkillsOfProvider()

std::optional< std::vector< skills::manager::arondto::FluxioSkill > > getSkillsOfProvider ( const std::string &  providerId) const

Definition at line 91 of file ComposedSkillLibrarySegment.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ init()

void init ( )
virtual

Reimplemented from SpecializedCoreSegment.

Definition at line 37 of file ComposedSkillLibrarySegment.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

Member Data Documentation

◆ CoreSegmentName

constexpr const char* CoreSegmentName = "ComposedSkill"
staticconstexpr

Definition at line 25 of file ComposedSkillLibrarySegment.h.


The documentation for this class was generated from the following files: