Ensure BaseHandle class move noexcept (core public-api)
[platform/core/uifw/dali-core.git] / dali / public-api / events / rotation-gesture.h
index eb49f4e..3b13b9b 100644 (file)
@@ -25,7 +25,6 @@
 
 namespace Dali
 {
-
 namespace Internal DALI_INTERNAL
 {
 class RotationGesture;
@@ -36,18 +35,17 @@ class RotationGesture;
  * in a rotational/circular gesture.
  *
  * This gesture can be in one of three states; when the rotation gesture is first detected, its
- * state is set to Gesture::Started.  After this, if there is change in the gesture, the state will
- * be Gesture::Continuing. Finally, when the gesture ends, the state of the gesture changes to
- * Gesture::Finished.
+ * state is set to GestureState::STARTED.  After this, if there is change in the gesture, the state will
+ * be GestureState::CONTINUING. Finally, when the gesture ends, the state of the gesture changes to
+ * GestureState::FINISHED.
  *
  * A rotation gesture will continue to be sent to the actor under the center point of the rotation
  * until the rotation ends.
  * @SINCE_1_9.28
  */
-class DALI_CORE_API RotationGesture: public Gesture
+class DALI_CORE_API RotationGesture : public Gesture
 {
 public:
-
   /**
    * @brief Creates an uninitialized RotationGesture handle.
    *
@@ -61,14 +59,14 @@ public:
    * @SINCE_1_9.28
    * @param[in] rhs A reference to the copied handle
    */
-  RotationGesture( const RotationGesture& rhs );
+  RotationGesture(const RotationGesture& rhs);
 
   /**
    * @brief Move constructor.
    * @SINCE_1_9.28
    * @param[in] rhs A reference to the moved handle
    */
-  RotationGesture( RotationGesture&& rhs );
+  RotationGesture(RotationGesture&& rhs) noexcept;
 
   /**
    * @brief Assignment operator.
@@ -76,7 +74,7 @@ public:
    * @param[in] rhs A reference to the copied handle
    * @return A reference to this
    */
-  RotationGesture& operator=( const RotationGesture& rhs );
+  RotationGesture& operator=(const RotationGesture& rhs);
 
   /**
    * @brief Move assignment operator.
@@ -84,7 +82,7 @@ public:
    * @param[in] rhs A reference to the moved handle
    * @return A reference to this
    */
-  RotationGesture& operator=( RotationGesture&& rhs );
+  RotationGesture& operator=(RotationGesture&& rhs) noexcept;
 
   /**
    * @brief Non virtual destructor.
@@ -114,7 +112,6 @@ public:
   const Vector2& GetLocalCenterPoint() const;
 
 public: // Not intended for application developers
-
   /// @cond internal
   /**
    * @brief This constructor is used internally to Create an initialized RotationGesture handle.
@@ -122,7 +119,7 @@ public: // Not intended for application developers
    * @param[in] rotationGesture A pointer to a newly allocated Dali resource
    * @SINCE_1_9.28
    */
-  explicit DALI_INTERNAL RotationGesture( Internal::RotationGesture* rotationGesture );
+  explicit DALI_INTERNAL RotationGesture(Internal::RotationGesture* rotationGesture);
   /// @endcond
 };