libnick 2025.9.1
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) noexcept | |
Constructs a ParamEventArgs. | |
ParamEventArgs (const ParamEventArgs &) noexcept=default | |
ParamEventArgs (ParamEventArgs &&) noexcept=default | |
const T & | getParam () const noexcept |
Gets the param stored in the event args. | |
const T * | operator-> () const noexcept |
Gets the param stored in the event args. | |
T * | operator-> () noexcept |
Gets the param stored in the event args. | |
const T & | operator* () const noexcept |
Gets the param stored in the event args. | |
T & | operator* () noexcept |
Gets the param stored in the event args. | |
ParamEventArgs & | operator= (const ParamEventArgs &) noexcept=default |
ParamEventArgs & | operator= (ParamEventArgs &&) noexcept=default |
![]() | |
EventArgs () noexcept=default | |
Constructs an EventArgs. | |
An event argument that contains a single parameter.
T must be copy and move constructible.
|
inlinenoexcept |
Constructs a ParamEventArgs.
param | The parameter to store in the event args |
|
defaultnoexcept |
|
defaultnoexcept |
|
inlinenoexcept |
Gets the param stored in the event args.
|
inlinenoexcept |
Gets the param stored in the event args.
|
inlinenoexcept |
Gets the param stored in the event args.
|
inlinenoexcept |
Gets the param stored in the event args.
|
inlinenoexcept |
Gets the param stored in the event args.
|
defaultnoexcept |
|
defaultnoexcept |