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
21 struct metrics {
22 using Value = EcsMetricValue;
23 using Source = EcsMetricSource;
24
25 struct Instance { };
26 struct Metric { };
27 struct Counter { };
28 struct CounterIncrement { };
29 struct CounterId { };
30 struct Gauge { };
31
32 metrics(flecs::world& world);
33};
34
36
37}
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
Definition decl.hpp:29
flecs::metrics::CounterIncrement
Definition decl.hpp:28
flecs::metrics::Counter
Definition decl.hpp:27
flecs::metrics::Gauge
Definition decl.hpp:30
flecs::metrics::Instance
Definition decl.hpp:25
flecs::metrics::Metric
Definition decl.hpp:26
flecs::world
The world.
Definition world.hpp:158