Menu
Lumberyard
C++ API Reference (Version 1.10)

AZ::EBusGlobalStoragePolicy< Context > Struct Template Reference

Open 3D Engine (O3DE), the successor to Lumberyard, is now available in Developer Preview. Download O3DE or visit the AWS Game Tech blog to learn more.

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
Context A class that contains EBus data.

Member Function Documentation

Get()

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

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