Ark Server API (ASA) - Wiki
Loading...
Searching...
No Matches
FAsyncTaskNotificationFactory Class Reference

#include <CoreAsyncTaskNotificationImpl.h>

+ Collaboration diagram for FAsyncTaskNotificationFactory:

Public Types

typedef TSharedPtr< IAsyncTaskNotificationImplFImplPointerType
 
typedef TFunction< FImplPointerType()> FFactoryFunc
 

Public Member Functions

void RegisterFactory (const FName InName, const FFactoryFunc &InFunc)
 
void UnregisterFactory (const FName InName)
 

Static Public Member Functions

static FAsyncTaskNotificationFactoryGet ()
 

Private Member Functions

FImplPointerType InvokeFactory () const
 

Private Attributes

TArray< TTuple< FName, FFactoryFunc > > Factories
 

Friends

class FAsyncTaskNotification
 

Detailed Description

Factory to allow other systems (such as Slate) to override the default asynchronous task notification implementation.

Definition at line 146 of file CoreAsyncTaskNotificationImpl.h.

Member Typedef Documentation

◆ FFactoryFunc

◆ FImplPointerType

Member Function Documentation

◆ Get()

static FAsyncTaskNotificationFactory & FAsyncTaskNotificationFactory::Get ( )
static

Get the factory singleton.

◆ InvokeFactory()

FImplPointerType FAsyncTaskNotificationFactory::InvokeFactory ( ) const
private

Invoke the active factory function (if any), or return a default instance.

◆ RegisterFactory()

void FAsyncTaskNotificationFactory::RegisterFactory ( const FName InName,
const FFactoryFunc & InFunc )

Register a factory function.

◆ UnregisterFactory()

void FAsyncTaskNotificationFactory::UnregisterFactory ( const FName InName)

Unregister a factory function.

Friends And Related Symbol Documentation

◆ FAsyncTaskNotification

Member Data Documentation

◆ Factories

TArray<TTuple<FName, FFactoryFunc> > FAsyncTaskNotificationFactory::Factories
private

Registered factories

Definition at line 176 of file CoreAsyncTaskNotificationImpl.h.


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