Segment Class Reference

#include <VisionX/libraries/armem_human/server/profile/Segment.h>

+ Inheritance diagram for Segment:

Classes

struct  Properties
 

Public Types

using Base = armem::server::segment::SpecializedCoreSegment
 

Public Member Functions

void defineProperties (armarx::PropertyDefinitionsPtr defs, const std::string &prefix="") override
 
void init () override
 
void loadPriorKnowledge ()
 
void loadPriorKnowledge (const std::string &dataPackageName)
 
 Segment (armem::server::MemoryToIceAdapter &iceMemory)
 
- 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 ()
 

Public Attributes

Properties properties
 
- 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
 

Static Public Attributes

static const std::string CORE_SEGMENT_NAME
 

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

Definition at line 32 of file Segment.h.

Member Typedef Documentation

◆ Base

Definition at line 36 of file Segment.h.

Constructor & Destructor Documentation

◆ Segment()

Definition at line 46 of file Segment.cpp.

Member Function Documentation

◆ defineProperties()

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

Reimplemented from SpecializedCoreSegment.

Definition at line 56 of file Segment.cpp.

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

◆ init()

void init ( )
overridevirtual

Reimplemented from SpecializedCoreSegment.

Definition at line 68 of file Segment.cpp.

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

◆ loadPriorKnowledge() [1/2]

void loadPriorKnowledge ( )

Definition at line 78 of file Segment.cpp.

+ Here is the caller graph for this function:

◆ loadPriorKnowledge() [2/2]

void loadPriorKnowledge ( const std::string &  dataPackageName)

Definition at line 84 of file Segment.cpp.

+ Here is the call graph for this function:

Member Data Documentation

◆ CORE_SEGMENT_NAME

const std::string CORE_SEGMENT_NAME
static
Initial value:

Definition at line 37 of file Segment.h.

◆ properties

Properties properties

Definition at line 63 of file Segment.h.


The documentation for this class was generated from the following files:
armarx::armem::MemoryID::coreSegmentName
std::string coreSegmentName
Definition: MemoryID.h:51
armarx::human::ProfileCoreSegmentID
const armem::MemoryID ProfileCoreSegmentID
Definition: memory_ids.cpp:34