|
#include <RobotAPI/libraries/armem_skills/server/segment/SkillEventSegment.h>
Public Member Functions | |
void | addSkillUpdateEvent (const skills::SkillStatusUpdate &update) |
void | defineProperties (PropertyDefinitionsPtr defs, const std::string &prefix) |
std::optional< skills::SkillStatusUpdate > | getSkillStatusUpdate (const skills::SkillExecutionID &id) |
std::map< skills::SkillExecutionID, skills::SkillStatusUpdate > | getSkillStatusUpdates () |
void | init () |
SkillEventCoreSegment (armem::server::MemoryToIceAdapter &iceMemory) | |
Public Member Functions inherited from SpecializedCoreSegment | |
template<class FunctionT > | |
auto | doLocked (FunctionT &&function) const |
wm::CoreSegment & | getCoreSegment () |
const wm::CoreSegment & | getCoreSegment () 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 > | |
MemoryID & | id () |
const MemoryID & | id () 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 = "SkillEvent" |
Additional Inherited Members | |
Public Attributes inherited from SpecializedCoreSegment | |
aron::type::ObjectPtr | aronType |
std::vector< PredictionEngine > | predictionEngines |
Properties | properties |
Public Attributes inherited from SegmentBase< server::wm::CoreSegment > | |
server::wm::CoreSegment * | segmentPtr |
Protected Member Functions inherited from Logging | |
bool | checkLogLevel (MessageTypeT level) const |
const LogSenderPtr & | getLogSender () const |
Retrieve log sender. More... | |
LogSenderPtr | loghelper (const char *file, int line, const char *function) const |
Protected Attributes inherited from SegmentBase< server::wm::CoreSegment > | |
MemoryToIceAdapter & | iceMemory |
Protected Attributes inherited from Logging | |
MessageTypeT | minimumLoggingLevel |
SpamFilterDataPtr | spamFilter |
LogTag | tag |
Definition at line 16 of file SkillEventSegment.h.
SkillEventCoreSegment | ( | armem::server::MemoryToIceAdapter & | iceMemory | ) |
Definition at line 13 of file SkillEventSegment.cpp.
void addSkillUpdateEvent | ( | const skills::SkillStatusUpdate & | update | ) |
Definition at line 34 of file SkillEventSegment.cpp.
|
virtual |
Reimplemented from SpecializedCoreSegment.
Definition at line 21 of file SkillEventSegment.cpp.
std::optional< skills::SkillStatusUpdate > getSkillStatusUpdate | ( | const skills::SkillExecutionID & | id | ) |
Definition at line 90 of file SkillEventSegment.cpp.
std::map< skills::SkillExecutionID, skills::SkillStatusUpdate > getSkillStatusUpdates | ( | ) |
Definition at line 57 of file SkillEventSegment.cpp.
|
virtual |
Reimplemented from SpecializedCoreSegment.
Definition at line 28 of file SkillEventSegment.cpp.
|
staticconstexpr |
Definition at line 21 of file SkillEventSegment.h.