LeviLamina
Loading...
Searching...
No Matches
Scripting::QuickJS::Watchdog Class Reference
Inheritance diagram for Scripting::QuickJS::Watchdog:

Public Types

using WatchdogEventHandler = ::std::function<void(::Scripting::WatchdogEvent)>

Public Member Functions

Watchdog & operator= (Watchdog const &)
 Watchdog (Watchdog const &)
virtual void setWatchdogEventHandler (::std::function< void(::Scripting::WatchdogEvent)> watchdogEventHandler)
virtual void setWatchdogInterruptPollCounter (uint counter)
virtual void beginTiming (::Scripting::ContextId contextId)
virtual void endTiming (::Scripting::ContextId contextId)
virtual void pushPhase (::std::string const &namedPhase, ::std::chrono::microseconds frameBaseLine)
virtual void popPhase ()
virtual void endFrame ()
virtual void resetTimings ()
MCAPI Watchdog (::JSRuntime *rt, ::Scripting::WatchdogSettings settings)
MCAPI void _endContextTiming (::Scripting::ContextId contextId)
MCAPI::Scripting::QuickJS::ContextTimings & _getOrCreateContextTime (::Scripting::ContextId contextId)
MCAPI void _sendWatchdogEvent (::Scripting::WatchdogEvent watchdogEvent)
MCAPI void * $ctor (::JSRuntime *rt, ::Scripting::WatchdogSettings settings)
MCAPI void $dtor ()
MCAPI void $setWatchdogEventHandler (::std::function< void(::Scripting::WatchdogEvent)> watchdogEventHandler)
MCAPI void $setWatchdogInterruptPollCounter (uint counter)
MCAPI void $beginTiming (::Scripting::ContextId contextId)
MCAPI void $endTiming (::Scripting::ContextId contextId)
MCAPI void $pushPhase (::std::string const &namedPhase, ::std::chrono::microseconds frameBaseLine)
MCAPI void $popPhase ()
MCAPI void $endFrame ()
MCAPI void $resetTimings ()

Static Public Member Functions

static MCAPI void _outOfMemoryHandler (::JSContext *ctx, void *runtimeOpaque)
static MCAPI int _stackOverflowHandler (::JSContext *ctx, void *runtimeOpaque)
static MCAPI int _timeoutHandler (::JSContext *ctx, void *runtimeOpaque)
static MCAPI void ** $vftable ()

Public Attributes

::ll::UntypedStorage< 8, 8 > mUnk4f214f
::ll::UntypedStorage< 8, 64 > mUnke0fc70
::ll::UntypedStorage< 8, 8 > mUnk74e2d6
::ll::UntypedStorage< 8, 16 > mUnk83402b
::ll::UntypedStorage< 8, 16 > mUnke744e8
::ll::UntypedStorage< 8, 8 > mUnk2babb0
::ll::UntypedStorage< 8, 40 > mUnk1dbd5d
::ll::UntypedStorage< 8, 24 > mUnk22872d
::ll::UntypedStorage< 8, 24 > mUnk3218f5
::ll::UntypedStorage< 8, 8 > mUnk341985
::ll::UntypedStorage< 1, 1 > mUnkc10073
::ll::TypedStorage< 4, 32, ::Scripting::WatchdogSettingsmSettings

Constructor & Destructor Documentation

◆ Watchdog()

MCAPI Scripting::QuickJS::Watchdog::Watchdog ( ::JSRuntime * rt,
::Scripting::WatchdogSettings settings )
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

Member Function Documentation

◆ setWatchdogEventHandler()

virtual void Scripting::QuickJS::Watchdog::setWatchdogEventHandler ( ::std::function< void(::Scripting::WatchdogEvent)> watchdogEventHandler)
virtual

Implements Scripting::IWatchdog.

◆ setWatchdogInterruptPollCounter()

virtual void Scripting::QuickJS::Watchdog::setWatchdogInterruptPollCounter ( uint counter)
virtual

