Flutter Engine
The Flutter Engine
Loading...
Searching...
No Matches
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.
 

Public Attributes

std::string label
 

Detailed Description

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

Definition at line 42 of file capture.h.

Constructor & Destructor Documentation

◆ CaptureCursorListElement()

template<typename Type >
impeller::CaptureCursorListElement< Type >::CaptureCursorListElement ( const std::string &  label)
inlineexplicit

Definition at line 45 of file capture.h.

◆ ~CaptureCursorListElement()

template<typename Type >
virtual impeller::CaptureCursorListElement< Type >::~CaptureCursorListElement ( )
virtualdefault

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::CaptureElement, and impeller::CaptureProperty.

Member Data Documentation

◆ label

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

Definition at line 43 of file capture.h.


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