|
|
A base class for core segments. More...
#include <RobotAPI/libraries/armem/server/segment/SpecializedCoreSegment.h>
Inheritance diagram for SpecializedCoreSegment:Classes | |
| struct | Properties |
Public Member Functions | |
| virtual void | defineProperties (armarx::PropertyDefinitionsPtr defs, const std::string &prefix="") override |
| template<class FunctionT> | |
| auto | doLocked (FunctionT &&function) const |
| Execute function under shared (read) lock. | |
| template<class FunctionT> | |
| auto | doLockedExclusive (FunctionT &&function) |
| Execute function under exclusive (write) lock. | |
| wm::CoreSegment & | getCoreSegment () |
| const wm::CoreSegment & | getCoreSegment () const |
| virtual void | init () override |
| 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 () |
| MemoryID & | id () |
| const MemoryID & | id () const |
| const MemoryID & | id () const |
| SegmentBase ()=delete | |
| SegmentBase ()=delete | |
| SegmentBase (MemoryToIceAdapter &iceMemory) | |
| SegmentBase (MemoryToIceAdapter &iceMemory) | |
| virtual | ~SegmentBase ()=default |
| 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. | |
| MessageTypeT | getEffectiveLoggingLevel () const |
| Logging () | |
| void | setLocalMinimumLoggingLevel (MessageTypeT level) |
| With setLocalMinimumLoggingLevel the minimum verbosity-level of log-messages can be set. | |
| void | setTag (const LogTag &tag) |
| void | setTag (const std::string &tagName) |
| virtual | ~Logging () |
Public Attributes | |
| aron::type::ObjectPtr | aronType |
| std::vector< PredictionEngine > | predictionEngines |
| Properties | properties |
Public Attributes inherited from SegmentBase< server::wm::CoreSegment > | |
| server::wm::CoreSegment * | segmentPtr |
| server::wm::CoreSegment * | segmentPtr |
Additional Inherited Members | |
Protected Member Functions inherited from Logging | |
| bool | checkLogLevel (MessageTypeT level) const |
| const LogSenderPtr & | getLogSender () const |
| Retrieve log sender. | |
| LogSenderPtr | loghelper (const char *file, int line, const char *function) const |
Protected Attributes inherited from SegmentBase< server::wm::CoreSegment > | |
| MemoryToIceAdapter & | iceMemory |
| MemoryToIceAdapter & | iceMemory |
Protected Attributes inherited from Logging | |
| MessageTypeT | minimumLoggingLevel |
| SpamFilterDataPtr | spamFilter |
| LogTag | tag |
A base class for core segments.
Definition at line 19 of file SpecializedCoreSegment.h.
| SpecializedCoreSegment | ( | MemoryToIceAdapter & | iceMemory, |
| const std::string & | defaultCoreSegmentName = "", | ||
| aron::type::ObjectPtr | coreSegmentAronType = nullptr, | ||
| int | defaultMaxHistorySize = 10, | ||
| const std::vector< PredictionEngine > & | predictionEngines = {} ) |
Definition at line 12 of file SpecializedCoreSegment.cpp.
Here is the caller graph for this function:
|
overridevirtual |
Definition at line 26 of file SpecializedCoreSegment.cpp.
|
overridevirtual |
Implements SegmentBase< server::wm::CoreSegment >.
Reimplemented in Segment, Segment, Segment, IdentificationSegment, PersonInstanceSegment, PoseSegment, Segment, Segment, Segment, Segment, AnticipationSegment, Segment, Segment, TaskOutcomeSegment, ComposedSkillLibraryCoreSegment, ExecutableSkillLibraryCoreSegment, ProfileLibraryCoreSegment, SkillEventCoreSegment, and SkillExecutionRequestCoreSegment.
Definition at line 31 of file SpecializedCoreSegment.cpp.
Here is the caller graph for this function:
|
inline |
Execute function under shared (read) lock.
Multiple readers can hold the lock simultaneously.
Definition at line 42 of file SpecializedCoreSegment.h.
Here is the caller graph for this function:
|
inline |
Execute function under exclusive (write) lock.
Only one writer can hold the lock, and no readers.
Definition at line 53 of file SpecializedCoreSegment.h.
| wm::CoreSegment & getCoreSegment | ( | ) |
Definition at line 108 of file SpecializedCoreSegment.cpp.
Here is the caller graph for this function:| const wm::CoreSegment & getCoreSegment | ( | ) | const |
Definition at line 115 of file SpecializedCoreSegment.cpp.
|
overridevirtual |
Implements SegmentBase< server::wm::CoreSegment >.
Reimplemented in Segment, Segment, Segment, Segment, Segment, Segment, Segment, Segment, Segment, TaskOutcomeSegment, ComposedSkillLibraryCoreSegment, ExecutableSkillLibraryCoreSegment, ProfileLibraryCoreSegment, SkillEventCoreSegment, and SkillExecutionRequestCoreSegment.
Definition at line 57 of file SpecializedCoreSegment.cpp.
Here is the call graph for this function:
Here is the caller graph for this function:| void setAronType | ( | aron::type::ObjectPtr | aronType | ) |
Definition at line 95 of file SpecializedCoreSegment.cpp.
| void setDefaultCoreSegmentName | ( | const std::string & | coreSegmentName | ) |
Definition at line 83 of file SpecializedCoreSegment.cpp.
| void setDefaultMaxHistorySize | ( | int64_t | maxHistorySize | ) |
Definition at line 89 of file SpecializedCoreSegment.cpp.
Here is the caller graph for this function:| void setPredictionEngines | ( | const std::vector< PredictionEngine > & | predictionEngines | ) |
Definition at line 101 of file SpecializedCoreSegment.cpp.
| aron::type::ObjectPtr aronType |
Definition at line 68 of file SpecializedCoreSegment.h.
| std::vector<PredictionEngine> predictionEngines |
Definition at line 69 of file SpecializedCoreSegment.h.
| Properties properties |
Definition at line 81 of file SpecializedCoreSegment.h.