plasmodic/ecto

general type registry system

ethanrublee opened this issue · 3 comments

I want to be able to have global type meta data for ecto.

customize the pretty printing of type values, type names, etc...

Boost serialization registry...

Converters (maybe a stretch)

We should also consolidate this, as we have several registries right now: registry for cells, modules, registry for boost serialization, registry for ROS message types (in the rework of ecto_ros)....

registry for name_of().... boost exceptions...

I think it should all pivot off of the name_of() registry, as this already takes care of shared library safety issues, and has the const char* as an efficient runtime ID.

Also, the goal of the registry should be fast runtime access. It could use tags at compile time, to ease registration.

the registry is now a map <string, struct> where the struct contains a few different things in it, should be able to move other stuff in there.