Flutter Engine
The Flutter Engine
Public Member Functions | List of all members
flutter::Codec Class Referenceabstract

#include <codec.h>

Inheritance diagram for flutter::Codec:
flutter::RefCountedDartWrappable< Codec > fml::RefCountedThreadSafe< Codec > tonic::DartWrappable fml::internal::RefCountedThreadSafeBase flutter::MultiFrameCodec flutter::SingleFrameCodec

Public Member Functions

virtual int frameCount () const =0
 
virtual int repetitionCount () const =0
 
virtual Dart_Handle getNextFrame (Dart_Handle callback_handle)=0
 
void dispose ()
 
- Public Member Functions inherited from flutter::RefCountedDartWrappable< Codec >
virtual void RetainDartWrappableReference () const override
 
virtual void ReleaseDartWrappableReference () const override
 
- Public Member Functions inherited from fml::RefCountedThreadSafe< Codec >
void Release () const
 
- Public Member Functions inherited from fml::internal::RefCountedThreadSafeBase
void AddRef () const
 
bool HasOneRef () const
 
void AssertHasOneRef () const
 
- Public Member Functions inherited from tonic::DartWrappable
 DartWrappable ()
 
virtual const DartWrapperInfoGetDartWrapperInfo () const =0
 
virtual void RetainDartWrappableReference () const =0
 
virtual void ReleaseDartWrappableReference () const =0
 
Dart_Handle CreateDartWrapper (DartState *dart_state)
 
void AssociateWithDartWrapper (Dart_Handle wrappable)
 
void ClearDartWrapper ()
 
Dart_WeakPersistentHandle dart_wrapper () const
 

Additional Inherited Members

- Public Types inherited from tonic::DartWrappable
enum  DartNativeFields { kPeerIndex , kNumberOfNativeFields }
 
- Protected Member Functions inherited from fml::RefCountedThreadSafe< Codec >
 RefCountedThreadSafe ()
 
 ~RefCountedThreadSafe ()
 
- Protected Member Functions inherited from fml::internal::RefCountedThreadSafeBase
 RefCountedThreadSafeBase ()
 
 ~RefCountedThreadSafeBase ()
 
bool Release () const
 
void Adopt ()
 
- Protected Member Functions inherited from tonic::DartWrappable
virtual ~DartWrappable ()
 
- Static Protected Member Functions inherited from tonic::DartWrappable
static Dart_PersistentHandle GetTypeForWrapper (tonic::DartState *dart_state, const tonic::DartWrapperInfo &wrapper_info)
 

Detailed Description

Definition at line 19 of file codec.h.

Member Function Documentation

◆ dispose()

void flutter::Codec::dispose ( )

Definition at line 17 of file codec.cc.

17 {
19}

◆ frameCount()

virtual int flutter::Codec::frameCount ( ) const
pure virtual

◆ getNextFrame()

virtual Dart_Handle flutter::Codec::getNextFrame ( Dart_Handle  callback_handle)
pure virtual

◆ repetitionCount()

virtual int flutter::Codec::repetitionCount ( ) const
pure virtual

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