#pragma once #include "interfaces/trigger_factory.hpp" #include class TriggerFactory : public interfaces::TriggerFactory { public: TriggerFactory(std::shared_ptr bus, std::shared_ptr objServer); std::unique_ptr make( const std::string& name, bool isDiscrete, bool logToJournal, bool logToRedfish, bool updateReport, const std::vector< std::pair>& sensors, const std::vector& reportNames, const TriggerThresholdParams& thresholdParams, interfaces::TriggerManager& triggerManager) const override; private: std::shared_ptr bus; std::shared_ptr objServer; };