1
0
forked from fsfw/fsfw

commented out functions which will propably not

be needed and removed
This commit is contained in:
2019-12-11 13:03:51 +01:00
parent 138cac98d1
commit 29a15e8154
2 changed files with 13 additions and 13 deletions

View File

@@ -3,7 +3,9 @@
#include <framework/datapool/PoolRawAccess.h>
#include <framework/serviceinterface/ServiceInterfaceStream.h>
#include <framework/osal/Endiness.h>
#include "DataSet.h"
//PoolRawAccess::PoolRawAccess() {
//}
PoolRawAccess::PoolRawAccess(uint32_t set_id, uint8_t setArrayEntry,
DataSetIF* data_set, ReadWriteMode_t setReadWriteMode,
@@ -14,16 +16,14 @@ PoolRawAccess::PoolRawAccess(uint32_t set_id, uint8_t setArrayEntry,
if (data_set != NULL) {
data_set->registerVariable(this);
}
if(registerVectors == true) {
this->read();
// DataSet * myDataSetTest = (DataSet *) data_set;
// myDataSetTest->read();
if(arrayEntry < arraySize - 1) {
uint8_t nextArrayEntry = arrayEntry + 1;
nextPoolRawAccess = new PoolRawAccess(set_id, nextArrayEntry,
data_set,setReadWriteMode,true);
}
}
// if(registerVectors == true) {
// this->read();
// if(arrayEntry < arraySize - 1) {
// uint8_t nextArrayEntry = arrayEntry + 1;
// nextPoolRawAccess = new PoolRawAccess(set_id, nextArrayEntry,
// data_set,setReadWriteMode,true);
// }
// }
}
PoolRawAccess::~PoolRawAccess() {