morph 0.1.0
Asynchronous bridge between GUI thread and business models
Loading...
Searching...
No Matches
morph::effects::Changes Struct Reference

What one successful execute changed. More...

#include <change_types.hpp>

Public Member Functions

bool empty () const
 Whether nothing changed.

Public Attributes

std::vector< RecordChange > records
 Record topics, one entry per record type.
std::vector< InstanceChange > instances
 Instance topics.

Detailed Description

What one successful execute changed.

Definition at line 43 of file change_types.hpp.

Member Function Documentation

◆ empty()

bool morph::effects::Changes::empty ( ) const
inlinenodiscard

Whether nothing changed.

Returns
True when there are no record and no instance changes.

Definition at line 51 of file change_types.hpp.

Member Data Documentation

◆ records

std::vector<RecordChange> morph::effects::Changes::records

Record topics, one entry per record type.

Definition at line 45 of file change_types.hpp.

◆ instances

std::vector<InstanceChange> morph::effects::Changes::instances

Instance topics.

Definition at line 47 of file change_types.hpp.


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