Struct observer_builder

Synopsis

#include <include/flecs/addons/cpp/mixins/observer/builder.hpp>

template <typename ... Components>
struct observer_builder final : _::observer_builder_base<Components...>

Description

No description yet.

Inheritance

Ancestors: node_builder

Methods

observer_builder

Source

Lines 14-21 in include/flecs/addons/cpp/mixins/observer/builder.hpp.

template <typename ... Components>
struct observer_builder final : _::observer_builder_base<Components...> {
    observer_builder(flecs::world_t* world, const char *name = nullptr)
        : _::observer_builder_base<Components...>(world, name)
    {
        _::sig<Components...>(world).populate(this);
    }
};