ark::fault::FaultEvaluator

Defined in header “ark/faults/fault_evaluator.hh”.


class that will evaluate some data to determine if the associated fault should be activated

Methods

  • FaultEvaluator(FaultConfig config, uint32_t identifier, uint32_t priority, std::string monitoring_channel)
    Constructor; takes in configuration.

  • ~FaultEvaluator()
    default destructor

  • FaultEvaluation evaluate(const FaultClock::time_point & time, const serialization::JsonBlob & data)
    Call to evaluate the data.

  • FaultState fault_state(const FaultClock::time_point & time)
    Retrieve state from fault.