blob: 7e0babdf624067cc52013c91f2d282c250b44c31 [file] [log] [blame]
#pragma once
#include "types/duration_types.hpp"
#include "types/trigger_types.hpp"
#include <cstdint>
#include <string>
namespace interfaces
{
class TriggerAction
{
public:
virtual ~TriggerAction() = default;
virtual void commit(const std::string& triggerId,
const ThresholdName thresholdName,
const std::string& sensorId,
const Milliseconds timestamp,
const TriggerValue value) = 0;
};
} // namespace interfaces