Flecs: flecs::metrics Struct Reference
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
flecs::metrics Struct Reference
C++ API » Addons » Metrics

Metrics module. More...

`#include <decl.hpp>`

## Classes
struct | Instance
| Metric instance tag. More...
struct | Metric
| Metric tag. More...
struct | Counter
| Counter metric kind. More...
struct | CounterIncrement
| Counter increment metric kind. More...
struct | CounterId
| Counter ID metric kind. More...
struct | Gauge
| Gauge metric kind. More...

## Public Types
using | Value = EcsMetricValue
| Metric value component.
using | Source = EcsMetricSource
| Metric source component.

## Public Member Functions
| metrics (flecs::world &world)
| Construct the metrics module.

## Detailed Description

Metrics module.

Definition at line 22 of file decl.hpp.

## Member Typedef Documentation

## ◆ Source

using flecs::metrics::Source = EcsMetricSource

Metric source component.

Definition at line 26 of file decl.hpp.

## ◆ Value

using flecs::metrics::Value = EcsMetricValue

Metric value component.

Definition at line 24 of file decl.hpp.

## Constructor & Destructor Documentation

## ◆ metrics()

flecs::metrics::metrics | ( | flecs::world & | world | ) |
| inline

Construct the metrics module.

Definition at line 10 of file impl.hpp.

The documentation for this struct was generated from the following files:

- include/flecs/addons/cpp/mixins/metrics/decl.hpp
- include/flecs/addons/cpp/mixins/metrics/impl.hpp