Flecs: include/flecs/addons/cpp/mixins/metrics/decl.hpp Source File
Description: A fast entity component system (ECS) for C & C++

| Flecs v4.1 A fast entity component system (ECS) for C & C++

Loading...
Searching...
No Matches
decl.hpp
Go to the documentation of this file.
1
5
6#pragma once
7
8#include "builder.hpp"
9
10namespace flecs {
11
20
22 struct metrics {
24 using Value = EcsMetricValue;
26 using Source = EcsMetricSource;
27
29 struct Instance { };
31 struct Metric { };
33 struct Counter { };
35 struct CounterIncrement { };
37 struct CounterId { };
39 struct Gauge { };
40
42 metrics(flecs::world& world);
43};
44
46
47}
builder.hpp
Metric builder.
EcsMetricSource
Component that stores metric source.
Definition metrics.h:71
EcsMetricValue
Component that stores metric value.
Definition metrics.h:66
flecs::metrics::CounterId
Counter ID metric kind.
Definition decl.hpp:37
flecs::metrics::CounterIncrement
Counter increment metric kind.
Definition decl.hpp:35
flecs::metrics::Counter
Counter metric kind.
Definition decl.hpp:33
flecs::metrics::Gauge
Gauge metric kind.
Definition decl.hpp:39
flecs::metrics::Instance
Metric instance tag.
Definition decl.hpp:29
flecs::metrics::Metric
Metric tag.
Definition decl.hpp:31
flecs::metrics::metrics
metrics(flecs::world &world)
Construct the metrics module.
Definition impl.hpp:10
flecs::metrics::Value
EcsMetricValue Value
Metric value component.
Definition decl.hpp:24
flecs::metrics::Source
EcsMetricSource Source
Metric source component.
Definition decl.hpp:26
flecs::world
The world.
Definition world.hpp:246