Implements Scripting::IWatchdog.

◆ beginTiming()

virtual void Scripting::QuickJS::Watchdog::beginTiming ( ::Scripting::ContextId contextId)
virtual

Implements Scripting::IWatchdog.

◆ endTiming()

virtual void Scripting::QuickJS::Watchdog::endTiming ( ::Scripting::ContextId contextId)
virtual

Implements Scripting::IWatchdog.

◆ pushPhase()

virtual void Scripting::QuickJS::Watchdog::pushPhase ( ::std::string const & namedPhase,
::std::chrono::microseconds frameBaseLine )
virtual

Implements Scripting::IWatchdog.

◆ popPhase()

virtual void Scripting::QuickJS::Watchdog::popPhase ( )
virtual

Implements Scripting::IWatchdog.

◆ endFrame()

virtual void Scripting::QuickJS::Watchdog::endFrame ( )
virtual

Implements Scripting::IWatchdog.

◆ resetTimings()

virtual void Scripting::QuickJS::Watchdog::resetTimings ( )
virtual

Implements Scripting::IWatchdog.

◆ _endContextTiming()

MCAPI void Scripting::QuickJS::Watchdog::_endContextTiming ( ::Scripting::ContextId contextId)
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ _getOrCreateContextTime()

MCAPI::Scripting::QuickJS::ContextTimings & Scripting::QuickJS::Watchdog::_getOrCreateContextTime ( ::Scripting::ContextId contextId)
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ _sendWatchdogEvent()

MCAPI void Scripting::QuickJS::Watchdog::_sendWatchdogEvent ( ::Scripting::WatchdogEvent watchdogEvent)
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ _outOfMemoryHandler()

MCAPI void Scripting::QuickJS::Watchdog::_outOfMemoryHandler ( ::JSContext * ctx,
void * runtimeOpaque )
static
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ _stackOverflowHandler()

MCAPI int Scripting::QuickJS::Watchdog::_stackOverflowHandler ( ::JSContext * ctx,
void * runtimeOpaque )
static
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ _timeoutHandler()

MCAPI int Scripting::QuickJS::Watchdog::_timeoutHandler ( ::JSContext * ctx,
void * runtimeOpaque )
static
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ $ctor()

MCAPI void * Scripting::QuickJS::Watchdog::$ctor ( ::JSRuntime * rt,
::Scripting::WatchdogSettings settings )
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ $dtor()

MCAPI void Scripting::QuickJS::Watchdog::$dtor ( )
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ $setWatchdogEventHandler()

MCAPI void Scripting::QuickJS::Watchdog::$setWatchdogEventHandler ( ::std::function< void(::Scripting::WatchdogEvent)> watchdogEventHandler)
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ $setWatchdogInterruptPollCounter()

MCAPI void Scripting::QuickJS::Watchdog::$setWatchdogInterruptPollCounter ( uint counter)
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ $beginTiming()

MCAPI void Scripting::QuickJS::Watchdog::$beginTiming ( ::Scripting::ContextId contextId)
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ $endTiming()

MCAPI void Scripting::QuickJS::Watchdog::$endTiming ( ::Scripting::ContextId contextId)
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ $pushPhase()

MCAPI void Scripting::QuickJS::Watchdog::$pushPhase ( ::std::string const & namedPhase,
::std::chrono::microseconds frameBaseLine )
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ $popPhase()

MCAPI void Scripting::QuickJS::Watchdog::$popPhase ( )
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ $endFrame()

MCAPI void Scripting::QuickJS::Watchdog::$endFrame ( )
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ $resetTimings()

MCAPI void Scripting::QuickJS::Watchdog::$resetTimings ( )
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ $vftable()

MCAPI void ** Scripting::QuickJS::Watchdog::$vftable ( )
static
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

The documentation for this class was generated from the following file:
  • src/mc/deps/scripting/quickjs/watchdog/Watchdog.h