*/
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 EventTriggerPersonAppearance& 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 EventTriggerPersonAppearance& other) const;
-
private:
static void movementDetectedCB(
mv_surveillance_event_trigger_h event_trigger,
return MV_SURVEILLANCE_EVENT_TYPE_PERSON_APPEARED_DISAPPEARED;
}
-bool EventTriggerPersonAppearance::operator==(
- const EventTriggerPersonAppearance& other) const
-{
- if (EventTrigger::operator !=(other))
- return false;
-
- /* TODO: compare private values if necessary */
-
- return true;
-}
-
-bool EventTriggerPersonAppearance::operator!=(
- const EventTriggerPersonAppearance& other) const
-{
- return !(*this == other);
-}
-
void EventTriggerPersonAppearance::movementDetectedCB(
mv_surveillance_event_trigger_h /*event_trigger*/, mv_source_h source,
int /*video_stream_id*/, mv_surveillance_result_h event_result,