Skip to content

Simplify adding new types #8

@jliersch

Description

@jliersch

Situation

Currently, when adding new types which may be present in the envire graph, readding objects of that type on reset of the simulation needs also to be implemented explicitly in the corresponding manager. If this is forgotten, this may lead to unexpected behavior.

Task

Find a solution to automate the inclusion of new types to the list of items to be readded on reset. This may be a central class for registration of item types to which this (and other) task will be delegated. This would also help centralizing the reset process improving readability.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions