commented out functions which will propably not
be needed and removed
This commit is contained in:
parent
138cac98d1
commit
29a15e8154
@ -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() {
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user