1
0
forked from fsfw/fsfw

Array List Entry swapper function

And respective SerialAdapter functions to use it
This commit is contained in:
2020-01-22 14:24:48 +01:00
parent 3d2bdae14d
commit 1977942c4b
5 changed files with 36 additions and 15 deletions

View File

@ -24,6 +24,10 @@
template<typename BUFFER_TYPE, uint32_t MAX_SIZE, typename count_t = uint8_t>
class SerialFixedArrayListAdapter : public FixedArrayList<BUFFER_TYPE, MAX_SIZE, count_t>, public SerializeIF {
public:
/**
* Constructor Arguments are forwarded to FixedArrayList constructor
* @param args
*/
template<typename... Args>
SerialFixedArrayListAdapter(Args... args) : FixedArrayList<BUFFER_TYPE, MAX_SIZE, count_t>(std::forward<Args>(args)...) {
}