|
| BackingObjectFactoryBase (const std::string &name, NativeCtor ctor, const BackingObjectFactoryBase *base) |
|
template<typename Callback > |
void | AddMemberFunction (const std::string &name, Callback callback) |
|
template<typename Ret , typename... Args> |
void | AddStaticFunction (const std::string &name, Ret(*callback)(Args...)) |
|
template<typename Prop > |
void | AddListenerField (js::EventType type, Prop member) |
|
template<typename This , typename Prop > |
void | AddReadOnlyProperty (const std::string &name, Prop This::*member) |
|
template<typename This , typename Prop > |
void | AddReadWriteProperty (const std::string &name, Prop This::*member) |
|
template<typename Derived = void, typename This = void, typename GetProp = void> |
void | AddGenericProperty (const std::string &name, GetProp(This::*get)() const) |
|
template<typename Derived = void, typename This = void, typename GetProp = void, typename SetProp = void, typename SetPropRet = void> |
void | AddGenericProperty (const std::string &name, GetProp(This::*get)() const, SetPropRet(This::*set)(SetProp)) |
|
template<typename T > |
void | AddConstant (const std::string &name, T value) |
|
template<typename This , typename T > |
void | AddIndexer (bool(This::*get)(size_t, T *) const, void(This::*set)(size_t, T)=nullptr) |
|
void | NotImplemented (const std::string &name) |
|
template<typename T>
class shaka::BackingObjectFactoryRegistry< T >
An intermediate type that allows getting the singleton instance for a given BackingObject type. The instance can't be stored in BackingObjectFactory since doing so would require knowing the base type. To be able to be used in this way, it is valid to use the Instance() method when T is void, but it is invalid to create an instance when T is void.
Definition at line 377 of file backing_object_factory.h.