|
EnTT 3.14.0
|
Collector. More...
#include <observer.hpp>
Static Public Member Functions | |
| template<typename... AllOf, typename... NoneOf> | |
| static constexpr auto | group (exclude_t< NoneOf... >=exclude_t{}) noexcept |
| Adds a grouping matcher to the collector. | |
| template<typename AnyOf > | |
| static constexpr auto | update () noexcept |
| Adds an observing matcher to the collector. | |
Collector.
A collector contains a set of rules (literally, matchers) to use to track entities.
Its main purpose is to generate a descriptor that allows an observer to know how to connect to a registry.
Definition at line 37 of file observer.hpp.
|
inlinestaticconstexprnoexcept |
Adds a grouping matcher to the collector.
| AllOf | Types of elements tracked by the matcher. |
| NoneOf | Types of elements used to filter out entities. |
Definition at line 45 of file observer.hpp.
|
inlinestaticconstexprnoexcept |
Adds an observing matcher to the collector.
| AnyOf | Type of element for which changes should be detected. |
Definition at line 55 of file observer.hpp.