R-Type
R-Type project
KapMirror::Experimental::Action< Signature > Struct Template Reference

Public Member Functions

template<class... Args>
void operator() (Args &&... args)
 Call all handlers. More...
 
template<typename Handler >
void operator+= (Handler &&hanlder)
 Add a handler to the action. More...
 
template<typename Handler >
void operator-= (Handler &&hanlder)
 Remove a handler from the action. More...
 
void clear ()
 Clear all handlers.
 

Member Function Documentation

◆ operator()()

template<class Signature >
template<class... Args>
void KapMirror::Experimental::Action< Signature >::operator() ( Args &&...  args)
inline

Call all handlers.

Parameters
argsThe arguments to pass to the handlers

◆ operator+=()

template<class Signature >
template<typename Handler >
void KapMirror::Experimental::Action< Signature >::operator+= ( Handler &&  hanlder)
inline

Add a handler to the action.

Parameters
hanlderThe handler to add

◆ operator-=()

template<class Signature >
template<typename Handler >
void KapMirror::Experimental::Action< Signature >::operator-= ( Handler &&  hanlder)
inline

Remove a handler from the action.

Parameters
hanlderThe handler to remove

The documentation for this struct was generated from the following file: