#include <Policies.h>
Inherited by AZ::Data::AssetEvents::AssetConnectionPolicy< Bus >.
Public Types | |
typedef Bus::BusPtr | BusPtr |
typedef Bus::BusIdType | BusIdType |
typedef Bus::HandlerNode | HandlerNode |
typedef Bus::Context | Context |
typedef Bus::MutexType | MutexType |
typedef Bus::Context::ConnectLockGuard | ConnectLockGuard |
Static Public Member Functions | |
static void | Connect (BusPtr &ptr, Context &context, HandlerNode &handler, ConnectLockGuard &contextLock, const BusIdType &id=0) |
static void | Disconnect (Context &context, HandlerNode &handler, BusPtr &ptr) |
Defines the default connection policy that is used when AZ::EBusTraits::ConnectionPolicy is left unspecified. Use this as a template for custom connection policies.
Bus | A class that defines an EBus. |
typedef Bus::BusIdType AZ::EBusConnectionPolicy< Bus >::BusIdType |
The type of ID that is used to address the EBus. This type is used when the address policy is EBusAddressPolicy::ById or EBusAddressPolicy::ByIdAndOrdered only.
typedef Bus::BusPtr AZ::EBusConnectionPolicy< Bus >::BusPtr |
A pointer to a specific address on the EBus.
typedef Bus::Context::ConnectLockGuard AZ::EBusConnectionPolicy< Bus >::ConnectLockGuard |
Lock type used for connecting / disconnecting to the bus. When NullMutex isn't used as the default mutex this will be a unique lock to allow for unlocking before connection dispatches which some specialized policies perform
E.g RequestConnect -> LockMutex -> ConnectInternal -> UnlockMutex -> ExecuteHandlerMethod -> Return
typedef Bus::Context AZ::EBusConnectionPolicy< Bus >::Context |
typedef Bus::HandlerNode AZ::EBusConnectionPolicy< Bus >::HandlerNode |
A handler connected to the EBus.
typedef Bus::MutexType AZ::EBusConnectionPolicy< Bus >::MutexType |
Default MutexType used for connecting, disconnecting and dispatch when enabled
|
static |
|
static |