Commit Struct Reference

A bundle of updates to be sent to the memory. More...

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

Public Member Functions

EntityUpdate & add ()
 
EntityUpdate & add (const EntityUpdate &update)
 
void add (const std::vector< EntityUpdate > &updates)
 
void append (const Commit &c)
 

Public Attributes

std::vector< EntityUpdate > updates
 The entity updates.
 

Friends

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

Detailed Description

A bundle of updates to be sent to the memory.

Member Function Documentation

◆ add() [1/3]

EntityUpdate & add ( )

◆ add() [2/3]

EntityUpdate & add ( const EntityUpdate & update)

◆ add() [3/3]

void add ( const std::vector< EntityUpdate > & updates)

◆ append()

void append ( const Commit & c)

Friends And Related Symbol Documentation

◆ operator<<

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

Member Data Documentation

◆ updates

std::vector<EntityUpdate> updates

The entity updates.

May contain updates of multiple entities at different points in time.


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