armarx::opossum Namespace Reference

Namespaces

namespace  detail
 Helpers of SkillEventRenderer, exposed for testing.
 

Classes

class  ObjectSpokenNames
 Spoken object names from PriorKnowledgeData, for use as a SpokenNameLookup. More...
 
struct  SkillEvent
 One skill lifecycle event, as stored in the Skill memory's SkillEvent core segment. More...
 
class  SkillEventRenderer
 Converts skill events into OPOSSUM log lines. More...
 

Typedefs

using SpokenNameLookup
 Resolves an object class to its natural-language ("spoken") name.
 

Typedef Documentation

◆ SpokenNameLookup

Initial value:
std::function<std::optional<std::string>(
const std::string& dataset, const std::string& className)>

Resolves an object class to its natural-language ("spoken") name.

Returns std::nullopt if the class is unknown, in which case the renderer falls back to a humanized class name. Injected rather than hardcoded so that the renderer stays free of PriorKnowledge/filesystem dependencies and can be unit-tested; see ObjectSpokenNames.h for the production lookup.

Definition at line 72 of file SkillEventRenderer.h.