HephAudio v3.0.6
A cross-platform C++ library for recording, playing, and processing audio on Windows, Android, Linux, iOS, and macOS.
Loading...
Searching...
No Matches
Heph::ExceptionEventArgs Struct Reference

struct for storing the arguments for the audio exception events. More...

#include <ExceptionEventArgs.h>

Inheritance diagram for Heph::ExceptionEventArgs:
Heph::EventArgs

Public Member Functions

 ExceptionEventArgs (const void *pSender, const Exception &ex)
 
virtual ~ExceptionEventArgs ()=default
 
- Public Member Functions inherited from Heph::EventArgs
virtual ~EventArgs ()=default
 

Public Attributes

const void * pSender
 
const Exceptionexception
 

Detailed Description

struct for storing the arguments for the audio exception events.

Constructor & Destructor Documentation

◆ ExceptionEventArgs()

Heph::ExceptionEventArgs::ExceptionEventArgs ( const void * pSender,
const Exception & ex )

creates a new instance and initializes it with the provided values.

Parameters
pSenderpointer to the object that caused the exception.
exthe exception that's being raised.

◆ ~ExceptionEventArgs()

virtual Heph::ExceptionEventArgs::~ExceptionEventArgs ( )
virtualdefault

releases the resources and destroys the instance.

Member Data Documentation

◆ pSender

const void* Heph::ExceptionEventArgs::pSender

pointer to the object that caused the exception.

◆ exception

const Exception& Heph::ExceptionEventArgs::exception

the exception that's being raised.