Menu
Lumberyard
C++ API Reference (Version 1.10)

AZ::EBusEnvironmentStoragePolicy< 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 the AZ::Environment. More...

Static Public Member Functions

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

Static Public Attributes

static EnvironmentVariable< Context > s_context
Environment variable that contains a pointer to the EBus data. More...

Detailed Description

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

A choice of AZ::EBusTraits::StoragePolicy that specifies that EBus data is stored in the AZ::Environment.

With this policy, a single EBus instance is shared across all modules (DLLs) that attach to the AZ::Environment.

Template Parameters
Context A class that contains EBus data.

Member Function Documentation

Get()

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

Returns the EBus data.

Returns
A reference to the EBus data.

Member Data Documentation

s_context

template<class Context >
EnvironmentVariable< Context > AZ::EBusEnvironmentStoragePolicy < Context >::s_context
static

Environment variable that contains a pointer 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