| Flutter Impeller |

Public Member Functions | Public Attributes | List of all members
impeller::CaptureCursorListElement< Type > Struct Template Referenceabstract

`#include <capture.h>`

## Public Member Functions
| CaptureCursorListElement (const std::string &label)
virtual | ~CaptureCursorListElement ()=default
virtual bool | MatchesCloselyEnough (const Type &other) const =0
| Determines if previously captured data matches closely enough with newly recorded data to safely emitted in its place. If this returns `false`, then the remaining elements in the capture list are discarded and re-recorded. More...

## Public Attributes
std::string | label

## Detailed Description

### template<typename Type>
struct impeller::CaptureCursorListElement< Type >

Definition at line 41 of file capture.h.

## Constructor & Destructor Documentation

## ◆ CaptureCursorListElement()

template<typename Type >

impeller::CaptureCursorListElement< Type >::CaptureCursorListElement | ( | const std::string & | label | ) |
| inline explicit

Definition at line 44 of file capture.h.

44 : label(label){};

## ◆ ~CaptureCursorListElement()

template<typename Type >

virtual impeller::CaptureCursorListElement< Type >::~CaptureCursorListElement | ( |  | ) |
| virtual default

## Member Function Documentation

## ◆ MatchesCloselyEnough()

template<typename Type >

virtual bool impeller::CaptureCursorListElement< Type >::MatchesCloselyEnough | ( | const Type & | other | ) | const
| pure virtual

Determines if previously captured data matches closely enough with newly recorded data to safely emitted in its place. If this returns `false`, then the remaining elements in the capture list are discarded and re-recorded.

This mechanism ensures that the UI of an interactive inspector can never deviate from reality, even if the schema of the captured data were to significantly deviate.

Implemented in impeller::CaptureProperty, and impeller::CaptureElement.

## Member Data Documentation

## ◆ label

template<typename Type >

std::string impeller::CaptureCursorListElement< Type >::label

Definition at line 42 of file capture.h.

Referenced by impeller::CaptureProperty::MatchesCloselyEnough(), and impeller::CaptureElement::MatchesCloselyEnough().

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

- impeller/core/capture.h

impeller::CaptureCursorListElement::label
std::string label
Definition: capture.h:42