Shaka Player Embedded
List of all members
shaka::impl::JsConstructor< This > Class Template Reference

#include <register_member.h>

Detailed Description

template<typename This>
class shaka::impl::JsConstructor< This >

This defines the callback that is invoked when a JavaScript constructor is called.

This is slightly different than JsConstructorCreateOrThrow since it needs to handle C++ created objects. When we create a C++ object and pass to JavaScript, we need to create a JavaScript object for it. We still need to invoke the same constructor for this case. This class handles this special case and then forwards to JsConstructorCreateOrThrow.

Definition at line 510 of file register_member.h.


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