libnick 2025.7.3
A cross-platform base for native Nickvision applications.
|
An event argument that contains a single parameter. More...
#include <parameventargs.h>
Public Member Functions | |
ParamEventArgs (const T ¶m) | |
Constructs a ParamEventArgs. | |
const T & | getParam () const |
Gets the param stored in the event args. | |
const T & | operator-> () const |
Gets the param stored in the event args. | |
T & | operator-> () |
Gets the param stored in the event args. | |
const T & | operator* () const |
Gets the param stored in the event args. | |
T & | operator* () |
Gets the param stored in the event args. | |
Public Member Functions inherited from Nickvision::Events::EventArgs | |
EventArgs ()=default | |
Constructs an EventArgs. |
An event argument that contains a single parameter.
T must be copy and move constructible.
|
inline |
Constructs a ParamEventArgs.
param | The parameter to store in the event args |
|
inline |
Gets the param stored in the event args.
|
inline |
Gets the param stored in the event args.
|
inline |
Gets the param stored in the event args.
|
inline |
Gets the param stored in the event args.
|
inline |
Gets the param stored in the event args.