|
Shaka Player Embedded
|
#include <cursor.h>
Public Member Functions | |
| IDBCursor (RefPtr< IDBObjectStore > source, IDBCursorDirection dir) | |
| void | Trace (memory::HeapTracer *tracer) const override |
| ExceptionOr< void > | Continue (optional< Any > key) |
| ExceptionOr< RefPtr< IDBRequest > > | Delete () |
Public Member Functions inherited from shaka::BackingObject | |
| BackingObject () | |
| void | Trace (memory::HeapTracer *tracer) const override |
| bool | IsRootedAlive () const override |
| std::string | name () const |
| virtual BackingObjectFactoryBase * | factory () const =0 |
| bool | DerivedFrom (const std::string &base) |
| ReturnVal< JsValue > | JsThis () const |
| void | SetJsThis (Handle< JsObject > this_) |
Public Member Functions inherited from shaka::memory::Traceable | |
| virtual | ~Traceable () |
| virtual bool | IsShortLived () const |
Public Attributes | |
| const Member< IDBObjectStore > | source |
| Member< IDBIterateCursorRequest > | request |
| const IDBCursorDirection | direction |
| optional< IdbKeyType > | key |
| Any | value |
| bool | got_value = false |
Additional Inherited Members | |
Static Public Member Functions inherited from shaka::BackingObject | |
| static void * | operator new[] (size_t size)=delete |
| static void | operator delete[] (void *)=delete |
Static Public Attributes inherited from shaka::BackingObject | |
| static constexpr const size_t | kInternalFieldCount = 2 |
Static Public Attributes inherited from shaka::memory::Traceable | |
| static constexpr const uint64_t | kShortLiveDurationMs = 5000 |
Protected Member Functions inherited from shaka::BackingObject | |
| ~BackingObject () override | |
| shaka::js::idb::IDBCursor::IDBCursor | ( | RefPtr< IDBObjectStore > | source, |
| IDBCursorDirection | dir | ||
| ) |
| ExceptionOr< void > shaka::js::idb::IDBCursor::Continue | ( | optional< Any > | key | ) |
| ExceptionOr< RefPtr< IDBRequest > > shaka::js::idb::IDBCursor::Delete | ( | ) |
|
overridevirtual |
Called during a GC run. This should call HeapTracer::Trace on all Traceable members. Be sure to call the base method when overriding.
Implements shaka::memory::Traceable.
| const IDBCursorDirection shaka::js::idb::IDBCursor::direction |
| optional<IdbKeyType> shaka::js::idb::IDBCursor::key |
| Member<IDBIterateCursorRequest> shaka::js::idb::IDBCursor::request |
| const Member<IDBObjectStore> shaka::js::idb::IDBCursor::source |
1.8.13