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. More...
 
float confidence = 1.0
 An optional confidence, may be used for things like decay. More...
 
MemoryID entityID
 The entity's ID. More...
 
std::vector< aron::data::DictPtrinstancesData
 The entity data. More...
 
Time referencedTime = Time::Invalid()
 Time when this entity update was created (e.g. More...
 
Time sentTime = Time::Invalid()
 Time when this update was sent to the memory server. More...
 

Friends

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

Detailed Description

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

Definition at line 27 of file Commit.h.

Friends And Related Function Documentation

◆ operator<<

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

Definition at line 13 of file Commit.cpp.

Member Data Documentation

◆ arrivedTime

Time arrivedTime = Time::Invalid()

Time when this update arrived at the memory server.

Set by memory server on arrival.

Definition at line 62 of file Commit.h.

◆ confidence

float confidence = 1.0

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

Definition at line 45 of file Commit.h.

◆ entityID

MemoryID entityID

The entity's ID.

Definition at line 30 of file Commit.h.

◆ instancesData

std::vector<aron::data::DictPtr> instancesData

The entity data.

Definition at line 33 of file Commit.h.

◆ 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.

Definition at line 39 of file Commit.h.

◆ sentTime

Time sentTime = Time::Invalid()

Time when this update was sent to the memory server.

Set automatically when sending the commit.

Definition at line 55 of file Commit.h.


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