blob: fdf200fe9ce1f516c183163a583e228794c3df42 [file] [log] [blame]
George Liu7f41a0d2024-08-28 16:49:06 +08001#pragma once
2
3#include <functional>
4#include <map>
5#include <string>
6#include <vector>
7
8namespace phosphor::virtual_sensor
9{
10
11using Interface = std::string;
12using CalculationFunc = std::function<double(std::vector<double>&)>;
13extern std::map<Interface, CalculationFunc> calculationIfaces;
14
15} // namespace phosphor::virtual_sensor