Flutter Engine
The Flutter Engine
|
A capturable property type. More...
#include <capture.h>
Classes | |
struct | Options |
Public Types | |
enum class | Type { _FOR_EACH_CAPTURE_PROPERTY =(_CAPTURE_TYPE) } |
Public Member Functions | |
CaptureProperty (const std::string &label, Options options) | |
virtual | ~CaptureProperty () |
virtual Type | GetType () const =0 |
virtual void | Invoke (const CaptureProcTable &proc_table)=0 |
bool | MatchesCloselyEnough (const CaptureProperty &other) const override |
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 Member Functions inherited from impeller::CaptureCursorListElement< CaptureProperty > | |
CaptureCursorListElement (const std::string &label) | |
virtual | ~CaptureCursorListElement ()=default |
Public Attributes | |
Options | options |
Public Attributes inherited from impeller::CaptureCursorListElement< CaptureProperty > | |
std::string | label |
|
strong |
impeller::CaptureProperty::CaptureProperty | ( | const std::string & | label, |
Options | options | ||
) |
Definition at line 16 of file capture.cc.
|
virtualdefault |
|
pure virtual |
|
pure virtual |
|
overridevirtual |
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.
Implements impeller::CaptureCursorListElement< CaptureProperty >.
Definition at line 21 of file capture.cc.