Dispatches an event to all handlers that are connected to an
EBus
.
More...
Inherited by
AZ::BusInternal::EBusImpl< Bus, Traits, BusIdType >
, and
AZ::BusInternal::EBusImpl< Bus, Traits, NullBusId >
.
|
template<class Function , class ... InputArgs>
|
static void
|
Broadcast
(Function func, InputArgs &&... args)
|
|
Dispatches an event to all handlers.
More...
|
|
template<class Results , class Function , class ... InputArgs>
|
static void
|
BroadcastResult
(Results &results, Function func, InputArgs &&... args)
|
|
Dispatches an event to all handlers and receives results.
More...
|
|
template<class Function , class ... InputArgs>
|
static void
|
BroadcastReverse
(Function func, InputArgs &&... args)
|
|
Dispatches an event to all handlers in reverse order.
More...
|
|
template<class Results , class Function , class ... InputArgs>
|
static void
|
BroadcastResultReverse
(Results &results, Function func, InputArgs &&... args)
|
|
Dispatches an event to all handlers in reverse order and receives results.
More...
|
|
template<class Bus, class Traits>
struct AZ::BusInternal::EBusBroadcaster< Bus, Traits >
Dispatches an event to all handlers that are connected to an
EBus
.
-
Template Parameters
-
Bus
|
The
EBus
type.
|
Traits
|
A class that inherits from
EBusTraits
and configures the
EBus
. This parameter may be left unspecified if the
Interface
class inherits from
EBusTraits
.
|
◆
BusPtr
template<class Bus, class Traits>
Pointer to an address on the bus.
◆
Broadcast()
template<class Bus , class Traits >
template<class Function , class ... InputArgs>
Dispatches an event to all handlers.
-
Parameters
-
func
|
Function pointer of the event to dispatch.
|
args
|
Function arguments that are passed to each handler.
|
◆
BroadcastResult()
template<class Bus , class Traits >
template<class Results , class Function , class ... InputArgs>
Dispatches an event to all handlers and receives results.
-
Parameters
-
[out]
|
results
|
Return value from the event.
|
|
func
|
Function pointer of the event to dispatch.
|
|
args
|
Function arguments that are passed to each handler.
|
◆
BroadcastResultReverse()
template<class Bus , class Traits >
template<class Results , class Function , class ... InputArgs>
Dispatches an event to all handlers in reverse order and receives results.
-
Parameters
-
[out]
|
results
|
Return value from the event.
|
|
func
|
Function pointer of the event to dispatch.
|
|
args
|
Function arguments that are passed to each handler.
|
◆
BroadcastReverse()
template<class Bus , class Traits >
template<class Function , class ... InputArgs>
Dispatches an event to all handlers in reverse order.
-
Parameters
-
func
|
Function pointer of the event to dispatch.
|
args
|
Function arguments that are passed to each handler.
|
The documentation for this struct was generated from the following file:
-
C:/lumberyard-root/dev/Code/Framework/AzCore/AzCore/EBus/
BusImpl.h