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/datapool/PoolRawAccess.h>
|
||||||
#include <framework/serviceinterface/ServiceInterfaceStream.h>
|
#include <framework/serviceinterface/ServiceInterfaceStream.h>
|
||||||
#include <framework/osal/Endiness.h>
|
#include <framework/osal/Endiness.h>
|
||||||
#include "DataSet.h"
|
|
||||||
|
//PoolRawAccess::PoolRawAccess() {
|
||||||
|
//}
|
||||||
|
|
||||||
PoolRawAccess::PoolRawAccess(uint32_t set_id, uint8_t setArrayEntry,
|
PoolRawAccess::PoolRawAccess(uint32_t set_id, uint8_t setArrayEntry,
|
||||||
DataSetIF* data_set, ReadWriteMode_t setReadWriteMode,
|
DataSetIF* data_set, ReadWriteMode_t setReadWriteMode,
|
||||||
@ -14,16 +16,14 @@ PoolRawAccess::PoolRawAccess(uint32_t set_id, uint8_t setArrayEntry,
|
|||||||
if (data_set != NULL) {
|
if (data_set != NULL) {
|
||||||
data_set->registerVariable(this);
|
data_set->registerVariable(this);
|
||||||
}
|
}
|
||||||
if(registerVectors == true) {
|
// if(registerVectors == true) {
|
||||||
this->read();
|
// this->read();
|
||||||
// DataSet * myDataSetTest = (DataSet *) data_set;
|
// if(arrayEntry < arraySize - 1) {
|
||||||
// myDataSetTest->read();
|
// uint8_t nextArrayEntry = arrayEntry + 1;
|
||||||
if(arrayEntry < arraySize - 1) {
|
// nextPoolRawAccess = new PoolRawAccess(set_id, nextArrayEntry,
|
||||||
uint8_t nextArrayEntry = arrayEntry + 1;
|
// data_set,setReadWriteMode,true);
|
||||||
nextPoolRawAccess = new PoolRawAccess(set_id, nextArrayEntry,
|
// }
|
||||||
data_set,setReadWriteMode,true);
|
// }
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
PoolRawAccess::~PoolRawAccess() {
|
PoolRawAccess::~PoolRawAccess() {
|
||||||
|
@ -50,7 +50,7 @@ private:
|
|||||||
* \brief The information whether the class is read-write or read-only is stored here.
|
* \brief The information whether the class is read-write or read-only is stored here.
|
||||||
*/
|
*/
|
||||||
ReadWriteMode_t readWriteMode;
|
ReadWriteMode_t readWriteMode;
|
||||||
PoolRawAccess * nextPoolRawAccess;
|
//PoolRawAccess * nextPoolRawAccess;
|
||||||
static const uint8_t RAW_MAX_SIZE = sizeof(double);
|
static const uint8_t RAW_MAX_SIZE = sizeof(double);
|
||||||
protected:
|
protected:
|
||||||
/**
|
/**
|
||||||
@ -79,7 +79,7 @@ public:
|
|||||||
static const ReturnValue_t INCORRECT_SIZE = MAKE_RETURN_CODE(0x01);
|
static const ReturnValue_t INCORRECT_SIZE = MAKE_RETURN_CODE(0x01);
|
||||||
static const ReturnValue_t DATA_POOL_ACCESS_FAILED = MAKE_RETURN_CODE(0x02);
|
static const ReturnValue_t DATA_POOL_ACCESS_FAILED = MAKE_RETURN_CODE(0x02);
|
||||||
uint8_t value[RAW_MAX_SIZE];
|
uint8_t value[RAW_MAX_SIZE];
|
||||||
|
//PoolRawAccess();
|
||||||
/**
|
/**
|
||||||
* This constructor is used to access a data pool entry with a
|
* 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
|
* given ID if the target type is not known. A DataSet object is supplied
|
||||||
|
Loading…
Reference in New Issue
Block a user