Flutter Engine
The Flutter Engine
Public Member Functions | List of all members
TestListener Class Reference
Inheritance diagram for TestListener:
SkIDChangeListener SkRefCnt SkRefCntBase

Public Member Functions

 TestListener (int *ptr)
 
void changed () override
 
- Public Member Functions inherited from SkIDChangeListener
 SkIDChangeListener ()
 
 ~SkIDChangeListener () override
 
virtual void changed ()=0
 
void markShouldDeregister ()
 
bool shouldDeregister ()
 
- Public Member Functions inherited from SkRefCntBase
 SkRefCntBase ()
 
virtual ~SkRefCntBase ()
 
bool unique () const
 
void ref () const
 
void unref () const
 

Detailed Description

Definition at line 64 of file PixelRefTest.cpp.

Constructor & Destructor Documentation

◆ TestListener()

TestListener::TestListener ( int ptr)
inlineexplicit

Definition at line 66 of file PixelRefTest.cpp.

66: fPtr(ptr) {}

Member Function Documentation

◆ changed()

void TestListener::changed ( )
inlineoverridevirtual

Implements SkIDChangeListener.

Definition at line 67 of file PixelRefTest.cpp.

67{ (*fPtr)++; }

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