AGX Dynamics  2.37.2.0
agx::Event3< T1, T2, T3 > Class Template Reference

An event with three arguments. More...

#include <Event.h>

+ Inheritance diagram for agx::Event3< T1, T2, T3 >:

Public Member Functions

 Event3 (const agx::Name &name=agx::Name(), const T1 &defaultArg=T1())
 
void trigger (const T2 &arg2, const T3 &arg3)
 Trigger the event with default first argument. More...
 
void trigger (const T1 &arg1, const T2 &arg2, const T3 &arg3)
 Trigger the event. More...
 
- Public Member Functions inherited from agx::EventT< Callback3< T1, T2, T3 > >
 EventT (const agx::Name &name=agx::Name())
 
void addCallback (const Callback3< T1, T2, T3 > *callback)
 Add a callback to the event. More...
 
void addCallbackFirst (const Callback3< T1, T2, T3 > *callback)
 Add a callback to the front of the callback list. More...
 
bool containsCallback (const Callback3< T1, T2, T3 > *callback) const
 
const CallbackPtrVector & getCallbacks () const
 
const agx::Name & getName () const
 
void removeAllCallbacks ()
 Remove all callbacks. More...
 
bool removeCallback (const Callback3< T1, T2, T3 > *callback)
 

Additional Inherited Members

- Public Types inherited from agx::EventT< Callback3< T1, T2, T3 > >
typedef VectorPOD< const CallbackType * > CallbackPtrVector
 
typedef Callback3< T1, T2, T3 > CallbackType
 
- Protected Attributes inherited from agx::EventT< Callback3< T1, T2, T3 > >
Thread * m_activeThread
 
CallbackPtrVector m_callbacks
 
agx::UInt32 m_iterationIndex
 
Name m_name
 

Detailed Description

template<typename T1, typename T2, typename T3>
class agx::Event3< T1, T2, T3 >

An event with three arguments.

Definition at line 140 of file Event.h.

Constructor & Destructor Documentation

◆ Event3()

template<typename T1, typename T2 , typename T3 >
agx::Event3< T1, T2, T3 >::Event3 ( const agx::Name &  name = agx::Name(),
const T1 &  defaultArg = T1() 
)

Definition at line 314 of file Event.h.

Member Function Documentation

◆ trigger() [1/2]

template<typename T1 , typename T2, typename T3>
void agx::Event3< T1, T2, T3 >::trigger ( const T2 &  arg2,
const T3 &  arg3 
)

Trigger the event with default first argument.

Definition at line 317 of file Event.h.

◆ trigger() [2/2]

template<typename T1, typename T2, typename T3>
void agx::Event3< T1, T2, T3 >::trigger ( const T1 &  arg1,
const T2 &  arg2,
const T3 &  arg3 
)

Trigger the event.

Definition at line 323 of file Event.h.


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