|
AGX Dynamics 2.41.2.0
|
An event with one argument. More...
#include <Event.h>
Inheritance diagram for agx::Event1< T1 >:Public Member Functions | |
| Event1 (const agx::Name &name=agx::Name(), const T1 &defaultArg=T1()) | |
| void | trigger () |
| Trigger the event with the default argument. | |
| void | trigger (const T1 &arg) |
| Trigger the event. | |
Public Member Functions inherited from agx::EventT< Callback1< T1 > > | |
| EventT (const agx::Name &name=agx::Name()) | |
| void | addCallback (const Callback1< T1 > *callback) |
| Add a callback to the event. | |
| void | addCallbackFirst (const Callback1< T1 > *callback) |
| Add a callback to the front of the callback list. | |
| bool | containsCallback (const Callback1< T1 > *callback) const |
| const CallbackPtrVector & | getCallbacks () const |
| const agx::Name & | getName () const |
| void | removeAllCallbacks () |
| Remove all callbacks. | |
| bool | removeCallback (const Callback1< T1 > *callback) |
Additional Inherited Members | |
Public Types inherited from agx::EventT< Callback1< T1 > > | |
| typedef VectorPOD< const CallbackType * > | CallbackPtrVector |
| typedef Callback1< T1 > | CallbackType |
Protected Attributes inherited from agx::EventT< Callback1< T1 > > | |
| Thread * | m_activeThread |
| CallbackPtrVector | m_callbacks |
| agx::UInt32 | m_iterationIndex |
| Name | m_name |
An event with one argument.
| agx::Event1< T1 >::Event1 | ( | const agx::Name & | name = agx::Name(), |
| const T1 & | defaultArg = T1() |
||
| ) |
| void agx::Event1< T1 >::trigger |
| void agx::Event1< T1 >::trigger | ( | const T1 & | arg | ) |
Trigger the event.
Definition at line 262 of file Event.h.
References AGX_EVENT_TRIGGER_END, AGX_EVENT_TRIGGER_START, INDEX, agx::Callback1< T >::isRepeating(), and agx::Callback1< T >::run().