|
AGX Dynamics
2.37.2.0
|
Templated callback with three arguments. More...
#include <Callback.h>
Public Types | |
| typedef std::function< void(T1, T2, T3)> | CallbackFunction |
Public Member Functions | |
| Callback3 () | |
| Callback3 (const CallbackFunction &func, bool repeatEnable=true) | |
| template<class ClassT > | |
| Callback3 (void(ClassT::*fun)(T1, T2, T3), ClassT *obj, bool repeatEnable=true) | |
| template<class ClassT > | |
| Callback3 (void(ClassT::*fun)(T1, T2), ClassT *obj, bool repeatEnable=true) | |
| template<class ClassT > | |
| Callback3 (void(ClassT::*fun)(T1), ClassT *obj, bool repeatEnable=true) | |
| template<class ClassT > | |
| Callback3 (void(ClassT::*fun)(), ClassT *obj, bool repeatEnable=true) | |
| const CallbackFunction & | implementation () const |
| Return the std representation. More... | |
| bool | isRepeating () const |
| bool | isValid () const |
| operator const CallbackFunction & () const | |
| void | operator() (T1 arg1, T2 arg2, T3 arg3) const |
| Execute the callback. More... | |
| void | run (T1 arg1, T2 arg2, T3 arg3) const |
Templated callback with three arguments.
Definition at line 181 of file Callback.h.
| typedef std::function<void (T1, T2, T3)> agx::Callback3< T1, T2, T3 >::CallbackFunction |
Definition at line 184 of file Callback.h.
| agx::Callback3< T1, T2, T3 >::Callback3 | ( | ) |
Definition at line 382 of file Callback.h.
| agx::Callback3< T1, T2, T3 >::Callback3 | ( | const CallbackFunction & | func, |
| bool | repeatEnable = true |
||
| ) |
Definition at line 385 of file Callback.h.
| agx::Callback3< T1, T2, T3 >::Callback3 | ( | void(ClassT::*)(T1, T2, T3) | fun, |
| ClassT * | obj, | ||
| bool | repeatEnable = true |
||
| ) |
Definition at line 369 of file Callback.h.
| agx::Callback3< T1, T2, T3 >::Callback3 | ( | void(ClassT::*)(T1, T2) | fun, |
| ClassT * | obj, | ||
| bool | repeatEnable = true |
||
| ) |
Definition at line 373 of file Callback.h.
| agx::Callback3< T1, T2, T3 >::Callback3 | ( | void(ClassT::*)(T1) | fun, |
| ClassT * | obj, | ||
| bool | repeatEnable = true |
||
| ) |
Definition at line 376 of file Callback.h.
| agx::Callback3< T1, T2, T3 >::Callback3 | ( | void(ClassT::*)() | fun, |
| ClassT * | obj, | ||
| bool | repeatEnable = true |
||
| ) |
Definition at line 379 of file Callback.h.
| const Callback3< T1, T2, T3 >::CallbackFunction & agx::Callback3< T1, T2, T3 >::implementation | ( | ) | const |
Return the std representation.
Definition at line 398 of file Callback.h.
| bool agx::Callback3< T1, T2, T3 >::isRepeating | ( | ) | const |
Definition at line 401 of file Callback.h.
References AGX_FORCE_INLINE.
Referenced by agx::Event3< RigidBodyEmitter *, agx::RigidBody *, DistributionModel * >::trigger().
| bool agx::Callback3< T1, T2, T3 >::isValid | ( | ) | const |
Definition at line 407 of file Callback.h.
| agx::Callback3< T1, T2, T3 >::operator const CallbackFunction & | ( | ) | const |
| void agx::Callback3< T1, T2, T3 >::operator() | ( | T1 | arg1, |
| T2 | arg2, | ||
| T3 | arg3 | ||
| ) | const |
Execute the callback.
Definition at line 388 of file Callback.h.
References agx::Callback3< T1, T2, T3 >::run().
| void agx::Callback3< T1, T2, T3 >::run | ( | T1 | arg1, |
| T2 | arg2, | ||
| T3 | arg3 | ||
| ) | const |
Definition at line 391 of file Callback.h.
References agxAssert.
Referenced by agx::Callback3< T1, T2, T3 >::operator()(), and agx::Event3< RigidBodyEmitter *, agx::RigidBody *, DistributionModel * >::trigger().