OpenLexocad  27.1
entt::basic_collector<> Struct Template Reference

Collector. More...

#include <entt.hpp>

Static Public Member Functions

template<typename... AllOf, typename... NoneOf>
static constexpr auto group (exclude_t< NoneOf... >={}) ENTT_NOEXCEPT
 Adds a grouping matcher to the collector. More...
 
template<typename AnyOf >
static constexpr auto replace () ENTT_NOEXCEPT
 Adds an observing matcher to the collector. More...
 

Detailed Description

template<>
struct entt::basic_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.

Member Function Documentation

◆ group()

template<typename... AllOf, typename... NoneOf>
static constexpr auto entt::basic_collector<>::group ( exclude_t< NoneOf... >  = {})
inlinestatic

Adds a grouping matcher to the collector.

Template Parameters
AllOfTypes of components tracked by the matcher.
NoneOfTypes of components used to filter out entities.
Returns
The updated collector.

◆ replace()

template<typename AnyOf >
static constexpr auto entt::basic_collector<>::replace ( )
inlinestatic

Adds an observing matcher to the collector.

Template Parameters
AnyOfType of component for which changes should be detected.
Returns
The updated collector.

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