X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=dali%2Fpublic-api%2Fevents%2Fgesture-detector.h;h=5db82fb3dbde10185e3e2d90fb264311327ac055;hb=1e196c6efe3a7a10c7198bb729027658fbdd5b16;hp=99dac23b4e8783709caa6c581615b86b92ec0cf7;hpb=4468cbf6d9b84a613616f25970c64d843ce91d34;p=platform%2Fcore%2Fuifw%2Fdali-core.git diff --git a/dali/public-api/events/gesture-detector.h b/dali/public-api/events/gesture-detector.h index 99dac23..5db82fb 100644 --- a/dali/public-api/events/gesture-detector.h +++ b/dali/public-api/events/gesture-detector.h @@ -45,6 +45,7 @@ class Actor; * This is the base class for different gesture detectors available and provides functionality that is common * to all the gesture detectors. * + * @SINCE_1_0.0 * @see Gesture */ class DALI_IMPORT_API GestureDetector : public Handle @@ -52,19 +53,23 @@ class DALI_IMPORT_API GestureDetector : public Handle public: // Creation & Destruction /** - * @brief Create an uninitialized GestureDetector; this can be initialized with one of the derived gestures' New() methods. + * @brief Create an uninitialized GestureDetector. * - * Calling member functions with an uninitialized Dali::Object is not allowed. + * This can be initialized with one of the derived gesture detectors' New() methods. For example, PanGestureDetector::New(). + * + * Calling member functions with an uninitialized Dali::GestureDetector handle is not allowed. + * @SINCE_1_0.0 */ GestureDetector(); /** - * @brief Downcast an Object handle to GestureDetector handle. + * @brief Downcast a handle to GestureDetector handle. * * If handle points to a GestureDetector object the * downcast produces valid handle. If not the returned handle is left uninitialized. - * @param[in] handle to An object - * @return handle to a GestureDetector object or an uninitialized handle + * @SINCE_1_0.0 + * @param[in] handle Handle to an object + * @return Handle to a GestureDetector object or an uninitialized handle */ static GestureDetector DownCast( BaseHandle handle ); @@ -72,12 +77,14 @@ public: // Creation & Destruction * @brief Dali::GestureDetector is intended as a base class * * This is non-virtual since derived Handle types must not contain data or virtual methods. + * @SINCE_1_0.0 */ ~GestureDetector(); /** * @brief This copy constructor is required for (smart) pointer semantics. * + * @SINCE_1_0.0 * @param [in] handle A reference to the copied handle */ GestureDetector(const GestureDetector& handle); @@ -85,6 +92,7 @@ public: // Creation & Destruction /** * @brief This assignment operator is required for (smart) pointer semantics. * + * @SINCE_1_0.0 * @param [in] rhs A reference to the copied handle * @return A reference to this */ @@ -97,15 +105,17 @@ public: // Actor related * * The detected signal will be dispatched when the gesture occurs on * the attached actor. - * @note You can attach several actors to a gesture detector. + * @SINCE_1_0.0 * @param[in] actor The actor to attach to the gesture detector * @pre The gesture detector has been initialized. + * @note You can attach several actors to a gesture detector. */ void Attach(Actor actor); /** * @brief Detaches the attached actor from the gesture detector. * + * @SINCE_1_0.0 * @param[in] actor The actor to detach from the gesture detector. * @pre The gesture detector has been initialized. * @pre The specified actor has been attached to the gesture detector. @@ -115,6 +125,7 @@ public: // Actor related /** * @brief Detaches all the actors that have been attached to the gesture detector. * + * @SINCE_1_0.0 * @pre The gesture detector has been initialized. * @pre At least one actor has been attached to the gesture detector. */ @@ -123,6 +134,7 @@ public: // Actor related /** * @brief Returns the number of actors attached to the gesture detector. * + * @SINCE_1_0.0 * @return The count * @pre The gesture detector has been initialized. */ @@ -131,6 +143,7 @@ public: // Actor related /** * @brief Returns an actor by index. An empty handle if the index is not valid. * + * @SINCE_1_0.0 * @return The attached actor or an empty handle. * @pre The gesture detector has been initialized. */ @@ -139,8 +152,10 @@ public: // Actor related protected: /** - * @brief This constructor is used by Dali New() methods of derived classes. + * @internal + * @brief This constructor is used by New() methods of derived classes (For example, PanGestureDetector::New()). * + * @SINCE_1_0.0 * @param [in] internal A pointer to a newly allocated Dali resource. */ explicit DALI_INTERNAL GestureDetector(Internal::GestureDetector* internal);