Skia
2D Graphics Library
skottie::ExpressionManager Class Referenceabstract

Creates ExpressionEvaluators to evaluate AE expressions and return the results. More...

#include <Skottie.h>

Inheritance diagram for skottie::ExpressionManager:

Public Member Functions

virtual sk_sp< ExpressionEvaluator< float > > createNumberExpressionEvaluator (const char expression[])=0
 
virtual sk_sp< ExpressionEvaluator< SkString > > createStringExpressionEvaluator (const char expression[])=0
 
virtual sk_sp< ExpressionEvaluator< std::vector< float > > > createArrayExpressionEvaluator (const char expression[])=0
 
bool unique () const
 May return true if the caller is the only owner. More...
 
void ref () const
 Increment the reference count. More...
 
void unref () const
 Decrement the reference count. More...
 

Detailed Description

Creates ExpressionEvaluators to evaluate AE expressions and return the results.

Member Function Documentation

◆ createArrayExpressionEvaluator()

virtual sk_sp<ExpressionEvaluator<std::vector<float> > > skottie::ExpressionManager::createArrayExpressionEvaluator ( const char  expression[])
pure virtual

◆ createNumberExpressionEvaluator()

virtual sk_sp<ExpressionEvaluator<float> > skottie::ExpressionManager::createNumberExpressionEvaluator ( const char  expression[])
pure virtual

◆ createStringExpressionEvaluator()

virtual sk_sp<ExpressionEvaluator<SkString> > skottie::ExpressionManager::createStringExpressionEvaluator ( const char  expression[])
pure virtual

◆ ref()

void SkRefCntBase::ref ( ) const
inlineinherited

Increment the reference count.

Must be balanced by a call to unref().

◆ unique()

bool SkRefCntBase::unique ( ) const
inlineinherited

May return true if the caller is the only owner.

Ensures that all previous owner's actions are complete.

◆ unref()

void SkRefCntBase::unref ( ) const
inlineinherited

Decrement the reference count.

If the reference count is 1 before the decrement, then delete the object. Note that if this is the case, then the object needs to have been allocated via new, and not on the stack.


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