struct EE::ObservableVector::State

struct State {
    // structs

    struct Observer;

    // fields

    std::vector<T> values;
    SmallVector<Observer, 4> observers;
    Uint64 notificationGeneration { 0 };
    Uint64 activeGeneration { 0 };
    Uint32 nextId { 0 };
    Uint32 notificationDepth { 0 };

    // methods

    void notify(const Change& change);
    void remove(Uint32 id);
};