Menu
Lumberyard
C++ API Reference (Version 1.10)

AZ::EBusGlobalStoragePolicy< Context > Struct Template Reference

A choice of AZ::EBusTraits::StoragePolicy that specifies that EBus data is stored in a global static variable. More...

Static Public Member Functions

static Context & Get ()
 Returns the EBus data. More...
 

Detailed Description

template<class Context>
struct AZ::EBusGlobalStoragePolicy< Context >

A choice of AZ::EBusTraits::StoragePolicy that specifies that EBus data is stored in a global static variable.

With this policy, each module (DLL) has its own instance of the EBus.

Template Parameters
ContextA class that contains EBus data.

Member Function Documentation

◆ Get()

template<class Context >
static Context& AZ::EBusGlobalStoragePolicy< Context >::Get ( )
inlinestatic

Returns the EBus data.

Returns
A reference to the EBus data.

The documentation for this struct was generated from the following file:
  • C:/lumberyard-root/dev/Code/Framework/AzCore/AzCore/EBus/Policies.h