Implemented the Handle assignment operators properly
[platform/core/uifw/dali-core.git] / dali / public-api / actors / camera-actor.h
index dbb6d8c..a73dc45 100644 (file)
@@ -130,9 +130,28 @@ public:
   ~CameraActor();
 
   /**
-   * @copydoc Dali::BaseHandle::operator=
+   * @brief Copy constructor
+   *
+   * @param [in] copy The actor to copy.
+   */
+  CameraActor(const CameraActor& copy);
+
+  /**
+   * @brief Assignment operator
+   *
+   * @param [in] rhs The actor to copy.
+   */
+  CameraActor& operator=(const CameraActor& rhs);
+
+  /**
+   * @brief This method is defined to allow assignment of the NULL value,
+   * and will throw an exception if passed any other value.
+   *
+   * Assigning to NULL is an alias for Reset().
+   * @param [in] rhs  A NULL pointer
+   * @return A reference to this handle
    */
-  using BaseHandle::operator=;
+  CameraActor& operator=(BaseHandle::NullType* rhs);
 
   /**
    * @brief Set the camera type.