|
proxygen
|
Public Member Functions | |
| DestructionOnCallback () | |
| void | onComplete (int n, int &state) |
| int | state () const |
| bool | deleted () const |
Public Member Functions inherited from folly::DelayedDestructionBase | |
| virtual | ~DelayedDestructionBase ()=default |
Protected Member Functions | |
| void | onStackedComplete (int recur) |
Protected Member Functions inherited from folly::DelayedDestructionBase | |
| DelayedDestructionBase () | |
| uint32_t | getDestructorGuardCount () const |
Private Member Functions | |
| void | onDelayedDestroy (bool delayed) override |
Private Attributes | |
| int | state_ |
| bool | deleted_ |
Definition at line 25 of file DelayedDestructionBaseTest.cpp.
|
inline |
Definition at line 27 of file DelayedDestructionBaseTest.cpp.
|
inline |
Definition at line 40 of file DelayedDestructionBaseTest.cpp.
|
inline |
Definition at line 29 of file DelayedDestructionBaseTest.cpp.
References i.
Referenced by TEST_F().
|
inlineoverrideprivatevirtual |
Implement onDelayedDestroy in subclasses. onDelayedDestroy() is invoked when the object is potentially being destroyed.
| delayed | This parameter is true if destruction was delayed because of a DestructorGuard object, or false if onDelayedDestroy() is being called directly from the destructor. |
Implements folly::DelayedDestructionBase.
Definition at line 58 of file DelayedDestructionBaseTest.cpp.
|
inlineprotected |
Definition at line 45 of file DelayedDestructionBaseTest.cpp.
|
inline |
Definition at line 37 of file DelayedDestructionBaseTest.cpp.
|
private |
Definition at line 56 of file DelayedDestructionBaseTest.cpp.
|
private |
Definition at line 55 of file DelayedDestructionBaseTest.cpp.