TrinityCore
Loading...
Searching...
No Matches
AsyncCallbackProcessor< T > Class Template Reference

#include <AsyncCallbackProcessor.h>

Public Member Functions

 AsyncCallbackProcessor ()=default
 
 ~AsyncCallbackProcessor ()=default
 
T & AddCallback (T &&query)
 
void ProcessReadyCallbacks ()
 
bool Empty () const
 
void CancelAll ()
 

Private Member Functions

 AsyncCallbackProcessor (AsyncCallbackProcessor const &)=delete
 
AsyncCallbackProcessor & operator= (AsyncCallbackProcessor const &)=delete
 

Private Attributes

std::vector< T > _callbacks
 

Detailed Description

template<AsyncCallback T>
class AsyncCallbackProcessor< T >

Definition at line 25 of file AsyncCallbackProcessor.h.

Constructor & Destructor Documentation

◆ AsyncCallbackProcessor() [1/2]

◆ ~AsyncCallbackProcessor()

◆ AsyncCallbackProcessor() [2/2]

template<AsyncCallback T>
AsyncCallbackProcessor< T >::AsyncCallbackProcessor ( AsyncCallbackProcessor< T > const &  )
privatedelete

Member Function Documentation

◆ AddCallback()

◆ CancelAll()

template<AsyncCallback T>
void AsyncCallbackProcessor< T >::CancelAll ( )
inline

Definition at line 56 of file AsyncCallbackProcessor.h.

References AsyncCallbackProcessor< T >::_callbacks.

◆ Empty()

template<AsyncCallback T>
bool AsyncCallbackProcessor< T >::Empty ( ) const
inline

Definition at line 51 of file AsyncCallbackProcessor.h.

References AsyncCallbackProcessor< T >::_callbacks.

◆ operator=()

template<AsyncCallback T>
AsyncCallbackProcessor & AsyncCallbackProcessor< T >::operator= ( AsyncCallbackProcessor< T > const &  )
privatedelete

◆ ProcessReadyCallbacks()

Member Data Documentation

◆ _callbacks


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