Trigger Result

struct SmartCapture::Trigger::TriggerResult()

This struct is a summary of the output of a trigger evaluation. If the trigger fails, the error messages and return codes will be provided. Else, the result will be provided.

Member Fields

  • string trigger_id: string trigger id
  • bool result: bool result of the trigger evaluation, true or false
  • bool evaluated: bool whether the trigger evaluated
  • int return_code: int return code if applicable
  • time_t evaluation_time: time_t when the evaluation happened
  • vector<string> error_messages: vector of string error message if needed

Did this page help you?