XPMP2
X-Plane multiplayer library 2 - using instancing
Public Member Functions | Public Attributes | List of all members
XPMP2::FmodError Class Reference

Exception class to pass on error information. More...

#include <Sound.h>

+ Inheritance diagram for XPMP2::FmodError:

Public Member Functions

 FmodError (const std::string &_what, FMOD_RESULT _r, const std::string &_file, int _ln, const std::string &_sFunc)
 Constructor taking on a descriptive string and the FMOD_RESULT More...
 
void LogErr () const
 Log myself to Log.txt as an error. More...
 

Public Attributes

FMOD_RESULT fmodRes
 the actual FMOD result code More...
 
std::string sFile
 file path of code file More...
 
int ln
 line number here in the code More...
 
std::string sFunc
 name of the function the error occurred in More...
 

Detailed Description

Exception class to pass on error information.

Constructor & Destructor Documentation

◆ FmodError()

XPMP2::FmodError::FmodError ( const std::string &  _what,
FMOD_RESULT  _r,
const std::string &  _file,
int  _ln,
const std::string &  _sFunc 
)
inline

Constructor taking on a descriptive string and the FMOD_RESULT

Member Function Documentation

◆ LogErr()

void XPMP2::FmodError::LogErr ( ) const
inline

Log myself to Log.txt as an error.

Member Data Documentation

◆ fmodRes

FMOD_RESULT XPMP2::FmodError::fmodRes

the actual FMOD result code

◆ ln

int XPMP2::FmodError::ln

line number here in the code

◆ sFile

std::string XPMP2::FmodError::sFile

file path of code file

◆ sFunc

std::string XPMP2::FmodError::sFunc

name of the function the error occurred in


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