Ark Server API (ASA) - Wiki
|
#include <IQueuedWork.h>
Public Member Functions | |
virtual bool | Retract ()=0 |
virtual | ~IQueuedWorkInternalData () |
Public Member Functions inherited from FThreadSafeRefCountedObject | |
FThreadSafeRefCountedObject () | |
virtual | ~FThreadSafeRefCountedObject () |
FThreadSafeRefCountedObject (const FThreadSafeRefCountedObject &Rhs)=delete | |
FThreadSafeRefCountedObject & | operator= (const FThreadSafeRefCountedObject &Rhs)=delete |
uint32 | AddRef () const |
uint32 | Release () const |
uint32 | GetRefCount () const |
Interface for internal data of queued work objects.
This interface can be used to track some data between the individual function invokations of the FQueuedThreadPool Usually it is used to store some internal state to support cancellation without having to look it up from a map.
Definition at line 34 of file IQueuedWork.h.
|
inlinevirtual |
Virtual destructor so that child implementations are guaranteed a chance to clean up any resources they allocated.
Definition at line 49 of file IQueuedWork.h.
called during retraction, when a task is pulled from being worked on. the return value specifies if the cancellation succeded
Implemented in FQueuedLowLevelThreadPool::FQueuedWorkInternalData.