TrinityCore
SOAPCommand Class Reference

#include <TCSoap.h>

Public Member Functions

 SOAPCommand ()
 
 ~SOAPCommand ()
 
void appendToPrintBuffer (std::string_view msg)
 
void setCommandSuccess (bool val)
 
bool hasCommandSucceeded () const
 

Static Public Member Functions

static void print (void *callbackArg, std::string_view msg)
 
static void commandFinished (void *callbackArg, bool success)
 

Public Attributes

bool m_success
 
std::string m_printBuffer
 
std::promise< void > finishedPromise
 

Detailed Description

Definition at line 28 of file TCSoap.h.

Constructor & Destructor Documentation

◆ SOAPCommand()

SOAPCommand::SOAPCommand ( )
inline

Definition at line 31 of file TCSoap.h.

◆ ~SOAPCommand()

SOAPCommand::~SOAPCommand ( )
inline

Definition at line 36 of file TCSoap.h.

Member Function Documentation

◆ appendToPrintBuffer()

void SOAPCommand::appendToPrintBuffer ( std::string_view  msg)
inline

Definition at line 40 of file TCSoap.h.

◆ commandFinished()

void SOAPCommand::commandFinished ( void *  callbackArg,
bool  success 
)
static

Definition at line 133 of file TCSoap.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ hasCommandSucceeded()

bool SOAPCommand::hasCommandSucceeded ( ) const
inline

Definition at line 51 of file TCSoap.h.

+ Here is the caller graph for this function:

◆ print()

static void SOAPCommand::print ( void *  callbackArg,
std::string_view  msg 
)
inlinestatic

Definition at line 56 of file TCSoap.h.

+ Here is the caller graph for this function:

◆ setCommandSuccess()

void SOAPCommand::setCommandSuccess ( bool  val)
inline

Definition at line 45 of file TCSoap.h.

+ Here is the caller graph for this function:

Member Data Documentation

◆ finishedPromise

std::promise<void> SOAPCommand::finishedPromise

Definition at line 65 of file TCSoap.h.

◆ m_printBuffer

std::string SOAPCommand::m_printBuffer

Definition at line 64 of file TCSoap.h.

◆ m_success

bool SOAPCommand::m_success

Definition at line 63 of file TCSoap.h.


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