SpecializedCoreSegment Class Reference

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
 
wm::CoreSegmentgetCoreSegment ()
 
const wm::CoreSegmentgetCoreSegment () 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=-1, 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 ()
 

Public Attributes

aron::type::ObjectPtr aronType
 
std::vector< PredictionEnginepredictionEngines
 
Properties properties
 
- Public Attributes inherited from SegmentBase< server::wm::CoreSegment >
server::wm::CoreSegmentsegmentPtr
 

Additional Inherited Members

- 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

A base class for core segments.

Definition at line 20 of file SpecializedCoreSegment.h.

Constructor & Destructor Documentation

◆ SpecializedCoreSegment()

SpecializedCoreSegment ( MemoryToIceAdapter iceMemory,
const std::string &  defaultCoreSegmentName = "",
aron::type::ObjectPtr  coreSegmentAronType = nullptr,
int  defaultMaxHistorySize = -1,
const std::vector< PredictionEngine > &  predictionEngines = {} 
)

Definition at line 13 of file SpecializedCoreSegment.cpp.

◆ ~SpecializedCoreSegment()

~SpecializedCoreSegment ( )
overridevirtual

Definition at line 28 of file SpecializedCoreSegment.cpp.

Member Function Documentation

◆ defineProperties()

void defineProperties ( armarx::PropertyDefinitionsPtr  defs,
const std::string &  prefix = "" 
)
overridevirtual

Implements SegmentBase< server::wm::CoreSegment >.

Reimplemented in ExecutableSkillLibraryCoreSegment, SkillExecutionRequestCoreSegment, SkillEventCoreSegment, Segment, Segment, Segment, PoseSegment, Segment, Segment, AnticipationSegment, IdentificationSegment, PersonInstanceSegment, and Segment.

Definition at line 33 of file SpecializedCoreSegment.cpp.

+ Here is the caller graph for this function:

◆ doLocked()

auto doLocked ( FunctionT &&  function) const
inline

Definition at line 39 of file SpecializedCoreSegment.h.

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

◆ getCoreSegment() [1/2]

const wm::CoreSegment & getCoreSegment ( )

Definition at line 93 of file SpecializedCoreSegment.cpp.

+ Here is the caller graph for this function:

◆ getCoreSegment() [2/2]

const wm::CoreSegment& getCoreSegment ( ) const

◆ init()

void init ( )
overridevirtual

Implements SegmentBase< server::wm::CoreSegment >.

Reimplemented in Segment, Segment, Segment, Segment, Segment, Segment, ExecutableSkillLibraryCoreSegment, SkillExecutionRequestCoreSegment, and SkillEventCoreSegment.

Definition at line 49 of file SpecializedCoreSegment.cpp.

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

◆ setAronType()

void setAronType ( aron::type::ObjectPtr  aronType)

Definition at line 81 of file SpecializedCoreSegment.cpp.

◆ setDefaultCoreSegmentName()

void setDefaultCoreSegmentName ( const std::string &  coreSegmentName)

Definition at line 69 of file SpecializedCoreSegment.cpp.

◆ setDefaultMaxHistorySize()

void setDefaultMaxHistorySize ( int64_t  maxHistorySize)

Definition at line 75 of file SpecializedCoreSegment.cpp.

◆ setPredictionEngines()

void setPredictionEngines ( const std::vector< PredictionEngine > &  predictionEngines)

Definition at line 87 of file SpecializedCoreSegment.cpp.

+ Here is the caller graph for this function:

Member Data Documentation

◆ aronType

Definition at line 56 of file SpecializedCoreSegment.h.

◆ predictionEngines

std::vector<PredictionEngine> predictionEngines

Definition at line 57 of file SpecializedCoreSegment.h.

◆ properties

Properties properties

Definition at line 64 of file SpecializedCoreSegment.h.


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