Refactor Local Pool API #667

Merged
mohr merged 4 commits from mueller/refactor-local-pool-api into development 2022-09-12 14:32:09 +02:00
Owner

Builds on top #655 .

Improve the core API of ProvidesDataPoolSubscriptionIF by adding functions which take one wrapper struct. This also makes it more flexible. The old API format was kept to ensure that existing code does not break for this PR but is marked as [[deprecated]]

Migration

Calls like this:

poolManager.subscribeForPeriodicPacket(internalErrorSid, false,
      static_cast<float>(getPeriodicOperationFrequency()) / static_cast<float>(1000.0), true);

look like this now

  poolManager.subscribeForDiagPeriodicPacket({internalErrorSid, false,
      static_cast<float>(getPeriodicOperationFrequency()) / static_cast<float>(1000.0)});
Builds on top https://egit.irs.uni-stuttgart.de/fsfw/fsfw/pulls/655 . Improve the core API of `ProvidesDataPoolSubscriptionIF` by adding functions which take one wrapper struct. This also makes it more flexible. The old API format was kept to ensure that existing code does not break for this PR but is marked as `[[deprecated]]` ## Migration Calls like this: ```cpp poolManager.subscribeForPeriodicPacket(internalErrorSid, false, static_cast<float>(getPeriodicOperationFrequency()) / static_cast<float>(1000.0), true); ``` look like this now ```cpp poolManager.subscribeForDiagPeriodicPacket({internalErrorSid, false, static_cast<float>(getPeriodicOperationFrequency()) / static_cast<float>(1000.0)}); ```
muellerr added 131 commits 2022-08-30 11:04:23 +02:00
add space packet creator class
Some checks failed
fsfw/fsfw/pipeline/head There was a failure building this commit
d7a2eada94
additional ctor for space packet creator
All checks were successful
fsfw/fsfw/pipeline/head This commit looks good
0c5f623780
added basic sp creator test
All checks were successful
fsfw/fsfw/pipeline/head This commit looks good
3c72a42ce1
hmm this is problematic
Some checks failed
fsfw/fsfw/pipeline/head There was a failure building this commit
7e2fdc06cd
update changelog
Some checks failed
fsfw/fsfw/pipeline/head There was a failure building this commit
e4d7182d93
Merge remote-tracking branch 'origin/development' into mueller/refactor-tmtc-stack
Some checks failed
fsfw/fsfw/pipeline/head There was a failure building this commit
490a80e49f
apply auto-formatter
All checks were successful
fsfw/fsfw/pipeline/head This commit looks good
ddf38b65c3
finished creator unittests
All checks were successful
fsfw/fsfw/pipeline/head This commit looks good
3d2af203f2
start PUS TC refactoring
Some checks failed
fsfw/fsfw/pipeline/head There was a failure building this commit
5fffbd4a90
a lot of refactoring
Some checks failed
fsfw/fsfw/pipeline/head There was a failure building this commit
6c636661b6
start refactoring PUS TM handling
Some checks failed
fsfw/fsfw/pipeline/head There was a failure building this commit
d80941514f
create new TmSendHelper
Some checks failed
fsfw/fsfw/pipeline/head There was a failure building this commit
9860061fc6
switched to new tmtc stack API
Some checks failed
fsfw/fsfw/pipeline/head There was a failure building this commit
be35bd53a6
various bugfixes and improvements
Some checks failed
fsfw/fsfw/pipeline/head There was a failure building this commit
d8b6cb39ac
some fixes
Some checks failed
fsfw/fsfw/pipeline/head There was a failure building this commit
fsfw/fsfw/pipeline/pr-development There was a failure building this commit
e5ee96259d
delete a few old classes
Some checks failed
fsfw/fsfw/pipeline/pr-development There was a failure building this commit
23f264096c
added sp reader unittests
Some checks failed
fsfw/fsfw/pipeline/pr-development There was a failure building this commit
08e0b0f1a0
fnished PUS TC creator unittests
Some checks failed
fsfw/fsfw/pipeline/pr-development There was a failure building this commit
5af3138e81
delete code which is not used anymore
Some checks failed
fsfw/fsfw/pipeline/pr-development There was a failure building this commit
61bc867bed
minor changes, virtual dtors added
Some checks failed
fsfw/fsfw/pipeline/pr-development There was a failure building this commit
0981ee6f7e
rename namespace
All checks were successful
fsfw/fsfw/pipeline/pr-development This commit looks good
affde6bad5
finished basic TC unittests
All checks were successful
fsfw/fsfw/pipeline/pr-development This commit looks good
0dfaba81f9
add empty test files
All checks were successful
fsfw/fsfw/pipeline/pr-development This commit looks good
bfee4fd90a
verify successfull TM serialization
All checks were successful
fsfw/fsfw/pipeline/pr-development This commit looks good
67776241de
added some missing implementations
All checks were successful
fsfw/fsfw/pipeline/pr-development This commit looks good
9275ccb79b
APID getter bugfix
All checks were successful
fsfw/fsfw/pipeline/pr-development This commit looks good
f28b9ea61b
PUS TM creator tests done
All checks were successful
fsfw/fsfw/pipeline/pr-development This commit looks good
cecaec6007
start TM reader unittests
All checks were successful
fsfw/fsfw/pipeline/pr-development This commit looks good
2dfbce6174
completed basic test set
All checks were successful
fsfw/fsfw/pipeline/pr-development This commit looks good
b350018cad
completed baseline PUS TM unittests
All checks were successful
fsfw/fsfw/pipeline/pr-development This commit looks good
cb05329dd9
add basic CCSDS tests
All checks were successful
fsfw/fsfw/pipeline/pr-development This commit looks good
133894f4ba
some renaming
All checks were successful
fsfw/fsfw/pipeline/pr-development This commit looks good
f0c8fd2688
replace c include
All checks were successful
fsfw/fsfw/pipeline/pr-development This commit looks good
4921527022
added base for tm store test
All checks were successful
fsfw/fsfw/pipeline/pr-development This commit looks good
63ee88af17
replace some API components with references
All checks were successful
fsfw/fsfw/pipeline/pr-development This commit looks good
832367fb30
fixes for Linux OSAL clock
All checks were successful
fsfw/fsfw/pipeline/pr-development This commit looks good
4989bd0f02
using uint32_t as store_address requires explicit cast
All checks were successful
fsfw/fsfw/pipeline/pr-development This commit looks good
899d021e00
some more ref replacements
All checks were successful
fsfw/fsfw/pipeline/pr-development This commit looks good
973d4ee8a5
more ref replacements
All checks were successful
fsfw/fsfw/pipeline/pr-development This commit looks good
e2ad37e3e6
Merge branch 'mueller/expand-serialize-if' into mueller/refactor-tmtc-stack
All checks were successful
fsfw/fsfw/pipeline/pr-development This commit looks good
ca1e921b94
finished tm store helper tests
All checks were successful
fsfw/fsfw/pipeline/pr-development This commit looks good
36e3956efb
set up new internal error reporter mock
Some checks failed
fsfw/fsfw/pipeline/pr-development There was a failure building this commit
1a7d7b172b
Merge remote-tracking branch 'origin/development' into mueller/refactor-tmtc-stack
Some checks failed
fsfw/fsfw/pipeline/pr-development There was a failure building this commit
5fd5d488ff
cleaning up message queue mock and subscription API
Some checks failed
fsfw/fsfw/pipeline/pr-development There was a failure building this commit
6d0fa36f8a
normal queue sufficient
Some checks failed
fsfw/fsfw/pipeline/pr-development There was a failure building this commit
935e135f1c
all tests running again
Some checks failed
fsfw/fsfw/pipeline/pr-development There was a failure building this commit
a88f767cca
completed send helper tests
Some checks failed
fsfw/fsfw/pipeline/pr-development There was a failure building this commit
586993c081
some more tests using TM send helper
Some checks failed
fsfw/fsfw/pipeline/pr-development There was a failure building this commit
c83f75c515
add old api but mark it deprecated
Some checks failed
fsfw/fsfw/pipeline/pr-development There was a failure building this commit
7d87274844
fix memory leak
Some checks failed
fsfw/fsfw/pipeline/pr-development There was a failure building this commit
6d00fc65c0
this should fix the mmeory leak
Some checks failed
fsfw/fsfw/pipeline/pr-development There was a failure building this commit
c12669fe50
maybe this teardown fixes the leak
Some checks failed
fsfw/fsfw/pipeline/pr-development There was a failure building this commit
db33f9cc7e
more leaks
Some checks failed
fsfw/fsfw/pipeline/pr-development There was a failure building this commit
747243684d
possible double delete
All checks were successful
fsfw/fsfw/pipeline/pr-development This commit looks good
e48b6f1432
add new HasReturnvaluesIF features
Some checks failed
fsfw/fsfw/pipeline/pr-development There was a failure building this commit
bdf71d4e66
Merge branch 'mueller/expand-retval-if' into mueller/refactor-tmtc-stack
Some checks failed
fsfw/fsfw/pipeline/pr-development There was a failure building this commit
4ed028000d
added additional TM store and send helper
All checks were successful
fsfw/fsfw/pipeline/pr-development This commit looks good
500a5602bd
some more API improvements and replacements
All checks were successful
fsfw/fsfw/pipeline/pr-development This commit looks good
f1c37203a4
add new VerificationReporterIF
All checks were successful
fsfw/fsfw/pipeline/pr-development This commit looks good
75c824ec80
created PSB mock
All checks were successful
fsfw/fsfw/pipeline/pr-development This commit looks good
146a0e3828
removed some obsolete code
All checks were successful
fsfw/fsfw/pipeline/pr-development This commit looks good
f14c812aff
adapt PSB so it can be unittested properly
Some checks failed
fsfw/fsfw/pipeline/pr-development There was a failure building this commit
d98b79cf5e
default PUS receiver set automatically now
All checks were successful
fsfw/fsfw/pipeline/pr-development This commit looks good
1954ce0ea4
test auto-initializers
All checks were successful
fsfw/fsfw/pipeline/pr-development This commit looks good
8bf0fb9885
psb unittests almost complete
All checks were successful
fsfw/fsfw/pipeline/pr-development This commit looks good
152c01b2ec
PSB unittests complete
All checks were successful
fsfw/fsfw/pipeline/pr-development This commit looks good
681738dcc6
some printout fixes
All checks were successful
fsfw/fsfw/pipeline/pr-development This commit looks good
9eb652e585
example compiles again
Some checks failed
fsfw/fsfw/pipeline/pr-development There was a failure building this commit
18ee2ab903
some of the deprecation warnings run amok
Some checks failed
fsfw/fsfw/pipeline/pr-development There was a failure building this commit
064b195c75
this gets rid of some warnings
Some checks failed
fsfw/fsfw/pipeline/pr-development There was a failure building this commit
86692e202d
add helper methods to disable crc calculation
Some checks failed
fsfw/fsfw/pipeline/pr-development There was a failure building this commit
059fb10558
updates for PusDistributor
Some checks failed
fsfw/fsfw/pipeline/pr-development There was a failure building this commit
740644f2c8
switch off debugging switches
Some checks failed
fsfw/fsfw/pipeline/pr-development There was a failure building this commit
c5ad9b5fa9
pass timeReader to Pus ZC writer
Some checks failed
fsfw/fsfw/pipeline/pr-development There was a failure building this commit
f591b9793c
send time stampers properly now
Some checks failed
fsfw/fsfw/pipeline/pr-development There was a failure building this commit
234ccdf764
small bugfix
Some checks failed
fsfw/fsfw/pipeline/pr-development There was a failure building this commit
0a38d2e22d
afmt
Some checks failed
fsfw/fsfw/pipeline/pr-development There was a failure building this commit
356d778743
some more minor fixes
Some checks failed
fsfw/fsfw/pipeline/pr-development There was a failure building this commit
4e571e5082
set queue of tm send helper
Some checks failed
fsfw/fsfw/pipeline/pr-development There was a failure building this commit
d641d63531
another bugfix in CSB
Some checks failed
fsfw/fsfw/pipeline/pr-development There was a failure building this commit
f03b7cd660
remove nullptr check
Some checks failed
fsfw/fsfw/pipeline/pr-development There was a failure building this commit
7e8afcc12f
tests running again
All checks were successful
fsfw/fsfw/pipeline/pr-development This commit looks good
93acac02f5
update serialize IF
All checks were successful
fsfw/fsfw/pipeline/pr-development This commit looks good
85dbef20b0
improvements for creator API
All checks were successful
fsfw/fsfw/pipeline/pr-development This commit looks good
5bb7023ff3
Simple SerializeIF adaptions
All checks were successful
fsfw/fsfw/pipeline/pr-development This commit looks good
b485afea57
- Returns serialized or deserialized size
some more fixes
All checks were successful
fsfw/fsfw/pipeline/pr-development This commit looks good
30ba9ab916
completed ZcWriter unittests
Some checks failed
fsfw/fsfw/pipeline/pr-development There was a failure building this commit
cb118176a0
test no crc generation
All checks were successful
fsfw/fsfw/pipeline/pr-development This commit looks good
1b5fa2a8fa
some more fail tests
All checks were successful
fsfw/fsfw/pipeline/pr-development This commit looks good
8f6f0e1d45
set sec header flag and add unit test for it
All checks were successful
fsfw/fsfw/pipeline/pr-development This commit looks good
fc3412fa35
do not use TC info for failed TC retrieval
All checks were successful
fsfw/fsfw/pipeline/head This commit looks good
fsfw/fsfw/pipeline/pr-development This commit looks good
da106fd96f
Merge branch 'development' into mueller/refactor-tmtc-stack
Some checks failed
fsfw/fsfw/pipeline/pr-development There was a failure building this commit
9796abfc7d
Merge remote-tracking branch 'origin/development' into mueller/refactor-tmtc-stack
Some checks failed
fsfw/fsfw/pipeline/pr-development There was a failure building this commit
d7ec04bf4b
fix unittests
All checks were successful
fsfw/fsfw/pipeline/pr-development This commit looks good
9e064fe800
merge retval refactoring
All checks were successful
fsfw/fsfw/pipeline/head This commit looks good
1037102349
flip verif reporter ctor arguments
All checks were successful
fsfw/fsfw/pipeline/pr-development This commit looks good
8fd8a37f59
better name for global object
All checks were successful
fsfw/fsfw/pipeline/pr-development This commit looks good
875174c4ad
update changelog
All checks were successful
fsfw/fsfw/pipeline/pr-development This commit looks good
239d053562
important bugfix for verif reporter
Some checks failed
fsfw/fsfw/pipeline/pr-development There was a failure building this commit
ff6de8e378
Merge branch 'mueller/refactor-tmtc-stack' into mueller/refactor-tmtc-stack-with-retval-refactoring
Some checks failed
fsfw/fsfw/pipeline/head There was a failure building this commit
fsfw/fsfw/pipeline/pr-development There was a failure building this commit
2a4ab0af7b
apply auto-formatter
Some checks failed
fsfw/fsfw/pipeline/pr-development There was a failure building this commit
fsfw/fsfw/pipeline/head There was a failure building this commit
dab1b1d067
Merge remote-tracking branch 'origin/development' into mueller/refactor-tmtc-stack-with-retval-refactoring
Some checks failed
fsfw/fsfw/pipeline/head There was a failure building this commit
fsfw/fsfw/pipeline/pr-development There was a failure building this commit
10f34e5a48
tests running again
All checks were successful
fsfw/fsfw/pipeline/pr-development This commit looks good
ba5c6410d6
small changelog update
All checks were successful
fsfw/fsfw/pipeline/pr-development This commit looks good
a46d8c34d9
Merge branch 'development' into mueller/refactor-tmtc-stack
All checks were successful
fsfw/fsfw/pipeline/pr-development This commit looks good
6bcb208968
remove TODO
All checks were successful
fsfw/fsfw/pipeline/pr-development This commit looks good
b499dedd76
default initialization of CDS short struct
All checks were successful
fsfw/fsfw/pipeline/pr-development This commit looks good
cb23911ccd
avoid duplicate code
All checks were successful
fsfw/fsfw/pipeline/pr-development This commit looks good
2cab73d972
use cfg struct for local pool API
All checks were successful
fsfw/fsfw/pipeline/head This commit looks good
fsfw/fsfw/pipeline/pr-development This commit looks good
9fedd03ed8
muellerr added a new dependency 2022-08-30 11:04:32 +02:00
muellerr added 1 commit 2022-08-30 15:01:13 +02:00
make two helper functions protected
Some checks failed
fsfw/fsfw/pipeline/pr-development There was a failure building this commit
9131ca688b
muellerr added 10 commits 2022-09-01 17:51:45 +02:00
better name
All checks were successful
fsfw/fsfw/pipeline/pr-development This commit looks good
aea9db75cb
move data wrapper
All checks were successful
fsfw/fsfw/pipeline/pr-development This commit looks good
a9277622ce
add new data wrapper helper type
Some checks are pending
fsfw/fsfw/pipeline/head Build started...
fsfw/fsfw/pipeline/pr-development This commit looks good
20d42add03
extend data wrapper
All checks were successful
fsfw/fsfw/pipeline/pr-development This commit looks good
0f27c7e7e7
data wrapper update
All checks were successful
fsfw/fsfw/pipeline/pr-development This commit looks good
c756297e5c
Merge branch 'mueller/data-wrapper' into mueller/refactor-tmtc-stack
Some checks failed
fsfw/fsfw/pipeline/pr-development There was a failure building this commit
8e6cee7761
Merge remote-tracking branch 'origin/development' into mueller/refactor-tmtc-stack
Some checks failed
fsfw/fsfw/pipeline/pr-development There was a failure building this commit
5c20cc804e
test fix
All checks were successful
fsfw/fsfw/pipeline/pr-development This commit looks good
04bff7a522
Merge branch 'mueller/refactor-tmtc-stack' into mueller/refactor-local-pool-api
Some checks are pending
fsfw/fsfw/pipeline/pr-development Build queued...
9202c6c17f
mohr added the
Breaking API Change
label 2022-09-12 14:18:02 +02:00
mohr added this to the v6.0.0 milestone 2022-09-12 14:18:10 +02:00
mohr approved these changes 2022-09-12 14:18:52 +02:00
mohr merged commit 9ee1896553 into development 2022-09-12 14:32:09 +02:00
mohr deleted branch mueller/refactor-local-pool-api 2022-09-12 14:32:12 +02:00
Sign in to join this conversation.
No description provided.