mmcfilters
Public API documentation
Loading...
Searching...
No Matches
mmcfilters::local_attributes::EventDelta< Value > Struct Template Reference

One anchor-specific signed change attached to an anchored entry. More...

#include <LocalEventModel.hpp>

Public Attributes

PixelId anchorPixel = InvalidPixel
 Anchor whose local state changed.
NodeId anchoredEntry = InvalidNode
 Node where the new coordinates enter.
Value value {}
 Signed decision difference.

Friends

bool operator== (const EventDelta &lhs, const EventDelta &rhs)=default
 Compares every event field.

Detailed Description

template<class Value>
struct mmcfilters::local_attributes::EventDelta< Value >

One anchor-specific signed change attached to an anchored entry.

Definition at line 185 of file LocalEventModel.hpp.

◆ operator==

template<class Value>
bool operator== ( const EventDelta< Value > & lhs,
const EventDelta< Value > & rhs )
friend

Compares every event field.

Parameters
lhsLeft event.
rhsRight event.
Returns
True when equal.

Member Data Documentation

◆ anchoredEntry

template<class Value>
NodeId mmcfilters::local_attributes::EventDelta< Value >::anchoredEntry = InvalidNode

Node where the new coordinates enter.

Definition at line 187 of file LocalEventModel.hpp.

◆ anchorPixel

template<class Value>
PixelId mmcfilters::local_attributes::EventDelta< Value >::anchorPixel = InvalidPixel

Anchor whose local state changed.

Definition at line 186 of file LocalEventModel.hpp.

◆ value

template<class Value>
Value mmcfilters::local_attributes::EventDelta< Value >::value {}

Signed decision difference.

Definition at line 188 of file LocalEventModel.hpp.


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