Ark Server API (ASA) - Wiki
Loading...
Searching...
No Matches
IDelegateInstance Class Referenceabstract

#include <IDelegateInstance.h>

Public Member Functions

virtual ~IDelegateInstance ()=default
 
virtual UObjectGetUObject () const =0
 
virtual const voidGetObjectForTimerManager () const =0
 
virtual uint64 GetBoundProgramCounterForTimerManager () const =0
 
virtual bool HasSameObject (const void *InUserObject) const =0
 
virtual bool IsCompactable () const
 
virtual bool IsSafeToExecute () const =0
 
virtual FDelegateHandle GetHandle () const =0
 

Detailed Description

Definition at line 73 of file IDelegateInstance.h.

Constructor & Destructor Documentation

◆ ~IDelegateInstance()

virtual IDelegateInstance::~IDelegateInstance ( )
virtualdefault

Virtual destructor.

+ Here is the caller graph for this function:

Member Function Documentation

◆ GetBoundProgramCounterForTimerManager()

virtual uint64 IDelegateInstance::GetBoundProgramCounterForTimerManager ( ) const
pure virtual

Returns the address of the method pointer which can be used to learn the address of the function that will be executed. Returns nullptr if this delegate type does not directly invoke a function pointer.

Note: Only intended to be used to aid debugging of delegates.

Returns
The address of the function pointer that would be executed by this delegate

◆ GetHandle()

virtual FDelegateHandle IDelegateInstance::GetHandle ( ) const
pure virtual

Returns a handle for the delegate.

◆ GetObjectForTimerManager()

virtual const void * IDelegateInstance::GetObjectForTimerManager ( ) const
pure virtual

Returns a pointer to an object bound to this delegate instance, intended for quick lookup in the timer manager,

Returns
A pointer to an object referenced by the delegate instance.

◆ GetUObject()

virtual UObject * IDelegateInstance::GetUObject ( ) const
pure virtual

Returns the UObject that this delegate instance is bound to.

Returns
Pointer to the UObject, or nullptr if not bound to a UObject.

◆ HasSameObject()

virtual bool IDelegateInstance::HasSameObject ( const void * InUserObject) const
pure virtual

Returns true if this delegate is bound to the specified UserObject,

Deprecated.

Parameters
InUserObject
Returns
True if delegate is bound to the specified UserObject

◆ IsCompactable()

virtual bool IDelegateInstance::IsCompactable ( ) const
inlinevirtual

Checks to see if the user object bound to this delegate can ever be valid again. used to compact multicast delegate arrays so they don't expand without limit.

Returns
True if the user object can never be used again

Definition at line 136 of file IDelegateInstance.h.

+ Here is the call graph for this function:

◆ IsSafeToExecute()

virtual bool IDelegateInstance::IsSafeToExecute ( ) const
pure virtual

Checks to see if the user object bound to this delegate is still valid

Returns
True if the user object is still valid and it's safe to execute the function call
+ Here is the caller graph for this function:

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