STLdoc
STLdocumentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
Public Member Functions | Private Attributes | List of all members
Concurrency::accelerator_view_removed Class Reference

Exception thrown when an underlying DirectX call fails due to the Windows timeout detection and recovery mechanism More...

#include <amprt.h>

Inheritance diagram for Concurrency::accelerator_view_removed:
Concurrency::runtime_exception

Public Member Functions

_AMPIMP accelerator_view_removed (const char *_Message, HRESULT _View_removed_reason) throw ()
 Construct an accelerator_view_removed exception with a message and a view removed reason code More...
 
_AMPIMP accelerator_view_removed (HRESULT _View_removed_reason) throw ()
 Construct an accelerator_view_removed exception More...
 
_AMPIMP HRESULT get_view_removed_reason () const throw ()
 Returns an HRESULT error code indicating the cause of the accelerator_view's removal More...
 
- Public Member Functions inherited from Concurrency::runtime_exception
_AMPIMP runtime_exception (const char *_Message, HRESULT _Hresult) throw ()
 Construct a runtime_exception exception with a message and an error code More...
 
_AMPIMP runtime_exception (HRESULT _Hresult) throw ()
 Construct a runtime_exception exception with an error code More...
 
_AMPIMP runtime_exception (const runtime_exception &_Other) throw ()
 Copy construct a runtime_exception exception More...
 
_AMPIMP runtime_exceptionoperator= (const runtime_exception &_Other) throw ()
 Assignment operator More...
 
virtual _AMPIMP ~runtime_exception () throw ()
 Destruct a runtime_exception exception object instance More...
 
_AMPIMP HRESULT get_error_code () const throw ()
 Get the error code that caused this exception More...
 

Private Attributes

HRESULT _M_view_removed_reason_code
 

Detailed Description

Exception thrown when an underlying DirectX call fails due to the Windows timeout detection and recovery mechanism

Constructor & Destructor Documentation

_AMPIMP Concurrency::accelerator_view_removed::accelerator_view_removed ( const char *  _Message,
HRESULT  _View_removed_reason 
)
throw (
)
explicit

Construct an accelerator_view_removed exception with a message and a view removed reason code

Parameters
_MessageDescriptive message of error
_View_removed_reasonHRESULT error code indicating the cause of removal of the accelerator_view
_AMPIMP Concurrency::accelerator_view_removed::accelerator_view_removed ( HRESULT  _View_removed_reason)
throw (
)
explicit

Construct an accelerator_view_removed exception

Parameters
_View_removed_reasonHRESULT error code indicating the cause of removal of the accelerator_view

Member Function Documentation

_AMPIMP HRESULT Concurrency::accelerator_view_removed::get_view_removed_reason ( ) const
throw (
)

Returns an HRESULT error code indicating the cause of the accelerator_view's removal

Returns
The HRESULT error code that indicates the cause of accelerator_view's removal

Member Data Documentation

HRESULT Concurrency::accelerator_view_removed::_M_view_removed_reason_code
private

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