*/
virtual std::vector<std::shared_ptr<UiObject>> findObjects(
const std::shared_ptr<UiSelector> selector) const = 0;
+
+ /**
+ * @brief Get the Matches object that satisfied with the selector condition in the object tree.
+ * This method is similar to findObjects, but getMatches is more faster than findObjects.
+ * A single dbus method call occurs internally and retrieves a list of objects
+ * that satisfy the selector specified in uifw.
+ *
+ * @param[in] selector @UiSelector
+ * @param[in] earlyReturn boolean Returns immediately when a matched object is found
+ *
+ * @return the list of found UiObject pointer vector
+ *
+ * @since_tizen 8.0
+ */
+ virtual std::vector<std::shared_ptr<UiObject>> getMatches(
+ const std::shared_ptr<UiSelector> selector, const bool earlyReturn) const = 0;
+
+ /**
+ * @brief Get the object that satisfied with both condition in the object tree.
+ * Additional object detection is performed using the second selector for the object
+ * found in the first selector.
+ *
+ * @param[in] firstSelector @UiSelector
+ * @param[in] secondSelector @UiSelector
+ * @param[in] earlyReturn boolean Returns immediately when a matched object is found
+ *
+ * @return the list of found UiObject pointer vector
+ *
+ * @since_tizen 8.0
+ */
+ virtual std::vector<std::shared_ptr<UiObject>> getMatchesInMatches(
+ const std::shared_ptr<UiSelector> firstSelector, const std::shared_ptr<UiSelector> secondSelector, const bool earlyReturn) const = 0;
};
}
const std::shared_ptr<UiSelector> selector) const override;
/**
- * @brief Get the Matches object that satisfied with the selector condition in the object tree.
- * This method is similar to findObjects, but getMatches is more faster than findObjects.
- *
- * @param[in] selector @UiSelector
- * @param[in] earlyReturn boolean
- *
- * @return the list of found UiObject pointer vector
- *
- * @since_tizen 8.0
+ * @copydoc ISearchable::getMatches()
*/
std::vector<std::shared_ptr<UiObject>> getMatches(
- const std::shared_ptr<UiSelector> selector, const bool earlyReturn) const;
+ const std::shared_ptr<UiSelector> selector, const bool earlyReturn) const override;
/**
- * @brief Get the object that satisfied with both condition in the object tree.
- *
- * @param[in] firstSelector @UiSelector
- * @param[in] secondSelector @UiSelector
- * @param[in] earlyReturn boolean
- *
- * @return the list of found UiObject pointer vector
- *
- * @since_tizen 8.0
+ * @copydoc ISearchable::getMatchesInMatches()
*/
std::vector<std::shared_ptr<UiObject>> getMatchesInMatches(
- const std::shared_ptr<UiSelector> firstSelector, const std::shared_ptr<UiSelector> secondSelector, const bool earlyReturn) const;
+ const std::shared_ptr<UiSelector> firstSelector, const std::shared_ptr<UiSelector> secondSelector, const bool earlyReturn) const override;
/**
* TODO
#include "Accessible.h"
#include "ISearchable.h"
#include "IObject.h"
+
#include "UiSelector.h"
#include "Waiter.h"
const std::shared_ptr<UiSelector> selector) const override;
/**
- * @brief Get the Matches object that satisfied with the selector condition in the object tree.
- * This method is similar to findObjects, but getMatches is more faster than findObjects.
- *
- * @param[in] selector @UiSelector
- * @param[in] earlyReturn boolean
- *
- * @return the list of found UiObject pointer vector
- *
- * @since_tizen 8.0
+ * @copydoc ISearchable::getMatches()
*/
std::vector<std::shared_ptr<UiObject>> getMatches(
- const std::shared_ptr<UiSelector> selector, const bool earlyReturn) const;
+ const std::shared_ptr<UiSelector> selector, const bool earlyReturn) const override;
/**
- * @brief Get the object that satisfied with both condition in the object tree.
- *
- * @param[in] firstSelector @UiSelector
- * @param[in] secondSelector @UiSelector
- * @param[in] earlyReturn boolean
- *
- * @return the list of found UiObject pointer vector
- *
- * @since_tizen 8.0
+ * @copydoc ISearchable::getMatchesInMatches()
*/
std::vector<std::shared_ptr<UiObject>> getMatchesInMatches(
- const std::shared_ptr<UiSelector> firstSelector, const std::shared_ptr<UiSelector> secondSelector, const bool earlyReturn) const;
+ const std::shared_ptr<UiSelector> firstSelector, const std::shared_ptr<UiSelector> secondSelector, const bool earlyReturn) const override;
/**
* TODO