EntityUpdate Struct Reference

An update of an entity for a specific point in time. More...

#include <RobotAPI/libraries/armem/core/Commit.h>

Public Attributes

Time arrivedTime = Time::Invalid()
 Time when this update arrived at the memory server.
 
float confidence = 1.0
 An optional confidence, may be used for things like decay.
 
MemoryID entityID
 The entity's ID.
 
std::vector< InstanceData > instancesData
 The entity data.
 
std::string origin = "undefined1"
 Used to define the source of the entity (e.g.
 
Time referencedTime = Time::Invalid()
 Time when this entity update was created (e.g.
 
Time sentTime = Time::Invalid()
 Time when this update was sent to the memory server.
 

Friends

std::ostream & operator<< (std::ostream &os, const EntityUpdate &rhs)
 

Detailed Description

An update of an entity for a specific point in time.

Friends And Related Symbol Documentation

◆ operator<<

std::ostream & operator<< ( std::ostream & os,
const EntityUpdate & rhs )
friend

Member Data Documentation

◆ arrivedTime

Time arrivedTime = Time::Invalid()

Time when this update arrived at the memory server.

Set by memory server on arrival.

◆ confidence

float confidence = 1.0

An optional confidence, may be used for things like decay.

◆ entityID

MemoryID entityID

The entity's ID.

◆ instancesData

std::vector<InstanceData> instancesData

The entity data.

◆ origin

std::string origin = "undefined1"

Used to define the source of the entity (e.g.

LTM identifier)

◆ referencedTime

Time referencedTime = Time::Invalid()

Time when this entity update was created (e.g.

time of image recording). This is the key of the entity's history.

◆ sentTime

Time sentTime = Time::Invalid()

Time when this update was sent to the memory server.

Set automatically when sending the commit.


The documentation for this struct was generated from the following file: