Trigger
class SmartCapture::Trigger::Trigger()Private Member Fields
int sample_rate: milliseconds for the minimum time since last evaluationvector<shared_ptr<TriggerField>> required_fields: vector of pointers to TriggerFields, with all the fields the trigger usesstring trigger_id: string trigger_idtime_t last_evaluated: last time at which the trigger was evaluatedrapidjson::Document query_JSON: RapidJSON Document object with a parsed JSON tree.
Member Methods
int get_sample_rate() const noexcept;
const vector<TriggerField> & get_required_fields() const noexcept;
bool is_field_required(const string & field_name) const noexcept;
const FieldType & get_field_type(const string & field_name) const noexcept;
const string & get_trigger_id() const noexcept;
const time_t & get_last_evaluated() const noexcept;
Updated 10 months ago
Did this page help you?