![]() |
Project
|
#include <ResourcePolicy.h>
Public Types | |
using | Matcher = std::function< bool(DeviceSpec const &device)> |
Static Public Member Functions | |
static std::vector< ResourcePolicy > | createDefaultPolicies () |
Public Attributes | |
std::string | name |
Matcher | matcher |
ComputingQuotaRequest | request |
A policy which specify how a device matched by matcher should react to a given offer by specifying a given request.
Definition at line 26 of file ResourcePolicy.h.
using o2::framework::ResourcePolicy::Matcher = std::function<bool(DeviceSpec const& device)> |
Definition at line 27 of file ResourcePolicy.h.
|
static |
Definition at line 19 of file ResourcePolicy.cxx.
Matcher o2::framework::ResourcePolicy::matcher |
Definition at line 32 of file ResourcePolicy.h.
std::string o2::framework::ResourcePolicy::name |
Definition at line 31 of file ResourcePolicy.h.
ComputingQuotaRequest o2::framework::ResourcePolicy::request |
Definition at line 33 of file ResourcePolicy.h.