This change is intended to allow and make it easier to implement part of the "Assembler Directives" (#33) proposal, which would allow defining resource types and assemblers in KDL itself.
This changes adjusts how kdk::assembler instances are created and handled. It no longer requires a subclass, and each assembler can be reused many times. A further bit of work might be to add a "pool" of named assemblers so they can be added to the pool after creation and then called upon when required.
This change is intended to allow and make it easier to implement part of the "Assembler Directives" (#33) proposal, which would allow defining resource types and assemblers in KDL itself.
This changes adjusts how
kdk::assembler
instances are created and handled. It no longer requires a subclass, and each assembler can be reused many times. A further bit of work might be to add a "pool" of named assemblers so they can be added to the pool after creation and then called upon when required.