1 #pragma once 2 3 #include <cstdint> 4 #include <string> 5 6 namespace interfaces 7 { 8 9 class TriggerAction 10 { 11 public: 12 virtual ~TriggerAction() = default; 13 14 virtual void commit(const std::string& id, uint64_t timestamp, 15 double value) = 0; 16 }; 17 } // namespace interfaces 18