UMPIRE
Umpire: resource management and provision
umpire::event Namespace Reference

Classes

struct  event
 
struct  allocate
 
struct  named_allocate
 
struct  allocate_resource
 
struct  deallocate
 
struct  deallocate_resource
 
class  builder
 
class  builder< allocate >
 
class  builder< named_allocate >
 
class  builder< allocate_resource >
 
class  builder< deallocate >
 
class  builder< deallocate_resource >
 
class  event_store
 
class  event_store_recorder
 
class  json_file_store
 
class  quest_database
 
class  recorder_chain
 
class  recorder_factory
 

Typedefs

using store_type = event_store_recorder
 

Enumerations

enum class  category { operation , statistic , metadata }
 

Functions

template<typename Lambda >
void record (Lambda &&l)
 
template<typename B , typename Lambda >
void record (Lambda &&l)
 
 NLOHMANN_JSON_SERIALIZE_ENUM (category, { {category::operation, "operation"}, {category::statistic, "statistic"}, {category::metadata, "metadata"}, }) inline void to_json(nlohmann
 
void from_json (const nlohmann::json &j, event &e)
 

Typedef Documentation

◆ store_type

Enumeration Type Documentation

◆ category

Enumerator
operation 
statistic 
metadata 

Function Documentation

◆ record() [1/2]

◆ record() [2/2]

template<typename B , typename Lambda >
void umpire::event::record ( Lambda &&  l)

◆ NLOHMANN_JSON_SERIALIZE_ENUM()

umpire::event::NLOHMANN_JSON_SERIALIZE_ENUM ( category  ,
{ {category::operation, "operation"}, {category::statistic, "statistic"}, {category::metadata, "metadata"}, }   
)

References metadata, operation, and statistic.

◆ from_json()

void umpire::event::from_json ( const nlohmann::json &  j,
event e 
)
inline