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
22struct metrics {
27
29 struct Instance { };
31 struct Metric { };
33 struct Counter { };
35 struct CounterIncrement { };
37 struct CounterId { };
39 struct Gauge { };
40
43};
44
46
47}
Metric builder.
Component that stores metric source.
Definition metrics.h:71
Component that stores metric value.
Definition metrics.h:66
Counter ID metric kind.
Definition decl.hpp:37
Counter increment metric kind.
Definition decl.hpp:35
Counter metric kind.
Definition decl.hpp:33
Gauge metric kind.
Definition decl.hpp:39
Metric instance tag.
Definition decl.hpp:29
Metric tag.
Definition decl.hpp:31
metrics(flecs::world &world)
Construct the metrics module.
Definition impl.hpp:10
EcsMetricValue Value
Metric value component.
Definition decl.hpp:24
EcsMetricSource Source
Metric source component.
Definition decl.hpp:26
The world.
Definition world.hpp:246