Inherited by AZ::BusInternal::EBusImpl< Bus, Traits, NullBusId > .
|template<class Callback >|
|static void||EnumerateHandlers (Callback callback)|
Calls a user-defined function on all handlers that are connected to the
|static Traits::InterfaceType *||FindFirstHandler ()|
Finds the first handler that is connected to the
template<class Bus, class Traits>
struct AZ::BusInternal::EBusBroadcastEnumerator< Bus, Traits >
Provides functionality that requires enumerating over all handlers that are connected to an EBus .
Member Function Documentation
Calls a user-defined function on all handlers that are connected to the EBus .
The function signature must be
bool callback(InterfaceType* handler)
. The function must return true to continue enumerating handlers, or return false to stop.
callback Function to call.
Finds the first handler that is connected to the EBus .
This function is only for special cases where you know that a particular component's handler is guaranteed to exist. Even if the returned pointer is valid (not null), it might point to a handler that was deleted. Prefer dispatching events using EBusEventer .
- A pointer to the first handler on the EBus , even if the handler was deleted.
The documentation for this struct was generated from the following file:
- C:/lumberyard-root/dev/Code/Framework/AzCore/AzCore/EBus/ BusImpl.h