TrinityCore
TransactionCallback Class Reference

#include <Transaction.h>

Public Member Functions

 TransactionCallback (TransactionFuture &&future)
 
 TransactionCallback (TransactionCallback &&)=default
 
TransactionCallbackoperator= (TransactionCallback &&)=default
 
void AfterComplete (std::function< void(bool)> callback) &
 
bool InvokeIfReady ()
 

Public Attributes

TransactionFuture m_future
 
std::function< void(bool)> m_callback
 

Detailed Description

Definition at line 100 of file Transaction.h.

Constructor & Destructor Documentation

◆ TransactionCallback() [1/2]

TransactionCallback::TransactionCallback ( TransactionFuture &&  future)
inline

Definition at line 103 of file Transaction.h.

◆ TransactionCallback() [2/2]

TransactionCallback::TransactionCallback ( TransactionCallback &&  )
default

Member Function Documentation

◆ AfterComplete()

void TransactionCallback::AfterComplete ( std::function< void(bool)>  callback) &
inline

Definition at line 108 of file Transaction.h.

+ Here is the caller graph for this function:

◆ InvokeIfReady()

bool TransactionCallback::InvokeIfReady ( )

Definition at line 98 of file Transaction.cpp.

◆ operator=()

TransactionCallback & TransactionCallback::operator= ( TransactionCallback &&  )
default

Member Data Documentation

◆ m_callback

std::function<void(bool)> TransactionCallback::m_callback

Definition at line 116 of file Transaction.h.

◆ m_future

TransactionFuture TransactionCallback::m_future

Definition at line 115 of file Transaction.h.


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