0.44.0
|
#include <iaEvent.h>
Public Member Functions | |
iaDelegate ()=default | |
iaDelegate (R(*function)(Args...)) | |
template<typename T > | |
iaDelegate (T *instance, R(T::*method)(Args...)) | |
iaDelegate (const iaDelegate &other) | |
~iaDelegate () | |
void | clear () |
void | getInfo (std::wostream &stream) const |
R | operator() (Args... args) const |
const iaDelegate & | operator= (const iaDelegate &other) |
bool | operator== (const iaDelegate< R, Args... > &delegate) const |
bool | operator!= (const iaDelegate< R, Args... > &delegate) const |
bool | isValid () const |
a delegate that wraps a function or method
|
default |
does nothing
|
inline |
initializes with a function pointer
|
inline |
initializes with a method and instance
|
inline |
copy ctor
other | the other delegate |
|
inline |
cleanup
|
inline |
clears delegate and makes it invalid
|
inline |
get info in to stream
[out] | stream | the stream to put the infor in |
|
inline |
|
inline |
tests if two delegates are not equal
delegate | the other delegate to test against |
|
inline |
executes the bound function or method
|
inline |
assignment operator
other | the other delegate |
|
inline |
tests if two delegates are equal
delegate | the other delegate to test against |