Ark Server API (ASA) - Wiki
Loading...
Searching...
No Matches
IBaseDelegateInstance< RetType(ArgTypes...), UserPolicy > Struct Template Referenceabstract

#include <DelegateInstanceInterface.h>

+ Inheritance diagram for IBaseDelegateInstance< RetType(ArgTypes...), UserPolicy >:
+ Collaboration diagram for IBaseDelegateInstance< RetType(ArgTypes...), UserPolicy >:

Public Member Functions

virtual void CreateCopy (typename UserPolicy::FDelegateExtras &Base) const =0
 
virtual RetType Execute (ArgTypes...) const =0
 
virtual bool ExecuteIfSafe (ArgTypes...) const =0
 

Detailed Description

template<typename RetType, typename... ArgTypes, typename UserPolicy>
struct IBaseDelegateInstance< RetType(ArgTypes...), UserPolicy >

Definition at line 16 of file DelegateInstanceInterface.h.

Member Function Documentation

◆ CreateCopy()

template<typename RetType , typename... ArgTypes, typename UserPolicy >
virtual void IBaseDelegateInstance< RetType(ArgTypes...), UserPolicy >::CreateCopy ( typename UserPolicy::FDelegateExtras & Base) const
pure virtual

Emplaces a copy of the delegate instance into the given base delegate.

◆ Execute()

template<typename RetType , typename... ArgTypes, typename UserPolicy >
virtual RetType IBaseDelegateInstance< RetType(ArgTypes...), UserPolicy >::Execute ( ArgTypes... ) const
pure virtual

Execute the delegate. If the function pointer is not valid, an error will occur.

◆ ExecuteIfSafe()

template<typename RetType , typename... ArgTypes, typename UserPolicy >
virtual bool IBaseDelegateInstance< RetType(ArgTypes...), UserPolicy >::ExecuteIfSafe ( ArgTypes... ) const
pure virtual

Execute the delegate, but only if the function pointer is still valid

Returns
Returns true if the function was executed

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