-#ifndef __DALI_INTERNAL_ANIMATOR_CONNECTOR_BASE_H__
-#define __DALI_INTERNAL_ANIMATOR_CONNECTOR_BASE_H__
+#ifndef DALI_INTERNAL_ANIMATOR_CONNECTOR_BASE_H
+#define DALI_INTERNAL_ANIMATOR_CONNECTOR_BASE_H
/*
- * Copyright (c) 2018 Samsung Electronics Co., Ltd.
+ * Copyright (c) 2019 Samsung Electronics Co., Ltd.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
*/
void CreateAnimator()
{
- DALI_ASSERT_DEBUG( mAnimator == NULL );
- DALI_ASSERT_DEBUG( mAnimatorFunction != NULL );
- DALI_ASSERT_DEBUG( mParent != NULL );
+ DALI_ASSERT_DEBUG( mAnimator == nullptr );
+ DALI_ASSERT_DEBUG( mAnimatorFunction != nullptr );
+ DALI_ASSERT_DEBUG( mParent != nullptr );
//Get the PropertyOwner the animator is going to animate
const SceneGraph::PropertyOwner& propertyOwner = mObject->GetSceneObject();
// call the type specific method to create the concrete animator
bool resetterRequired = DoCreateAnimator( propertyOwner, *baseProperty );
- DALI_ASSERT_DEBUG( mAnimator != NULL );
+ DALI_ASSERT_DEBUG( mAnimator != nullptr );
// Add the new SceneGraph::Animator to its correspondent SceneGraph::Animation via message
const SceneGraph::Animation* animation = mParent->GetSceneObject();
- DALI_ASSERT_DEBUG( NULL != animation );
+ DALI_ASSERT_DEBUG( nullptr != animation );
AddAnimatorMessage( mParent->GetEventThreadServices(), *animation, *mAnimator );
// Add the new SceneGraph::PropertyResetter to the update manager via message
*/
void SetParent( Animation& parent )
{
- DALI_ASSERT_ALWAYS( mParent == NULL && "AnimationConnector already has a parent" );
+ DALI_ASSERT_ALWAYS( mParent == nullptr && "AnimationConnector already has a parent" );
mParent = &parent;
if( mObject )
/**
* Retrieve the parent of the AnimatorConnector.
- * @return The parent object, or NULL.
+ * @return The parent object, or nullptr.
*/
Animation* GetParent() const
{
} // namespace Dali
-#endif // __DALI_INTERNAL_ANIMATOR_CONNECTOR_BASE_H__
+#endif // DALI_INTERNAL_ANIMATOR_CONNECTOR_BASE_H