machines-in-motion / shared_memory

realtime interprocess communication
BSD 3-Clause "New" or "Revised" License
5 stars 1 forks source link

added get_serialized function to array #25

Closed vincentberenz closed 3 years ago

vincentberenz commented 3 years ago

Description

added shared_memory array a get_serialized function, which returns the serialized string (in contrast with the get function which returns the deserialized instance). If the array is templated over a fundamental type, or an array of fundamental type, then a serialized version of the stored items does not exists, and the function throw a logic_error exception.

How I Tested

added unit test

I fulfilled the following requirements

MaximilienNaveau commented 3 years ago

Sounds good