Change-Id: Ib7f156d0f4a27fc1c7fc331903d0993c518b9345
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 EventTriggerMovementDetection& 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 EventTriggerMovementDetection& other) const;
-
private:
static const cv::Mat __ERODE_KERNEL;
return MV_SURVEILLANCE_EVENT_TYPE_MOVEMENT_DETECTED;
}
-bool EventTriggerMovementDetection::operator==(const EventTriggerMovementDetection& other) const
-{
- if (EventTrigger::operator !=(other))
- return false;
-
- /* TODO: compare private values if necessary */
-
- return true;
-}
-
-bool EventTriggerMovementDetection::operator!=(const EventTriggerMovementDetection& other) const
-{
- return !(*this == other);
-}
-
} /* surveillance */
} /* mediavision */