#include <FilePolicy.hpp>
◆ FilePolicy() [1/3]
geopm::FilePolicy::FilePolicy |
( |
| ) |
|
|
delete |
◆ FilePolicy() [2/3]
geopm::FilePolicy::FilePolicy |
( |
const FilePolicy & |
other | ) |
|
|
delete |
◆ FilePolicy() [3/3]
geopm::FilePolicy::FilePolicy |
( |
const std::string & |
policy_path, |
|
|
const std::vector< std::string > & |
policy_names |
|
) |
| |
◆ ~FilePolicy()
virtual geopm::FilePolicy::~FilePolicy |
( |
| ) |
|
|
virtualdefault |
◆ get_policy()
std::vector< double > geopm::FilePolicy::get_policy |
( |
void |
| ) |
|
Read policy values from a JSON file.
- Parameters
-
[in] | policy_path | Location of the policy JSON file. |
[in] | policy_names | Expected policy field names as determined by the Agent. |
- Returns
- The policy values read.
◆ operator=()
The documentation for this class was generated from the following files: