Project SkyFire Core
SkyFire 5.4.8 server core API documentation
Loading...
Searching...
No Matches
SOAPCommand Class Reference

#include <SFSoap.h>

Public Member Functions

void appendToPrintBuffer (const char *msg)
void complete (bool success)
bool hasCommandSucceeded () const
void setCommandSuccess (bool val)
 SOAPCommand ()
void wait ()
 ~SOAPCommand ()

Static Public Member Functions

static void commandFinished (void *callbackArg, bool success)
static void print (void *callbackArg, const char *msg)

Public Attributes

std::string m_printBuffer
bool m_success

Private Attributes

bool m_completed
std::condition_variable m_condition
std::mutex m_mutex

Detailed Description

Definition at line 83 of file SFSoap.h.

Constructor & Destructor Documentation

◆ SOAPCommand()

SOAPCommand::SOAPCommand ( )
inline

Definition at line 86 of file SFSoap.h.

References m_completed, and m_success.

Referenced by commandFinished(), and print().

◆ ~SOAPCommand()

SOAPCommand::~SOAPCommand ( )
inline

Definition at line 91 of file SFSoap.h.

Member Function Documentation

◆ appendToPrintBuffer()

void SOAPCommand::appendToPrintBuffer ( const char * msg)
inline

Definition at line 95 of file SFSoap.h.

References m_printBuffer.

◆ commandFinished()

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

Definition at line 116 of file SFSoap.cpp.

References complete(), and SOAPCommand().

Referenced by ns1__executeCommand().

◆ complete()

void SOAPCommand::complete ( bool success)
inline

Definition at line 106 of file SFSoap.h.

References m_completed, m_condition, m_mutex, and m_success.

Referenced by commandFinished().

◆ hasCommandSucceeded()

bool SOAPCommand::hasCommandSucceeded ( ) const
inline

Definition at line 122 of file SFSoap.h.

References m_success.

Referenced by ns1__executeCommand().

◆ print()

void SOAPCommand::print ( void * callbackArg,
const char * msg )
inlinestatic

Definition at line 127 of file SFSoap.h.

References SOAPCommand().

Referenced by ns1__executeCommand().

◆ setCommandSuccess()

void SOAPCommand::setCommandSuccess ( bool val)
inline

Definition at line 117 of file SFSoap.h.

References m_success.

◆ wait()

void SOAPCommand::wait ( )
inline

Definition at line 100 of file SFSoap.h.

References m_completed, m_condition, and m_mutex.

Referenced by ns1__executeCommand().

Member Data Documentation

◆ m_completed

bool SOAPCommand::m_completed
private

Definition at line 140 of file SFSoap.h.

Referenced by complete(), SOAPCommand(), and wait().

◆ m_condition

std::condition_variable SOAPCommand::m_condition
private

Definition at line 139 of file SFSoap.h.

Referenced by complete(), and wait().

◆ m_mutex

std::mutex SOAPCommand::m_mutex
private

Definition at line 138 of file SFSoap.h.

Referenced by complete(), and wait().

◆ m_printBuffer

std::string SOAPCommand::m_printBuffer

Definition at line 135 of file SFSoap.h.

Referenced by appendToPrintBuffer(), and ns1__executeCommand().

◆ m_success

bool SOAPCommand::m_success

Definition at line 134 of file SFSoap.h.

Referenced by complete(), hasCommandSucceeded(), setCommandSuccess(), and SOAPCommand().


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