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::EventParams Struct Referencefinal

stores the information required to handle an event. More...

#include <EventParams.h>

Public Member Functions

 EventParams (const UserEventArgs &userEventArgs)
 

Public Attributes

EventArgspArgs
 
EventResultpResult
 
const UserEventArgsuserEventArgs
 

Detailed Description

stores the information required to handle an event.

Constructor & Destructor Documentation

◆ EventParams()

Heph::EventParams::EventParams ( const UserEventArgs & userEventArgs)
inline

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

Parameters
userEventArgscontains the extra arguments passed by the user.

Member Data Documentation

◆ pArgs

EventArgs* Heph::EventParams::pArgs

pointer to the arguments, can be null.

◆ pResult

EventResult* Heph::EventParams::pResult

pointer to the result, can be null.

◆ userEventArgs

const UserEventArgs& Heph::EventParams::userEventArgs

contains the extra arguments passed by the user.