Closed atperry2 closed 5 years ago
Is it best to have a single message type with a generic data field (which may require type conversions), or unique messages which each require their own handling class?
I'm in favor of unique messages, given the architecture we've chosen. By "handling class," I think you mean the autogenerated code, right? So it's just extra files, not really extra work on our part.
I was referring to the "handler" class I have defined in several of the source codes. A handler object is created and passed to ZCM to receive messages. I agree though that we should stick with unique types.
Finalize message types for: