Segment Class Reference

#include <RobotAPI/libraries/armem_robot_state/server/localization/Segment.h>

+ Inheritance diagram for Segment:

Public Member Functions

bool commitTransform (const armem::robot_state::localization::Transform &transform)
 
bool commitTransformLocking (const armem::robot_state::localization::Transform &transform)
 
void defineProperties (armarx::PropertyDefinitionsPtr defs, const std::string &prefix="") override
 
RobotFramePoseMap getRobotFramePoses (const armem::Time &timestamp) const
 
RobotFramePoseMap getRobotFramePosesLocking (const armem::Time &timestamp) const
 
RobotPoseMap getRobotGlobalPoses (const armem::Time &timestamp) const
 
RobotPoseMap getRobotGlobalPosesLocking (const armem::Time &timestamp) const
 
void init () override
 
void onConnect ()
 
 Segment (server::MemoryToIceAdapter &iceMemory)
 
virtual ~Segment () override
 
- Public Member Functions inherited from SpecializedCoreSegment
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
 
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 ()
 

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
 Set by the derived segment's init().
 
server::wm::CoreSegment * segmentPtr
 Set by the derived segment's init().
 
- 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
 

Constructor & Destructor Documentation

◆ Segment()

◆ ~Segment()

~Segment ( )
overridevirtual

Member Function Documentation

◆ commitTransform()

bool commitTransform ( const armem::robot_state::localization::Transform & transform)

◆ commitTransformLocking()

bool commitTransformLocking ( const armem::robot_state::localization::Transform & transform)

◆ defineProperties()

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

Reimplemented from SpecializedCoreSegment.

◆ getRobotFramePoses()

RobotFramePoseMap getRobotFramePoses ( const armem::Time & timestamp) const

◆ getRobotFramePosesLocking()

RobotFramePoseMap getRobotFramePosesLocking ( const armem::Time & timestamp) const

◆ getRobotGlobalPoses()

RobotPoseMap getRobotGlobalPoses ( const armem::Time & timestamp) const

◆ getRobotGlobalPosesLocking()

RobotPoseMap getRobotGlobalPosesLocking ( const armem::Time & timestamp) const

◆ init()

void init ( )
overridevirtual

Reimplemented from SpecializedCoreSegment.

◆ onConnect()

void onConnect ( )

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