AGX Dynamics 2.38.0.0
Loading...
Searching...
No Matches
agx::Event Class Reference

An event with no arguments. More...

#include <Event.h>

+ Inheritance diagram for agx::Event:

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 CallbackPtrVectorgetCallbacks () const
 
const agx::NamegetName () 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 >
Threadm_activeThread
 
CallbackPtrVector m_callbacks
 
agx::UInt32 m_iterationIndex
 
Name m_name
 

Detailed Description

An event with no arguments.

Definition at line 89 of file Event.h.

Constructor & Destructor Documentation

◆ Event()

agx::Event::Event ( const agx::Name name = agx::Name())

Definition at line 225 of file Event.h.

Member Function Documentation

◆ trigger()


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