| Flutter Impeller |

Public Member Functions | List of all members
impeller::interop::testing::FlagObject Class Referencefinal
Inheritance diagram for impeller::interop::testing::FlagObject:

## Public Member Functions
| FlagObject (bool &destruction_flag)
| ~FlagObject ()
Public Member Functions inherited from impeller::interop::ObjectBase
| ObjectBase ()=default
virtual | ~ObjectBase ()=default
| ObjectBase (const ObjectBase &)=delete
| ObjectBase (ObjectBase &&)=delete
ObjectBase & | operator= (const ObjectBase &)=delete
ObjectBase & | operator= (ObjectBase &&)=delete
void | Retain ()
void | Release ()
uint64_t | GetRefCountForTests () const

## Additional Inherited Members
Public Types inherited from impeller::interop::Object< FlagObject, IMPELLER_INTERNAL_HANDLE_NAME(FlagHandle)>
using | InteropClass = FlagObject
using | InteropCSibling = IMPELLER_INTERNAL_HANDLE_NAME(FlagHandle)
Static Public Member Functions inherited from impeller::interop::ObjectBase
static void | SafeRetain (void *ptr)
static void | SafeRelease (void *ptr)

## Detailed Description

Definition at line 15 of file object_unittests.cc.

## Constructor & Destructor Documentation

## ◆ FlagObject()

impeller::interop::testing::FlagObject::FlagObject | ( | bool & | destruction_flag | ) |
| inlineexplicit

Definition at line 18 of file object_unittests.cc.

19 : destruction_flag_(destruction_flag) {
20 FML_CHECK(!destruction_flag_) << "Destruction flag must be cleared.";
21 }

## ◆ ~FlagObject()

impeller::interop::testing::FlagObject::~FlagObject | ( |  | ) |
| inline

Definition at line 23 of file object_unittests.cc.

23 {
24 FML_CHECK(!destruction_flag_) << "Already destructed.";
25 destruction_flag_ = true;
26 }

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

- impeller/toolkit/interop/object_unittests.cc