we are developing an application and we would like to interchange information
(in realtime) using dataports.
It's just a buffer, with a maximum size of 1500 bytes, but we don't known the
size when we create the component. We known it in the configure step.
So, I would like to ask what would be a good approach?
- create an structure of the maximum size and send it through the port?
- create a buffer (I'm not sure if std:vector fits our needs...), and allocate
it in the configure step?
The communications will be done in the same box, but between two components.
Thanks in advance,