diff --git a/datapool/PoolRawAccess.cpp b/datapool/PoolRawAccess.cpp index 6be4b783..c99d8069 100644 --- a/datapool/PoolRawAccess.cpp +++ b/datapool/PoolRawAccess.cpp @@ -3,7 +3,9 @@ #include #include #include -#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() { diff --git a/datapool/PoolRawAccess.h b/datapool/PoolRawAccess.h index ac7d6702..7207518c 100644 --- a/datapool/PoolRawAccess.h +++ b/datapool/PoolRawAccess.h @@ -50,7 +50,7 @@ private: * \brief The information whether the class is read-write or read-only is stored here. */ ReadWriteMode_t readWriteMode; - PoolRawAccess * nextPoolRawAccess; + //PoolRawAccess * nextPoolRawAccess; static const uint8_t RAW_MAX_SIZE = sizeof(double); protected: /** @@ -79,7 +79,7 @@ public: static const ReturnValue_t INCORRECT_SIZE = MAKE_RETURN_CODE(0x01); static const ReturnValue_t DATA_POOL_ACCESS_FAILED = MAKE_RETURN_CODE(0x02); uint8_t value[RAW_MAX_SIZE]; - + //PoolRawAccess(); /** * This constructor is used to access a data pool entry with a * given ID if the target type is not known. A DataSet object is supplied