Logo
ApraPipes 1.0
Loading...
Searching...
No Matches
NVDECException Class Reference

Exception class for error reporting from the decode API. More...

#include <H264DecoderNvCodecHelper.h>

Inherits std::exception.

Collaboration diagram for NVDECException:
Collaboration graph

Public Member Functions

 NVDECException (const std::string &errorStr, const CUresult errorCode)
 
virtual ~NVDECException () throw ()
 
virtual const char * what () const throw ()
 
CUresult getErrorCode () const
 
const std::string & getErrorString () const
 

Static Public Member Functions

static NVDECException makeNVDECException (const std::string &errorStr, const CUresult errorCode, const std::string &functionName, const std::string &fileName, int lineNo)
 

Private Attributes

std::string m_errorString
 
CUresult m_errorCode
 

Detailed Description

Exception class for error reporting from the decode API.

Constructor & Destructor Documentation

◆ NVDECException()

NVDECException::NVDECException ( const std::string & errorStr,
const CUresult errorCode )
inline

◆ ~NVDECException()

virtual NVDECException::~NVDECException ( )
throw ( )
inlinevirtual

Member Function Documentation

◆ getErrorCode()

CUresult NVDECException::getErrorCode ( ) const
inline

◆ getErrorString()

const std::string & NVDECException::getErrorString ( ) const
inline

◆ makeNVDECException()

NVDECException NVDECException::makeNVDECException ( const std::string & errorStr,
const CUresult errorCode,
const std::string & functionName,
const std::string & fileName,
int lineNo )
inlinestatic

◆ what()

virtual const char * NVDECException::what ( ) const
throw ( )
inlinevirtual

Member Data Documentation

◆ m_errorCode

CUresult NVDECException::m_errorCode
private

◆ m_errorString

std::string NVDECException::m_errorString
private

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