_AnimationManager::~_AnimationManager(void)
{
+ __committedList.RemoveAllNodes();
}
_AnimationManager*
if (__pCurrentTransaction == null)
{
- pNode = new (std::nothrow) _TransactionNode();
+ pNode = new (std::nothrow) _TransactionNode(*__pRootTransaction);
SysTryReturn(NID_UI_ANIM, (pNode != null), -1, E_OUT_OF_MEMORY, "[E_OUT_OF_MEMORY] Memory allocation failed. Failed to create _TransactionNode.");
result r = GetLastResult();
#include <FUiAnimVisualElement.h>
+#include "FUiAnim_TransactionNode.h"
namespace Tizen { namespace Ui { namespace Animations
{
class IVisualElementAnimationValueInterpolator;
class VisualElementAnimation;
class VisualElementAnimationGroup;
-class _RootVisualElement;
-class _TransactionNode;
class _AnimationManager
{
public:
_TransactionNode* GetNodeAt(int index) const
{
- _TransactionNode* pChild = null;
+ _TransactionNode* pNode = null;
- if (likely(GetAt(index, pChild) == E_SUCCESS))
+ if (likely(GetAt(index, pNode) == E_SUCCESS))
{
- return pChild;
+ return pNode;
}
return null;
return (GetCount() <= 0);
}
-/*
- void RemoveAllChildren(void)
+ void RemoveAllNodes(void)
{
- _TransactionNode* pChild = null;
+ _TransactionNode* pNode = null;
- int childrenCount = GetCount();
+ int nodeCount = GetCount();
- for (int index = 0; index < childrenCount; index++)
+ for (int index = 0; index < nodeCount; index++)
{
- if (likely(GetAt(index, pChild) == E_SUCCESS))
+ if (likely(GetAt(index, pNode) == E_SUCCESS))
{
- delete pChild;
+ delete pNode;
}
}
RemoveAll();
- }*/
+ }
};
CommittedListT __committedList;
-// Tizen::Base::Collection::ArrayListT<_TransactionNode*> __committedList;
IAnimationTransactionEventListener* __pDefaultTransactionEventListener;
const IVisualElementAnimationTimingFunction* __pDefaultTimingFunction;