Open 3D Engine GraphCanvas Gem API Reference  24.09
O3DE is an open-source, fully-featured, high-fidelity, modular 3D engine for building games and simulations, available to every industry.
GraphCanvas::StateController< T > Class Template Referenceabstract

Inherited by GraphCanvas::PrioritizedStateController< RootGraphicsItemDisplayState >, GraphCanvas::StackStateController< bool >, GraphCanvas::StackStateController< AZStd::string >, GraphCanvas::PrioritizedStateController< T, Compare >, and GraphCanvas::StackStateController< T >.

Public Types

using Notifications = AZ::EBus< StateControllerNotificationInterface< T > >
 

Public Member Functions

 StateController (const T &defaultState)
 
const T & GetState () const
 
virtual bool HasState () const =0
 
bool operator== (const T &comparisonValue) const
 
bool operator!= (const T &comparisonValue) const
 

Protected Member Functions

bool PushState (StateSetter< T > *stateSetter, const T &state)
 
bool ReleaseState (StateSetter< T > *stateSetter)
 
virtual const T & GetCalculatedState () const =0
 
const T & GetDefaultState () const
 
virtual bool OnPushState (StateSetter< T > *stateSetter, const T &state)=0
 
virtual bool OnReleaseState (StateSetter< T > *stateSetter)=0
 

Friends

class StateSetter< T >
 

The documentation for this class was generated from the following file: