Merge pull request 'virtual function to print datasets' (#544) from meier/printDataSet into development

Reviewed-on: fsfw/fsfw#544
This commit is contained in:
Ulrich Mohr 2022-02-07 14:42:17 +01:00
commit 9e6948a8d7
2 changed files with 7 additions and 0 deletions

View File

@ -291,3 +291,5 @@ float LocalPoolDataSetBase::getCollectionInterval() const {
return 0.0;
}
}
void LocalPoolDataSetBase::printSet() { return; }

View File

@ -171,6 +171,11 @@ class LocalPoolDataSetBase : public PoolDataSetBase, public MarkChangedIF {
*/
float getCollectionInterval() const;
/**
* @brief Can be overwritten by a specific implementation of a dataset to print the set.
*/
virtual void printSet();
protected:
sid_t sid;
//! This mutex is used if the data is created by one object only.