| 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 13 of file object_unittests.cc.

## Constructor & Destructor Documentation

## ◆ FlagObject()

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

Definition at line 16 of file object_unittests.cc.

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

## ◆ ~FlagObject()

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

Definition at line 21 of file object_unittests.cc.

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

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

- impeller/toolkit/interop/object_unittests.cc