CommonLibSSE NG
Loading...
Searching...
No Matches
RE::FxDelegate Class Reference

#include <FxDelegate.h>

Inheritance diagram for RE::FxDelegate:
RE::GFxExternalInterface RE::GFxState RE::GRefCountBase< GFxState, GStatGroups::kGStat_Default_Mem > RE::GRefCountBaseStatImpl< GRefCountImpl, STAT > RE::GRefCountImpl RE::GRefCountImplCore

Classes

struct  CallbackDefn
 
struct  CallbackHashFunctor
 

Public Types

using CallbackHash = GHash< GString, CallbackDefn, CallbackHashFunctor >
 
- Public Types inherited from RE::GFxState
enum class  StateType {
  kNone , kRenderConfig , kRenderStats , kTranslator ,
  kLog , kImageLoader , kActionControl , kUserEventHandler ,
  kFSCommandHandler , kExternalInterface , kFileOpener , kURLBuilder ,
  kImageCreator , kParseControl , kProgressHandler , kImportVisitor ,
  kMeshCacheManager , kFontPackParams , kFontCacheManager , kFontLib ,
  kFontProvider , kFontMap , kGradientParams , kTaskManager ,
  kClipboard , kTextKeyMap , kPreprocessParams , kIMEManager ,
  kXMLSupport , kJpegSupport , kZlibSupport , kFontCompactorParams ,
  kImagePackerParams , kPNGSupport , kAudio , kVideo ,
  kTestStream , kSharedObject , kLocSupport
}
 
- Public Types inherited from RE::GRefCountBase< GFxState, GStatGroups::kGStat_Default_Mem >
enum  
 

Public Member Functions

 FxDelegate ()=default
 
 ~FxDelegate () override=default
 
void Callback (GFxMovieView *a_movieView, const char *a_methodName, const GFxValue *a_args, std::uint32_t a_argCount) override
 
void RegisterHandler (FxDelegateHandler *a_callback)
 
void UnregisterHandler (FxDelegateHandler *a_callback)
 
- Public Member Functions inherited from RE::GFxExternalInterface
 GFxExternalInterface ()
 
 ~GFxExternalInterface () override=default
 
virtual void Callback (GFxMovieView *a_movieView, const char *a_methodName, const GFxValue *a_args, std::uint32_t a_numArgs)=0
 
- Public Member Functions inherited from RE::GFxState
 GFxState (StateType a_st=StateType::kNone)
 
 ~GFxState () override=default
 
StateType GetStateType () const
 
- Public Member Functions inherited from RE::GRefCountBaseStatImpl< GRefCountImpl, STAT >
 GFC_MEMORY_REDEFINE_NEW_IMPL (GRefCountImpl, GFC_REFCOUNTALLOC_CHECK_DELETE, StatType)
 
- Public Member Functions inherited from RE::GRefCountImpl
 ~GRefCountImpl () override=default
 
void AddRef ()
 
void Release ()
 

Static Public Member Functions

static void Invoke (GFxMovieView *a_movieView, const char *a_methodName, FxResponseArgsBase &a_args)
 
static void Invoke2 (GFxMovieView *a_movieView, const char *a_methodName, FxResponseArgsBase &a_args)
 

Public Attributes

CallbackHash callbacks
 

Static Public Attributes

static constexpr auto RTTI = RTTI_FxDelegate
 
- Static Public Attributes inherited from RE::GFxExternalInterface
static constexpr auto RTTI = RTTI_GFxExternalInterface
 
- Static Public Attributes inherited from RE::GFxState
static constexpr auto RTTI = RTTI_GFxState
 
- Static Public Attributes inherited from RE::GRefCountImpl
static constexpr auto RTTI = RTTI_GRefCountImpl
 

Additional Inherited Members

- Protected Attributes inherited from RE::GFxState
StateType stateType
 
std::uint32_t pad14
 

Member Typedef Documentation

◆ CallbackHash

Constructor & Destructor Documentation

◆ FxDelegate()

RE::FxDelegate::FxDelegate ( )
default

◆ ~FxDelegate()

RE::FxDelegate::~FxDelegate ( )
overridedefault

Member Function Documentation

◆ Callback()

void RE::FxDelegate::Callback ( GFxMovieView a_movieView,
const char *  a_methodName,
const GFxValue a_args,
std::uint32_t  a_argCount 
)
overridevirtual

◆ Invoke()

static void RE::FxDelegate::Invoke ( GFxMovieView a_movieView,
const char *  a_methodName,
FxResponseArgsBase a_args 
)
static

◆ Invoke2()

static void RE::FxDelegate::Invoke2 ( GFxMovieView a_movieView,
const char *  a_methodName,
FxResponseArgsBase a_args 
)
static

◆ RegisterHandler()

void RE::FxDelegate::RegisterHandler ( FxDelegateHandler a_callback)

◆ UnregisterHandler()

void RE::FxDelegate::UnregisterHandler ( FxDelegateHandler a_callback)

Member Data Documentation

◆ callbacks

CallbackHash RE::FxDelegate::callbacks

◆ RTTI

constexpr auto RE::FxDelegate::RTTI = RTTI_FxDelegate
inlinestaticconstexpr

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