AGX Dynamics 2.38.0.0
|
An event with no arguments. More...
#include <Event.h>
Public Member Functions | |
Event (const agx::Name &name=agx::Name()) | |
void | trigger () |
Trigger the event. | |
Public Member Functions inherited from agx::EventT< Callback > | |
EventT (const agx::Name &name=agx::Name()) | |
void | addCallback (const Callback *callback) |
Add a callback to the event. | |
void | addCallbackFirst (const Callback *callback) |
Add a callback to the front of the callback list. | |
bool | containsCallback (const Callback *callback) const |
const CallbackPtrVector & | getCallbacks () const |
const agx::Name & | getName () const |
void | removeAllCallbacks () |
Remove all callbacks. | |
bool | removeCallback (const Callback *callback) |
Additional Inherited Members | |
Public Types inherited from agx::EventT< Callback > | |
typedef VectorPOD< const CallbackType * > | CallbackPtrVector |
typedef Callback | CallbackType |
Protected Attributes inherited from agx::EventT< Callback > | |
Thread * | m_activeThread |
CallbackPtrVector | m_callbacks |
agx::UInt32 | m_iterationIndex |
Name | m_name |
void agx::Event::trigger | ( | ) |
Trigger the event.
Definition at line 235 of file Event.h.
References AGX_EVENT_TRIGGER_END, AGX_EVENT_TRIGGER_START, agx::VectorPOD< T, Allocator >::back(), INDEX, agx::Callback::isRepeating(), agx::EventT< Callback >::m_callbacks, agx::VectorPOD< T, Allocator >::pop_back(), agx::Callback::run(), and agx::Container::size().