Commit Struct Reference

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

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

Public Member Functions

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

Public Attributes

std::vector< EntityUpdateupdates
 The entity updates. More...
 

Friends

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

Detailed Description

A bundle of updates to be sent to the memory.

Definition at line 89 of file Commit.h.

Member Function Documentation

◆ add() [1/3]

EntityUpdate & add ( )

Definition at line 81 of file Commit.cpp.

+ Here is the caller graph for this function:

◆ add() [2/3]

EntityUpdate & add ( const EntityUpdate update)

Definition at line 86 of file Commit.cpp.

+ Here is the call graph for this function:

◆ add() [3/3]

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

Definition at line 91 of file Commit.cpp.

+ Here is the call graph for this function:

◆ append()

void append ( const Commit c)

Definition at line 99 of file Commit.cpp.

+ Here is the call graph for this function:

Friends And Related Function Documentation

◆ operator<<

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

Definition at line 34 of file Commit.cpp.

Member Data Documentation

◆ updates

std::vector<EntityUpdate> updates

The entity updates.

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

Definition at line 97 of file Commit.h.


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