blob: fdf200fe9ce1f516c183163a583e228794c3df42 [file] [log] [blame]
#pragma once
#include <functional>
#include <map>
#include <string>
#include <vector>
namespace phosphor::virtual_sensor
{
using Interface = std::string;
using CalculationFunc = std::function<double(std::vector<double>&)>;
extern std::map<Interface, CalculationFunc> calculationIfaces;
} // namespace phosphor::virtual_sensor