Change-Id: I9413137ccbddd4eb2b7c1cab1e5cd039bf875c77
Signed-off-by: sangho park <sangho.g.park@samsung.com>
*/
virtual std::string getEventType() const;
- /**
- * @brief Comparison operator for equal case.
- *
- * @since_tizen 3.0
- * @return true if event trigger is equal to other, false otherwise
- */
- virtual bool operator==(const EventTriggerPersonRecognition& other) const;
-
- /**
- * @brief Comparison operator for not equal case.
- *
- * @since_tizen 3.0
- * @return true if event trigger is not equal to other, false otherwise
- */
- virtual bool operator!=(const EventTriggerPersonRecognition& other) const;
-
/**
* @brief Sets event results.
*
return MV_SURVEILLANCE_EVENT_TYPE_PERSON_RECOGNIZED;
}
-bool EventTriggerPersonRecognition::operator==(const EventTriggerPersonRecognition& other) const
-{
- if (EventTrigger::operator !=(other))
- return false;
-
- /* TODO: compare private values if necessary */
-
- return true;
-}
-
-bool EventTriggerPersonRecognition::operator!=(const EventTriggerPersonRecognition& other) const
-{
- return !(*this == other);
-}
-
void EventTriggerPersonRecognition::setEventResults(
mv_rectangle_s faceLocation,
int faceLabel,