|
AGX Dynamics 2.41.2.0
|
Templated callback with one argument. More...
#include <Callback.h>
Public Types | |
| typedef std::function< void(T)> | CallbackFunction |
Public Member Functions | |
| Callback1 () | |
| Callback1 (const CallbackFunction &func, bool repeatEnable=true) | |
| template<class ClassT > | |
| Callback1 (void(ClassT::*fun)(), ClassT *obj, bool repeatEnable=true) | |
| template<class ClassT > | |
| Callback1 (void(ClassT::*fun)(T), ClassT *obj, bool repeatEnable=true) | |
| const CallbackFunction & | implementation () const |
| Return the std representation. | |
| bool | isRepeating () const |
| bool | isValid () const |
| operator const CallbackFunction & () const | |
| void | operator() (T arg1) const |
| Execute the callback. | |
| void | run (T arg1) const |
Templated callback with one argument.
Definition at line 100 of file Callback.h.
| typedef std::function<void (T)> agx::Callback1< T >::CallbackFunction |
Definition at line 103 of file Callback.h.
| agx::Callback1< T >::Callback1 |
Definition at line 295 of file Callback.h.
| agx::Callback1< T >::Callback1 | ( | const CallbackFunction & | func, |
| bool | repeatEnable = true |
||
| ) |
Definition at line 298 of file Callback.h.
|
inline |
Definition at line 289 of file Callback.h.
| agx::Callback1< T >::Callback1 | ( | void(ClassT::*)() | fun, |
| ClassT * | obj, | ||
| bool | repeatEnable = true |
||
| ) |
Definition at line 292 of file Callback.h.
| const Callback1< T >::CallbackFunction & agx::Callback1< T >::implementation |
Return the std representation.
Definition at line 311 of file Callback.h.
| bool agx::Callback1< T >::isRepeating |
Definition at line 314 of file Callback.h.
Referenced by agx::Event1< T1 >::trigger().
| bool agx::Callback1< T >::isValid |
Definition at line 320 of file Callback.h.
| agx::Callback1< T >::operator const CallbackFunction & | ( | ) | const |
| void agx::Callback1< T >::operator() | ( | T | arg1 | ) | const |
Execute the callback.
Definition at line 301 of file Callback.h.
| void agx::Callback1< T >::run | ( | T | arg1 | ) | const |
Definition at line 304 of file Callback.h.
References agxAssert.
Referenced by agx::Event1< T1 >::trigger().