Storagemanager Refactoring #66

Merged
gaisser merged 10 commits from KSat/fsfw:mueller_localPoolNeat into master 2020-06-04 14:30:16 +02:00
Owner

fixes #63. part of #65. related to #12

StorageManagerIF: size_t replacement.

Bugfix for #63

Also introduces a trick to separate template class implementation from interface by exporting the implementation into .tpp files.

fixes #63. part of #65. related to #12 StorageManagerIF: size_t replacement. <br> Bugfix for #63 <br> Also introduces a trick to separate template class implementation from interface by exporting the implementation into .tpp files.
muellerr changed title from mueller_localPoolNeat to Storagemanager Refactoring 2020-05-04 17:16:08 +02:00
muellerr reviewed 2020-05-04 17:18:07 +02:00
@ -0,0 +104,4 @@
size_list[address->pool_index][address->packet_index] = size;
} else {
if (!ignoreFault and internalErrorReporter != nullptr) {
Author
Owner

Bugfix here: nullptr check was missing previously.

Bugfix here: nullptr check was missing previously.
muellerr added the
feature
API Change
bug
labels 2020-05-04 17:19:59 +02:00
Owner

This does not fix #65. It includes parts of the idea of separating a template in *.tpp files but only for local pools not all templates.

The bugfix is already merged in part of #64. I will mark #64 as duplicate.

This does not fix #65. It includes parts of the idea of separating a template in *.tpp files but only for local pools not all templates. The bugfix is already merged in part of #64. I will mark #64 as duplicate.
Owner

As far as I can see, this pull requests changes all occurrences of pool calls with size_t ?

As far as I can see, this pull requests changes all occurrences of pool calls with size_t ?
Author
Owner

Yes, all size parameters which were previous uint32_t were replaced by size_t. I also changed all calls using it. new unit tests verify that everything is still working as expected and we don't have signed sizes or overrun checking like SerializeIF has, so there should not be any issues.

Yes, all size parameters which were previous uint32_t were replaced by size_t. I also changed all calls using it. new unit tests verify that everything is still working as expected and we don't have signed sizes or overrun checking like SerializeIF has, so there should not be any issues.
Author
Owner

Merged upstream master, made sif replacements and improved include guards

Merged upstream master, made sif replacements and improved include guards
gaisser self-assigned this 2020-06-04 14:28:39 +02:00
gaisser closed this pull request 2020-06-04 14:30:16 +02:00
Sign in to join this conversation.
No description provided.