OHOS::AnimatorManager
Overview
Related Modules:
Description:
Represents the animator manager.
This is a singleton class used to manage Animator instances.
Since:
1.0
Version:
1.0
Summary
Public Member Functions
Init () override |
|
Adds the Animator instance to the AnimatorManager linked list for management, so that the Run function of the Animator class is called once for each frame. |
|
Removes the Animator instance from the AnimatorManager linked list. |
|
Callback () override |
|
Task () |
A constructor used to create a Task instance. |
Task (uint32_t period) |
A constructor used to create a Task instance with the specified running period. |
~Task () |
A destructor used to delete the Task instance. |
SetPeriod (uint32_t period) |
|
SetLastRun (uint32_t lastRun) |
|
GetPeriod () const |
|
GetLastRun () const |
|
TaskExecute () |
|
operator new (size_t size) |
|
operator delete (void p) |
Static Public Member Functions
GetInstance () |
static AnimatorManager * Obtains the AnimatorManager instance. |