mirror of
https://github.com/nasa/fpp.git
synced 2025-12-15 21:08:16 -06:00
Revise container member names
Use m_ prefix
This commit is contained in:
parent
5bd815b2b1
commit
0cef7beac7
@ -382,13 +382,13 @@ case class ComponentDataProducts (
|
||||
| sizeof(FwDpIdType) +
|
||||
| $typeSize;
|
||||
|Fw::SerializeStatus status = Fw::FW_SERIALIZE_OK;
|
||||
|if (this->dataBuffer.getBuffLength() + sizeDelta <= this->dataBuffer.getBuffCapacity()) {
|
||||
|if (this->m_dataBuffer.getBuffLength() + sizeDelta <= this->m_dataBuffer.getBuffCapacity()) {
|
||||
| const FwDpIdType id = this->baseId + RecordId::$name;
|
||||
| status = this->dataBuffer.serialize(id);
|
||||
| status = this->m_dataBuffer.serialize(id);
|
||||
| FW_ASSERT(status == Fw::FW_SERIALIZE_OK, status);
|
||||
| status = this->dataBuffer.serialize(elt);
|
||||
| status = this->m_dataBuffer.serialize(elt);
|
||||
| FW_ASSERT(status == Fw::FW_SERIALIZE_OK, status);
|
||||
| this->dataSize += sizeDelta;
|
||||
| this->m_dataSize += sizeDelta;
|
||||
|}
|
||||
|else {
|
||||
| status = Fw::FW_SERIALIZE_NO_ROOM_LEFT;
|
||||
@ -425,11 +425,11 @@ case class ComponentDataProducts (
|
||||
// Optimize the U8 case
|
||||
case Type.U8 =>
|
||||
"""| const bool omitSerializedLength = true;
|
||||
| status = this->dataBuffer.serialize(array, size, omitSerializedLength);
|
||||
| status = this->m_dataBuffer.serialize(array, size, omitSerializedLength);
|
||||
| FW_ASSERT(status == Fw::FW_SERIALIZE_OK, status);"""
|
||||
case _ =>
|
||||
"""| for (FwSizeType i = 0; i < size; i++) {
|
||||
| status = this->dataBuffer.serialize(array[i]);
|
||||
| status = this->m_dataBuffer.serialize(array[i]);
|
||||
| FW_ASSERT(status == Fw::FW_SERIALIZE_OK, status);
|
||||
| }"""
|
||||
}).stripMargin
|
||||
@ -440,14 +440,14 @@ case class ComponentDataProducts (
|
||||
| sizeof(FwSizeType) +
|
||||
| size * $eltSize;
|
||||
|Fw::SerializeStatus status = Fw::FW_SERIALIZE_OK;
|
||||
|if (this->dataBuffer.getBuffLength() + sizeDelta <= this->dataBuffer.getBuffCapacity()) {
|
||||
|if (this->m_dataBuffer.getBuffLength() + sizeDelta <= this->m_dataBuffer.getBuffCapacity()) {
|
||||
| const FwDpIdType id = this->baseId + RecordId::$name;
|
||||
| status = this->dataBuffer.serialize(id);
|
||||
| status = this->m_dataBuffer.serialize(id);
|
||||
| FW_ASSERT(status == Fw::FW_SERIALIZE_OK, status);
|
||||
| status = this->dataBuffer.serialize(size);
|
||||
| status = this->m_dataBuffer.serialize(size);
|
||||
| FW_ASSERT(status == Fw::FW_SERIALIZE_OK, status);
|
||||
|$serializeElts
|
||||
| this->dataSize += sizeDelta;
|
||||
| this->m_dataSize += sizeDelta;
|
||||
|}
|
||||
|else {
|
||||
| status = Fw::FW_SERIALIZE_NO_ROOM_LEFT;
|
||||
|
||||
@ -105,17 +105,17 @@ Fw::SerializeStatus ActiveAsyncProductsComponentBase::DpContainer ::
|
||||
sizeof(FwSizeType) +
|
||||
size * ActiveAsyncProducts_Data::SERIALIZED_SIZE;
|
||||
Fw::SerializeStatus status = Fw::FW_SERIALIZE_OK;
|
||||
if (this->dataBuffer.getBuffLength() + sizeDelta <= this->dataBuffer.getBuffCapacity()) {
|
||||
if (this->m_dataBuffer.getBuffLength() + sizeDelta <= this->m_dataBuffer.getBuffCapacity()) {
|
||||
const FwDpIdType id = this->baseId + RecordId::DataArrayRecord;
|
||||
status = this->dataBuffer.serialize(id);
|
||||
status = this->m_dataBuffer.serialize(id);
|
||||
FW_ASSERT(status == Fw::FW_SERIALIZE_OK, status);
|
||||
status = this->dataBuffer.serialize(size);
|
||||
status = this->m_dataBuffer.serialize(size);
|
||||
FW_ASSERT(status == Fw::FW_SERIALIZE_OK, status);
|
||||
for (FwSizeType i = 0; i < size; i++) {
|
||||
status = this->dataBuffer.serialize(array[i]);
|
||||
status = this->m_dataBuffer.serialize(array[i]);
|
||||
FW_ASSERT(status == Fw::FW_SERIALIZE_OK, status);
|
||||
}
|
||||
this->dataSize += sizeDelta;
|
||||
this->m_dataSize += sizeDelta;
|
||||
}
|
||||
else {
|
||||
status = Fw::FW_SERIALIZE_NO_ROOM_LEFT;
|
||||
@ -130,13 +130,13 @@ Fw::SerializeStatus ActiveAsyncProductsComponentBase::DpContainer ::
|
||||
sizeof(FwDpIdType) +
|
||||
ActiveAsyncProducts_Data::SERIALIZED_SIZE;
|
||||
Fw::SerializeStatus status = Fw::FW_SERIALIZE_OK;
|
||||
if (this->dataBuffer.getBuffLength() + sizeDelta <= this->dataBuffer.getBuffCapacity()) {
|
||||
if (this->m_dataBuffer.getBuffLength() + sizeDelta <= this->m_dataBuffer.getBuffCapacity()) {
|
||||
const FwDpIdType id = this->baseId + RecordId::DataRecord;
|
||||
status = this->dataBuffer.serialize(id);
|
||||
status = this->m_dataBuffer.serialize(id);
|
||||
FW_ASSERT(status == Fw::FW_SERIALIZE_OK, status);
|
||||
status = this->dataBuffer.serialize(elt);
|
||||
status = this->m_dataBuffer.serialize(elt);
|
||||
FW_ASSERT(status == Fw::FW_SERIALIZE_OK, status);
|
||||
this->dataSize += sizeDelta;
|
||||
this->m_dataSize += sizeDelta;
|
||||
}
|
||||
else {
|
||||
status = Fw::FW_SERIALIZE_NO_ROOM_LEFT;
|
||||
@ -156,17 +156,17 @@ Fw::SerializeStatus ActiveAsyncProductsComponentBase::DpContainer ::
|
||||
sizeof(FwSizeType) +
|
||||
size * sizeof(U32);
|
||||
Fw::SerializeStatus status = Fw::FW_SERIALIZE_OK;
|
||||
if (this->dataBuffer.getBuffLength() + sizeDelta <= this->dataBuffer.getBuffCapacity()) {
|
||||
if (this->m_dataBuffer.getBuffLength() + sizeDelta <= this->m_dataBuffer.getBuffCapacity()) {
|
||||
const FwDpIdType id = this->baseId + RecordId::U32ArrayRecord;
|
||||
status = this->dataBuffer.serialize(id);
|
||||
status = this->m_dataBuffer.serialize(id);
|
||||
FW_ASSERT(status == Fw::FW_SERIALIZE_OK, status);
|
||||
status = this->dataBuffer.serialize(size);
|
||||
status = this->m_dataBuffer.serialize(size);
|
||||
FW_ASSERT(status == Fw::FW_SERIALIZE_OK, status);
|
||||
for (FwSizeType i = 0; i < size; i++) {
|
||||
status = this->dataBuffer.serialize(array[i]);
|
||||
status = this->m_dataBuffer.serialize(array[i]);
|
||||
FW_ASSERT(status == Fw::FW_SERIALIZE_OK, status);
|
||||
}
|
||||
this->dataSize += sizeDelta;
|
||||
this->m_dataSize += sizeDelta;
|
||||
}
|
||||
else {
|
||||
status = Fw::FW_SERIALIZE_NO_ROOM_LEFT;
|
||||
@ -181,13 +181,13 @@ Fw::SerializeStatus ActiveAsyncProductsComponentBase::DpContainer ::
|
||||
sizeof(FwDpIdType) +
|
||||
sizeof(U32);
|
||||
Fw::SerializeStatus status = Fw::FW_SERIALIZE_OK;
|
||||
if (this->dataBuffer.getBuffLength() + sizeDelta <= this->dataBuffer.getBuffCapacity()) {
|
||||
if (this->m_dataBuffer.getBuffLength() + sizeDelta <= this->m_dataBuffer.getBuffCapacity()) {
|
||||
const FwDpIdType id = this->baseId + RecordId::U32Record;
|
||||
status = this->dataBuffer.serialize(id);
|
||||
status = this->m_dataBuffer.serialize(id);
|
||||
FW_ASSERT(status == Fw::FW_SERIALIZE_OK, status);
|
||||
status = this->dataBuffer.serialize(elt);
|
||||
status = this->m_dataBuffer.serialize(elt);
|
||||
FW_ASSERT(status == Fw::FW_SERIALIZE_OK, status);
|
||||
this->dataSize += sizeDelta;
|
||||
this->m_dataSize += sizeDelta;
|
||||
}
|
||||
else {
|
||||
status = Fw::FW_SERIALIZE_NO_ROOM_LEFT;
|
||||
@ -207,16 +207,16 @@ Fw::SerializeStatus ActiveAsyncProductsComponentBase::DpContainer ::
|
||||
sizeof(FwSizeType) +
|
||||
size * sizeof(U8);
|
||||
Fw::SerializeStatus status = Fw::FW_SERIALIZE_OK;
|
||||
if (this->dataBuffer.getBuffLength() + sizeDelta <= this->dataBuffer.getBuffCapacity()) {
|
||||
if (this->m_dataBuffer.getBuffLength() + sizeDelta <= this->m_dataBuffer.getBuffCapacity()) {
|
||||
const FwDpIdType id = this->baseId + RecordId::U8ArrayRecord;
|
||||
status = this->dataBuffer.serialize(id);
|
||||
status = this->m_dataBuffer.serialize(id);
|
||||
FW_ASSERT(status == Fw::FW_SERIALIZE_OK, status);
|
||||
status = this->dataBuffer.serialize(size);
|
||||
status = this->m_dataBuffer.serialize(size);
|
||||
FW_ASSERT(status == Fw::FW_SERIALIZE_OK, status);
|
||||
const bool omitSerializedLength = true;
|
||||
status = this->dataBuffer.serialize(array, size, omitSerializedLength);
|
||||
status = this->m_dataBuffer.serialize(array, size, omitSerializedLength);
|
||||
FW_ASSERT(status == Fw::FW_SERIALIZE_OK, status);
|
||||
this->dataSize += sizeDelta;
|
||||
this->m_dataSize += sizeDelta;
|
||||
}
|
||||
else {
|
||||
status = Fw::FW_SERIALIZE_NO_ROOM_LEFT;
|
||||
|
||||
@ -103,17 +103,17 @@ Fw::SerializeStatus ActiveGetProductsComponentBase::DpContainer ::
|
||||
sizeof(FwSizeType) +
|
||||
size * ActiveGetProducts_Data::SERIALIZED_SIZE;
|
||||
Fw::SerializeStatus status = Fw::FW_SERIALIZE_OK;
|
||||
if (this->dataBuffer.getBuffLength() + sizeDelta <= this->dataBuffer.getBuffCapacity()) {
|
||||
if (this->m_dataBuffer.getBuffLength() + sizeDelta <= this->m_dataBuffer.getBuffCapacity()) {
|
||||
const FwDpIdType id = this->baseId + RecordId::DataArrayRecord;
|
||||
status = this->dataBuffer.serialize(id);
|
||||
status = this->m_dataBuffer.serialize(id);
|
||||
FW_ASSERT(status == Fw::FW_SERIALIZE_OK, status);
|
||||
status = this->dataBuffer.serialize(size);
|
||||
status = this->m_dataBuffer.serialize(size);
|
||||
FW_ASSERT(status == Fw::FW_SERIALIZE_OK, status);
|
||||
for (FwSizeType i = 0; i < size; i++) {
|
||||
status = this->dataBuffer.serialize(array[i]);
|
||||
status = this->m_dataBuffer.serialize(array[i]);
|
||||
FW_ASSERT(status == Fw::FW_SERIALIZE_OK, status);
|
||||
}
|
||||
this->dataSize += sizeDelta;
|
||||
this->m_dataSize += sizeDelta;
|
||||
}
|
||||
else {
|
||||
status = Fw::FW_SERIALIZE_NO_ROOM_LEFT;
|
||||
@ -128,13 +128,13 @@ Fw::SerializeStatus ActiveGetProductsComponentBase::DpContainer ::
|
||||
sizeof(FwDpIdType) +
|
||||
ActiveGetProducts_Data::SERIALIZED_SIZE;
|
||||
Fw::SerializeStatus status = Fw::FW_SERIALIZE_OK;
|
||||
if (this->dataBuffer.getBuffLength() + sizeDelta <= this->dataBuffer.getBuffCapacity()) {
|
||||
if (this->m_dataBuffer.getBuffLength() + sizeDelta <= this->m_dataBuffer.getBuffCapacity()) {
|
||||
const FwDpIdType id = this->baseId + RecordId::DataRecord;
|
||||
status = this->dataBuffer.serialize(id);
|
||||
status = this->m_dataBuffer.serialize(id);
|
||||
FW_ASSERT(status == Fw::FW_SERIALIZE_OK, status);
|
||||
status = this->dataBuffer.serialize(elt);
|
||||
status = this->m_dataBuffer.serialize(elt);
|
||||
FW_ASSERT(status == Fw::FW_SERIALIZE_OK, status);
|
||||
this->dataSize += sizeDelta;
|
||||
this->m_dataSize += sizeDelta;
|
||||
}
|
||||
else {
|
||||
status = Fw::FW_SERIALIZE_NO_ROOM_LEFT;
|
||||
@ -154,17 +154,17 @@ Fw::SerializeStatus ActiveGetProductsComponentBase::DpContainer ::
|
||||
sizeof(FwSizeType) +
|
||||
size * sizeof(U32);
|
||||
Fw::SerializeStatus status = Fw::FW_SERIALIZE_OK;
|
||||
if (this->dataBuffer.getBuffLength() + sizeDelta <= this->dataBuffer.getBuffCapacity()) {
|
||||
if (this->m_dataBuffer.getBuffLength() + sizeDelta <= this->m_dataBuffer.getBuffCapacity()) {
|
||||
const FwDpIdType id = this->baseId + RecordId::U32ArrayRecord;
|
||||
status = this->dataBuffer.serialize(id);
|
||||
status = this->m_dataBuffer.serialize(id);
|
||||
FW_ASSERT(status == Fw::FW_SERIALIZE_OK, status);
|
||||
status = this->dataBuffer.serialize(size);
|
||||
status = this->m_dataBuffer.serialize(size);
|
||||
FW_ASSERT(status == Fw::FW_SERIALIZE_OK, status);
|
||||
for (FwSizeType i = 0; i < size; i++) {
|
||||
status = this->dataBuffer.serialize(array[i]);
|
||||
status = this->m_dataBuffer.serialize(array[i]);
|
||||
FW_ASSERT(status == Fw::FW_SERIALIZE_OK, status);
|
||||
}
|
||||
this->dataSize += sizeDelta;
|
||||
this->m_dataSize += sizeDelta;
|
||||
}
|
||||
else {
|
||||
status = Fw::FW_SERIALIZE_NO_ROOM_LEFT;
|
||||
@ -179,13 +179,13 @@ Fw::SerializeStatus ActiveGetProductsComponentBase::DpContainer ::
|
||||
sizeof(FwDpIdType) +
|
||||
sizeof(U32);
|
||||
Fw::SerializeStatus status = Fw::FW_SERIALIZE_OK;
|
||||
if (this->dataBuffer.getBuffLength() + sizeDelta <= this->dataBuffer.getBuffCapacity()) {
|
||||
if (this->m_dataBuffer.getBuffLength() + sizeDelta <= this->m_dataBuffer.getBuffCapacity()) {
|
||||
const FwDpIdType id = this->baseId + RecordId::U32Record;
|
||||
status = this->dataBuffer.serialize(id);
|
||||
status = this->m_dataBuffer.serialize(id);
|
||||
FW_ASSERT(status == Fw::FW_SERIALIZE_OK, status);
|
||||
status = this->dataBuffer.serialize(elt);
|
||||
status = this->m_dataBuffer.serialize(elt);
|
||||
FW_ASSERT(status == Fw::FW_SERIALIZE_OK, status);
|
||||
this->dataSize += sizeDelta;
|
||||
this->m_dataSize += sizeDelta;
|
||||
}
|
||||
else {
|
||||
status = Fw::FW_SERIALIZE_NO_ROOM_LEFT;
|
||||
@ -205,16 +205,16 @@ Fw::SerializeStatus ActiveGetProductsComponentBase::DpContainer ::
|
||||
sizeof(FwSizeType) +
|
||||
size * sizeof(U8);
|
||||
Fw::SerializeStatus status = Fw::FW_SERIALIZE_OK;
|
||||
if (this->dataBuffer.getBuffLength() + sizeDelta <= this->dataBuffer.getBuffCapacity()) {
|
||||
if (this->m_dataBuffer.getBuffLength() + sizeDelta <= this->m_dataBuffer.getBuffCapacity()) {
|
||||
const FwDpIdType id = this->baseId + RecordId::U8ArrayRecord;
|
||||
status = this->dataBuffer.serialize(id);
|
||||
status = this->m_dataBuffer.serialize(id);
|
||||
FW_ASSERT(status == Fw::FW_SERIALIZE_OK, status);
|
||||
status = this->dataBuffer.serialize(size);
|
||||
status = this->m_dataBuffer.serialize(size);
|
||||
FW_ASSERT(status == Fw::FW_SERIALIZE_OK, status);
|
||||
const bool omitSerializedLength = true;
|
||||
status = this->dataBuffer.serialize(array, size, omitSerializedLength);
|
||||
status = this->m_dataBuffer.serialize(array, size, omitSerializedLength);
|
||||
FW_ASSERT(status == Fw::FW_SERIALIZE_OK, status);
|
||||
this->dataSize += sizeDelta;
|
||||
this->m_dataSize += sizeDelta;
|
||||
}
|
||||
else {
|
||||
status = Fw::FW_SERIALIZE_NO_ROOM_LEFT;
|
||||
|
||||
@ -103,17 +103,17 @@ Fw::SerializeStatus ActiveGuardedProductsComponentBase::DpContainer ::
|
||||
sizeof(FwSizeType) +
|
||||
size * ActiveGuardedProducts_Data::SERIALIZED_SIZE;
|
||||
Fw::SerializeStatus status = Fw::FW_SERIALIZE_OK;
|
||||
if (this->dataBuffer.getBuffLength() + sizeDelta <= this->dataBuffer.getBuffCapacity()) {
|
||||
if (this->m_dataBuffer.getBuffLength() + sizeDelta <= this->m_dataBuffer.getBuffCapacity()) {
|
||||
const FwDpIdType id = this->baseId + RecordId::DataArrayRecord;
|
||||
status = this->dataBuffer.serialize(id);
|
||||
status = this->m_dataBuffer.serialize(id);
|
||||
FW_ASSERT(status == Fw::FW_SERIALIZE_OK, status);
|
||||
status = this->dataBuffer.serialize(size);
|
||||
status = this->m_dataBuffer.serialize(size);
|
||||
FW_ASSERT(status == Fw::FW_SERIALIZE_OK, status);
|
||||
for (FwSizeType i = 0; i < size; i++) {
|
||||
status = this->dataBuffer.serialize(array[i]);
|
||||
status = this->m_dataBuffer.serialize(array[i]);
|
||||
FW_ASSERT(status == Fw::FW_SERIALIZE_OK, status);
|
||||
}
|
||||
this->dataSize += sizeDelta;
|
||||
this->m_dataSize += sizeDelta;
|
||||
}
|
||||
else {
|
||||
status = Fw::FW_SERIALIZE_NO_ROOM_LEFT;
|
||||
@ -128,13 +128,13 @@ Fw::SerializeStatus ActiveGuardedProductsComponentBase::DpContainer ::
|
||||
sizeof(FwDpIdType) +
|
||||
ActiveGuardedProducts_Data::SERIALIZED_SIZE;
|
||||
Fw::SerializeStatus status = Fw::FW_SERIALIZE_OK;
|
||||
if (this->dataBuffer.getBuffLength() + sizeDelta <= this->dataBuffer.getBuffCapacity()) {
|
||||
if (this->m_dataBuffer.getBuffLength() + sizeDelta <= this->m_dataBuffer.getBuffCapacity()) {
|
||||
const FwDpIdType id = this->baseId + RecordId::DataRecord;
|
||||
status = this->dataBuffer.serialize(id);
|
||||
status = this->m_dataBuffer.serialize(id);
|
||||
FW_ASSERT(status == Fw::FW_SERIALIZE_OK, status);
|
||||
status = this->dataBuffer.serialize(elt);
|
||||
status = this->m_dataBuffer.serialize(elt);
|
||||
FW_ASSERT(status == Fw::FW_SERIALIZE_OK, status);
|
||||
this->dataSize += sizeDelta;
|
||||
this->m_dataSize += sizeDelta;
|
||||
}
|
||||
else {
|
||||
status = Fw::FW_SERIALIZE_NO_ROOM_LEFT;
|
||||
@ -154,17 +154,17 @@ Fw::SerializeStatus ActiveGuardedProductsComponentBase::DpContainer ::
|
||||
sizeof(FwSizeType) +
|
||||
size * sizeof(U32);
|
||||
Fw::SerializeStatus status = Fw::FW_SERIALIZE_OK;
|
||||
if (this->dataBuffer.getBuffLength() + sizeDelta <= this->dataBuffer.getBuffCapacity()) {
|
||||
if (this->m_dataBuffer.getBuffLength() + sizeDelta <= this->m_dataBuffer.getBuffCapacity()) {
|
||||
const FwDpIdType id = this->baseId + RecordId::U32ArrayRecord;
|
||||
status = this->dataBuffer.serialize(id);
|
||||
status = this->m_dataBuffer.serialize(id);
|
||||
FW_ASSERT(status == Fw::FW_SERIALIZE_OK, status);
|
||||
status = this->dataBuffer.serialize(size);
|
||||
status = this->m_dataBuffer.serialize(size);
|
||||
FW_ASSERT(status == Fw::FW_SERIALIZE_OK, status);
|
||||
for (FwSizeType i = 0; i < size; i++) {
|
||||
status = this->dataBuffer.serialize(array[i]);
|
||||
status = this->m_dataBuffer.serialize(array[i]);
|
||||
FW_ASSERT(status == Fw::FW_SERIALIZE_OK, status);
|
||||
}
|
||||
this->dataSize += sizeDelta;
|
||||
this->m_dataSize += sizeDelta;
|
||||
}
|
||||
else {
|
||||
status = Fw::FW_SERIALIZE_NO_ROOM_LEFT;
|
||||
@ -179,13 +179,13 @@ Fw::SerializeStatus ActiveGuardedProductsComponentBase::DpContainer ::
|
||||
sizeof(FwDpIdType) +
|
||||
sizeof(U32);
|
||||
Fw::SerializeStatus status = Fw::FW_SERIALIZE_OK;
|
||||
if (this->dataBuffer.getBuffLength() + sizeDelta <= this->dataBuffer.getBuffCapacity()) {
|
||||
if (this->m_dataBuffer.getBuffLength() + sizeDelta <= this->m_dataBuffer.getBuffCapacity()) {
|
||||
const FwDpIdType id = this->baseId + RecordId::U32Record;
|
||||
status = this->dataBuffer.serialize(id);
|
||||
status = this->m_dataBuffer.serialize(id);
|
||||
FW_ASSERT(status == Fw::FW_SERIALIZE_OK, status);
|
||||
status = this->dataBuffer.serialize(elt);
|
||||
status = this->m_dataBuffer.serialize(elt);
|
||||
FW_ASSERT(status == Fw::FW_SERIALIZE_OK, status);
|
||||
this->dataSize += sizeDelta;
|
||||
this->m_dataSize += sizeDelta;
|
||||
}
|
||||
else {
|
||||
status = Fw::FW_SERIALIZE_NO_ROOM_LEFT;
|
||||
@ -205,16 +205,16 @@ Fw::SerializeStatus ActiveGuardedProductsComponentBase::DpContainer ::
|
||||
sizeof(FwSizeType) +
|
||||
size * sizeof(U8);
|
||||
Fw::SerializeStatus status = Fw::FW_SERIALIZE_OK;
|
||||
if (this->dataBuffer.getBuffLength() + sizeDelta <= this->dataBuffer.getBuffCapacity()) {
|
||||
if (this->m_dataBuffer.getBuffLength() + sizeDelta <= this->m_dataBuffer.getBuffCapacity()) {
|
||||
const FwDpIdType id = this->baseId + RecordId::U8ArrayRecord;
|
||||
status = this->dataBuffer.serialize(id);
|
||||
status = this->m_dataBuffer.serialize(id);
|
||||
FW_ASSERT(status == Fw::FW_SERIALIZE_OK, status);
|
||||
status = this->dataBuffer.serialize(size);
|
||||
status = this->m_dataBuffer.serialize(size);
|
||||
FW_ASSERT(status == Fw::FW_SERIALIZE_OK, status);
|
||||
const bool omitSerializedLength = true;
|
||||
status = this->dataBuffer.serialize(array, size, omitSerializedLength);
|
||||
status = this->m_dataBuffer.serialize(array, size, omitSerializedLength);
|
||||
FW_ASSERT(status == Fw::FW_SERIALIZE_OK, status);
|
||||
this->dataSize += sizeDelta;
|
||||
this->m_dataSize += sizeDelta;
|
||||
}
|
||||
else {
|
||||
status = Fw::FW_SERIALIZE_NO_ROOM_LEFT;
|
||||
|
||||
@ -103,17 +103,17 @@ Fw::SerializeStatus ActiveSyncProductsComponentBase::DpContainer ::
|
||||
sizeof(FwSizeType) +
|
||||
size * ActiveSyncProducts_Data::SERIALIZED_SIZE;
|
||||
Fw::SerializeStatus status = Fw::FW_SERIALIZE_OK;
|
||||
if (this->dataBuffer.getBuffLength() + sizeDelta <= this->dataBuffer.getBuffCapacity()) {
|
||||
if (this->m_dataBuffer.getBuffLength() + sizeDelta <= this->m_dataBuffer.getBuffCapacity()) {
|
||||
const FwDpIdType id = this->baseId + RecordId::DataArrayRecord;
|
||||
status = this->dataBuffer.serialize(id);
|
||||
status = this->m_dataBuffer.serialize(id);
|
||||
FW_ASSERT(status == Fw::FW_SERIALIZE_OK, status);
|
||||
status = this->dataBuffer.serialize(size);
|
||||
status = this->m_dataBuffer.serialize(size);
|
||||
FW_ASSERT(status == Fw::FW_SERIALIZE_OK, status);
|
||||
for (FwSizeType i = 0; i < size; i++) {
|
||||
status = this->dataBuffer.serialize(array[i]);
|
||||
status = this->m_dataBuffer.serialize(array[i]);
|
||||
FW_ASSERT(status == Fw::FW_SERIALIZE_OK, status);
|
||||
}
|
||||
this->dataSize += sizeDelta;
|
||||
this->m_dataSize += sizeDelta;
|
||||
}
|
||||
else {
|
||||
status = Fw::FW_SERIALIZE_NO_ROOM_LEFT;
|
||||
@ -128,13 +128,13 @@ Fw::SerializeStatus ActiveSyncProductsComponentBase::DpContainer ::
|
||||
sizeof(FwDpIdType) +
|
||||
ActiveSyncProducts_Data::SERIALIZED_SIZE;
|
||||
Fw::SerializeStatus status = Fw::FW_SERIALIZE_OK;
|
||||
if (this->dataBuffer.getBuffLength() + sizeDelta <= this->dataBuffer.getBuffCapacity()) {
|
||||
if (this->m_dataBuffer.getBuffLength() + sizeDelta <= this->m_dataBuffer.getBuffCapacity()) {
|
||||
const FwDpIdType id = this->baseId + RecordId::DataRecord;
|
||||
status = this->dataBuffer.serialize(id);
|
||||
status = this->m_dataBuffer.serialize(id);
|
||||
FW_ASSERT(status == Fw::FW_SERIALIZE_OK, status);
|
||||
status = this->dataBuffer.serialize(elt);
|
||||
status = this->m_dataBuffer.serialize(elt);
|
||||
FW_ASSERT(status == Fw::FW_SERIALIZE_OK, status);
|
||||
this->dataSize += sizeDelta;
|
||||
this->m_dataSize += sizeDelta;
|
||||
}
|
||||
else {
|
||||
status = Fw::FW_SERIALIZE_NO_ROOM_LEFT;
|
||||
@ -154,17 +154,17 @@ Fw::SerializeStatus ActiveSyncProductsComponentBase::DpContainer ::
|
||||
sizeof(FwSizeType) +
|
||||
size * sizeof(U32);
|
||||
Fw::SerializeStatus status = Fw::FW_SERIALIZE_OK;
|
||||
if (this->dataBuffer.getBuffLength() + sizeDelta <= this->dataBuffer.getBuffCapacity()) {
|
||||
if (this->m_dataBuffer.getBuffLength() + sizeDelta <= this->m_dataBuffer.getBuffCapacity()) {
|
||||
const FwDpIdType id = this->baseId + RecordId::U32ArrayRecord;
|
||||
status = this->dataBuffer.serialize(id);
|
||||
status = this->m_dataBuffer.serialize(id);
|
||||
FW_ASSERT(status == Fw::FW_SERIALIZE_OK, status);
|
||||
status = this->dataBuffer.serialize(size);
|
||||
status = this->m_dataBuffer.serialize(size);
|
||||
FW_ASSERT(status == Fw::FW_SERIALIZE_OK, status);
|
||||
for (FwSizeType i = 0; i < size; i++) {
|
||||
status = this->dataBuffer.serialize(array[i]);
|
||||
status = this->m_dataBuffer.serialize(array[i]);
|
||||
FW_ASSERT(status == Fw::FW_SERIALIZE_OK, status);
|
||||
}
|
||||
this->dataSize += sizeDelta;
|
||||
this->m_dataSize += sizeDelta;
|
||||
}
|
||||
else {
|
||||
status = Fw::FW_SERIALIZE_NO_ROOM_LEFT;
|
||||
@ -179,13 +179,13 @@ Fw::SerializeStatus ActiveSyncProductsComponentBase::DpContainer ::
|
||||
sizeof(FwDpIdType) +
|
||||
sizeof(U32);
|
||||
Fw::SerializeStatus status = Fw::FW_SERIALIZE_OK;
|
||||
if (this->dataBuffer.getBuffLength() + sizeDelta <= this->dataBuffer.getBuffCapacity()) {
|
||||
if (this->m_dataBuffer.getBuffLength() + sizeDelta <= this->m_dataBuffer.getBuffCapacity()) {
|
||||
const FwDpIdType id = this->baseId + RecordId::U32Record;
|
||||
status = this->dataBuffer.serialize(id);
|
||||
status = this->m_dataBuffer.serialize(id);
|
||||
FW_ASSERT(status == Fw::FW_SERIALIZE_OK, status);
|
||||
status = this->dataBuffer.serialize(elt);
|
||||
status = this->m_dataBuffer.serialize(elt);
|
||||
FW_ASSERT(status == Fw::FW_SERIALIZE_OK, status);
|
||||
this->dataSize += sizeDelta;
|
||||
this->m_dataSize += sizeDelta;
|
||||
}
|
||||
else {
|
||||
status = Fw::FW_SERIALIZE_NO_ROOM_LEFT;
|
||||
@ -205,16 +205,16 @@ Fw::SerializeStatus ActiveSyncProductsComponentBase::DpContainer ::
|
||||
sizeof(FwSizeType) +
|
||||
size * sizeof(U8);
|
||||
Fw::SerializeStatus status = Fw::FW_SERIALIZE_OK;
|
||||
if (this->dataBuffer.getBuffLength() + sizeDelta <= this->dataBuffer.getBuffCapacity()) {
|
||||
if (this->m_dataBuffer.getBuffLength() + sizeDelta <= this->m_dataBuffer.getBuffCapacity()) {
|
||||
const FwDpIdType id = this->baseId + RecordId::U8ArrayRecord;
|
||||
status = this->dataBuffer.serialize(id);
|
||||
status = this->m_dataBuffer.serialize(id);
|
||||
FW_ASSERT(status == Fw::FW_SERIALIZE_OK, status);
|
||||
status = this->dataBuffer.serialize(size);
|
||||
status = this->m_dataBuffer.serialize(size);
|
||||
FW_ASSERT(status == Fw::FW_SERIALIZE_OK, status);
|
||||
const bool omitSerializedLength = true;
|
||||
status = this->dataBuffer.serialize(array, size, omitSerializedLength);
|
||||
status = this->m_dataBuffer.serialize(array, size, omitSerializedLength);
|
||||
FW_ASSERT(status == Fw::FW_SERIALIZE_OK, status);
|
||||
this->dataSize += sizeDelta;
|
||||
this->m_dataSize += sizeDelta;
|
||||
}
|
||||
else {
|
||||
status = Fw::FW_SERIALIZE_NO_ROOM_LEFT;
|
||||
|
||||
@ -141,17 +141,17 @@ namespace M {
|
||||
sizeof(FwSizeType) +
|
||||
size * M::ActiveTest_Data::SERIALIZED_SIZE;
|
||||
Fw::SerializeStatus status = Fw::FW_SERIALIZE_OK;
|
||||
if (this->dataBuffer.getBuffLength() + sizeDelta <= this->dataBuffer.getBuffCapacity()) {
|
||||
if (this->m_dataBuffer.getBuffLength() + sizeDelta <= this->m_dataBuffer.getBuffCapacity()) {
|
||||
const FwDpIdType id = this->baseId + RecordId::DataArrayRecord;
|
||||
status = this->dataBuffer.serialize(id);
|
||||
status = this->m_dataBuffer.serialize(id);
|
||||
FW_ASSERT(status == Fw::FW_SERIALIZE_OK, status);
|
||||
status = this->dataBuffer.serialize(size);
|
||||
status = this->m_dataBuffer.serialize(size);
|
||||
FW_ASSERT(status == Fw::FW_SERIALIZE_OK, status);
|
||||
for (FwSizeType i = 0; i < size; i++) {
|
||||
status = this->dataBuffer.serialize(array[i]);
|
||||
status = this->m_dataBuffer.serialize(array[i]);
|
||||
FW_ASSERT(status == Fw::FW_SERIALIZE_OK, status);
|
||||
}
|
||||
this->dataSize += sizeDelta;
|
||||
this->m_dataSize += sizeDelta;
|
||||
}
|
||||
else {
|
||||
status = Fw::FW_SERIALIZE_NO_ROOM_LEFT;
|
||||
@ -166,13 +166,13 @@ namespace M {
|
||||
sizeof(FwDpIdType) +
|
||||
M::ActiveTest_Data::SERIALIZED_SIZE;
|
||||
Fw::SerializeStatus status = Fw::FW_SERIALIZE_OK;
|
||||
if (this->dataBuffer.getBuffLength() + sizeDelta <= this->dataBuffer.getBuffCapacity()) {
|
||||
if (this->m_dataBuffer.getBuffLength() + sizeDelta <= this->m_dataBuffer.getBuffCapacity()) {
|
||||
const FwDpIdType id = this->baseId + RecordId::DataRecord;
|
||||
status = this->dataBuffer.serialize(id);
|
||||
status = this->m_dataBuffer.serialize(id);
|
||||
FW_ASSERT(status == Fw::FW_SERIALIZE_OK, status);
|
||||
status = this->dataBuffer.serialize(elt);
|
||||
status = this->m_dataBuffer.serialize(elt);
|
||||
FW_ASSERT(status == Fw::FW_SERIALIZE_OK, status);
|
||||
this->dataSize += sizeDelta;
|
||||
this->m_dataSize += sizeDelta;
|
||||
}
|
||||
else {
|
||||
status = Fw::FW_SERIALIZE_NO_ROOM_LEFT;
|
||||
@ -192,17 +192,17 @@ namespace M {
|
||||
sizeof(FwSizeType) +
|
||||
size * sizeof(U32);
|
||||
Fw::SerializeStatus status = Fw::FW_SERIALIZE_OK;
|
||||
if (this->dataBuffer.getBuffLength() + sizeDelta <= this->dataBuffer.getBuffCapacity()) {
|
||||
if (this->m_dataBuffer.getBuffLength() + sizeDelta <= this->m_dataBuffer.getBuffCapacity()) {
|
||||
const FwDpIdType id = this->baseId + RecordId::U32ArrayRecord;
|
||||
status = this->dataBuffer.serialize(id);
|
||||
status = this->m_dataBuffer.serialize(id);
|
||||
FW_ASSERT(status == Fw::FW_SERIALIZE_OK, status);
|
||||
status = this->dataBuffer.serialize(size);
|
||||
status = this->m_dataBuffer.serialize(size);
|
||||
FW_ASSERT(status == Fw::FW_SERIALIZE_OK, status);
|
||||
for (FwSizeType i = 0; i < size; i++) {
|
||||
status = this->dataBuffer.serialize(array[i]);
|
||||
status = this->m_dataBuffer.serialize(array[i]);
|
||||
FW_ASSERT(status == Fw::FW_SERIALIZE_OK, status);
|
||||
}
|
||||
this->dataSize += sizeDelta;
|
||||
this->m_dataSize += sizeDelta;
|
||||
}
|
||||
else {
|
||||
status = Fw::FW_SERIALIZE_NO_ROOM_LEFT;
|
||||
@ -217,13 +217,13 @@ namespace M {
|
||||
sizeof(FwDpIdType) +
|
||||
sizeof(U32);
|
||||
Fw::SerializeStatus status = Fw::FW_SERIALIZE_OK;
|
||||
if (this->dataBuffer.getBuffLength() + sizeDelta <= this->dataBuffer.getBuffCapacity()) {
|
||||
if (this->m_dataBuffer.getBuffLength() + sizeDelta <= this->m_dataBuffer.getBuffCapacity()) {
|
||||
const FwDpIdType id = this->baseId + RecordId::U32Record;
|
||||
status = this->dataBuffer.serialize(id);
|
||||
status = this->m_dataBuffer.serialize(id);
|
||||
FW_ASSERT(status == Fw::FW_SERIALIZE_OK, status);
|
||||
status = this->dataBuffer.serialize(elt);
|
||||
status = this->m_dataBuffer.serialize(elt);
|
||||
FW_ASSERT(status == Fw::FW_SERIALIZE_OK, status);
|
||||
this->dataSize += sizeDelta;
|
||||
this->m_dataSize += sizeDelta;
|
||||
}
|
||||
else {
|
||||
status = Fw::FW_SERIALIZE_NO_ROOM_LEFT;
|
||||
@ -243,16 +243,16 @@ namespace M {
|
||||
sizeof(FwSizeType) +
|
||||
size * sizeof(U8);
|
||||
Fw::SerializeStatus status = Fw::FW_SERIALIZE_OK;
|
||||
if (this->dataBuffer.getBuffLength() + sizeDelta <= this->dataBuffer.getBuffCapacity()) {
|
||||
if (this->m_dataBuffer.getBuffLength() + sizeDelta <= this->m_dataBuffer.getBuffCapacity()) {
|
||||
const FwDpIdType id = this->baseId + RecordId::U8ArrayRecord;
|
||||
status = this->dataBuffer.serialize(id);
|
||||
status = this->m_dataBuffer.serialize(id);
|
||||
FW_ASSERT(status == Fw::FW_SERIALIZE_OK, status);
|
||||
status = this->dataBuffer.serialize(size);
|
||||
status = this->m_dataBuffer.serialize(size);
|
||||
FW_ASSERT(status == Fw::FW_SERIALIZE_OK, status);
|
||||
const bool omitSerializedLength = true;
|
||||
status = this->dataBuffer.serialize(array, size, omitSerializedLength);
|
||||
status = this->m_dataBuffer.serialize(array, size, omitSerializedLength);
|
||||
FW_ASSERT(status == Fw::FW_SERIALIZE_OK, status);
|
||||
this->dataSize += sizeDelta;
|
||||
this->m_dataSize += sizeDelta;
|
||||
}
|
||||
else {
|
||||
status = Fw::FW_SERIALIZE_NO_ROOM_LEFT;
|
||||
|
||||
@ -48,17 +48,17 @@ Fw::SerializeStatus PassiveGetProductsComponentBase::DpContainer ::
|
||||
sizeof(FwSizeType) +
|
||||
size * PassiveGetProducts_Data::SERIALIZED_SIZE;
|
||||
Fw::SerializeStatus status = Fw::FW_SERIALIZE_OK;
|
||||
if (this->dataBuffer.getBuffLength() + sizeDelta <= this->dataBuffer.getBuffCapacity()) {
|
||||
if (this->m_dataBuffer.getBuffLength() + sizeDelta <= this->m_dataBuffer.getBuffCapacity()) {
|
||||
const FwDpIdType id = this->baseId + RecordId::DataArrayRecord;
|
||||
status = this->dataBuffer.serialize(id);
|
||||
status = this->m_dataBuffer.serialize(id);
|
||||
FW_ASSERT(status == Fw::FW_SERIALIZE_OK, status);
|
||||
status = this->dataBuffer.serialize(size);
|
||||
status = this->m_dataBuffer.serialize(size);
|
||||
FW_ASSERT(status == Fw::FW_SERIALIZE_OK, status);
|
||||
for (FwSizeType i = 0; i < size; i++) {
|
||||
status = this->dataBuffer.serialize(array[i]);
|
||||
status = this->m_dataBuffer.serialize(array[i]);
|
||||
FW_ASSERT(status == Fw::FW_SERIALIZE_OK, status);
|
||||
}
|
||||
this->dataSize += sizeDelta;
|
||||
this->m_dataSize += sizeDelta;
|
||||
}
|
||||
else {
|
||||
status = Fw::FW_SERIALIZE_NO_ROOM_LEFT;
|
||||
@ -73,13 +73,13 @@ Fw::SerializeStatus PassiveGetProductsComponentBase::DpContainer ::
|
||||
sizeof(FwDpIdType) +
|
||||
PassiveGetProducts_Data::SERIALIZED_SIZE;
|
||||
Fw::SerializeStatus status = Fw::FW_SERIALIZE_OK;
|
||||
if (this->dataBuffer.getBuffLength() + sizeDelta <= this->dataBuffer.getBuffCapacity()) {
|
||||
if (this->m_dataBuffer.getBuffLength() + sizeDelta <= this->m_dataBuffer.getBuffCapacity()) {
|
||||
const FwDpIdType id = this->baseId + RecordId::DataRecord;
|
||||
status = this->dataBuffer.serialize(id);
|
||||
status = this->m_dataBuffer.serialize(id);
|
||||
FW_ASSERT(status == Fw::FW_SERIALIZE_OK, status);
|
||||
status = this->dataBuffer.serialize(elt);
|
||||
status = this->m_dataBuffer.serialize(elt);
|
||||
FW_ASSERT(status == Fw::FW_SERIALIZE_OK, status);
|
||||
this->dataSize += sizeDelta;
|
||||
this->m_dataSize += sizeDelta;
|
||||
}
|
||||
else {
|
||||
status = Fw::FW_SERIALIZE_NO_ROOM_LEFT;
|
||||
@ -99,17 +99,17 @@ Fw::SerializeStatus PassiveGetProductsComponentBase::DpContainer ::
|
||||
sizeof(FwSizeType) +
|
||||
size * sizeof(U32);
|
||||
Fw::SerializeStatus status = Fw::FW_SERIALIZE_OK;
|
||||
if (this->dataBuffer.getBuffLength() + sizeDelta <= this->dataBuffer.getBuffCapacity()) {
|
||||
if (this->m_dataBuffer.getBuffLength() + sizeDelta <= this->m_dataBuffer.getBuffCapacity()) {
|
||||
const FwDpIdType id = this->baseId + RecordId::U32ArrayRecord;
|
||||
status = this->dataBuffer.serialize(id);
|
||||
status = this->m_dataBuffer.serialize(id);
|
||||
FW_ASSERT(status == Fw::FW_SERIALIZE_OK, status);
|
||||
status = this->dataBuffer.serialize(size);
|
||||
status = this->m_dataBuffer.serialize(size);
|
||||
FW_ASSERT(status == Fw::FW_SERIALIZE_OK, status);
|
||||
for (FwSizeType i = 0; i < size; i++) {
|
||||
status = this->dataBuffer.serialize(array[i]);
|
||||
status = this->m_dataBuffer.serialize(array[i]);
|
||||
FW_ASSERT(status == Fw::FW_SERIALIZE_OK, status);
|
||||
}
|
||||
this->dataSize += sizeDelta;
|
||||
this->m_dataSize += sizeDelta;
|
||||
}
|
||||
else {
|
||||
status = Fw::FW_SERIALIZE_NO_ROOM_LEFT;
|
||||
@ -124,13 +124,13 @@ Fw::SerializeStatus PassiveGetProductsComponentBase::DpContainer ::
|
||||
sizeof(FwDpIdType) +
|
||||
sizeof(U32);
|
||||
Fw::SerializeStatus status = Fw::FW_SERIALIZE_OK;
|
||||
if (this->dataBuffer.getBuffLength() + sizeDelta <= this->dataBuffer.getBuffCapacity()) {
|
||||
if (this->m_dataBuffer.getBuffLength() + sizeDelta <= this->m_dataBuffer.getBuffCapacity()) {
|
||||
const FwDpIdType id = this->baseId + RecordId::U32Record;
|
||||
status = this->dataBuffer.serialize(id);
|
||||
status = this->m_dataBuffer.serialize(id);
|
||||
FW_ASSERT(status == Fw::FW_SERIALIZE_OK, status);
|
||||
status = this->dataBuffer.serialize(elt);
|
||||
status = this->m_dataBuffer.serialize(elt);
|
||||
FW_ASSERT(status == Fw::FW_SERIALIZE_OK, status);
|
||||
this->dataSize += sizeDelta;
|
||||
this->m_dataSize += sizeDelta;
|
||||
}
|
||||
else {
|
||||
status = Fw::FW_SERIALIZE_NO_ROOM_LEFT;
|
||||
@ -150,16 +150,16 @@ Fw::SerializeStatus PassiveGetProductsComponentBase::DpContainer ::
|
||||
sizeof(FwSizeType) +
|
||||
size * sizeof(U8);
|
||||
Fw::SerializeStatus status = Fw::FW_SERIALIZE_OK;
|
||||
if (this->dataBuffer.getBuffLength() + sizeDelta <= this->dataBuffer.getBuffCapacity()) {
|
||||
if (this->m_dataBuffer.getBuffLength() + sizeDelta <= this->m_dataBuffer.getBuffCapacity()) {
|
||||
const FwDpIdType id = this->baseId + RecordId::U8ArrayRecord;
|
||||
status = this->dataBuffer.serialize(id);
|
||||
status = this->m_dataBuffer.serialize(id);
|
||||
FW_ASSERT(status == Fw::FW_SERIALIZE_OK, status);
|
||||
status = this->dataBuffer.serialize(size);
|
||||
status = this->m_dataBuffer.serialize(size);
|
||||
FW_ASSERT(status == Fw::FW_SERIALIZE_OK, status);
|
||||
const bool omitSerializedLength = true;
|
||||
status = this->dataBuffer.serialize(array, size, omitSerializedLength);
|
||||
status = this->m_dataBuffer.serialize(array, size, omitSerializedLength);
|
||||
FW_ASSERT(status == Fw::FW_SERIALIZE_OK, status);
|
||||
this->dataSize += sizeDelta;
|
||||
this->m_dataSize += sizeDelta;
|
||||
}
|
||||
else {
|
||||
status = Fw::FW_SERIALIZE_NO_ROOM_LEFT;
|
||||
|
||||
@ -48,17 +48,17 @@ Fw::SerializeStatus PassiveGuardedProductsComponentBase::DpContainer ::
|
||||
sizeof(FwSizeType) +
|
||||
size * PassiveGuardedProducts_Data::SERIALIZED_SIZE;
|
||||
Fw::SerializeStatus status = Fw::FW_SERIALIZE_OK;
|
||||
if (this->dataBuffer.getBuffLength() + sizeDelta <= this->dataBuffer.getBuffCapacity()) {
|
||||
if (this->m_dataBuffer.getBuffLength() + sizeDelta <= this->m_dataBuffer.getBuffCapacity()) {
|
||||
const FwDpIdType id = this->baseId + RecordId::DataArrayRecord;
|
||||
status = this->dataBuffer.serialize(id);
|
||||
status = this->m_dataBuffer.serialize(id);
|
||||
FW_ASSERT(status == Fw::FW_SERIALIZE_OK, status);
|
||||
status = this->dataBuffer.serialize(size);
|
||||
status = this->m_dataBuffer.serialize(size);
|
||||
FW_ASSERT(status == Fw::FW_SERIALIZE_OK, status);
|
||||
for (FwSizeType i = 0; i < size; i++) {
|
||||
status = this->dataBuffer.serialize(array[i]);
|
||||
status = this->m_dataBuffer.serialize(array[i]);
|
||||
FW_ASSERT(status == Fw::FW_SERIALIZE_OK, status);
|
||||
}
|
||||
this->dataSize += sizeDelta;
|
||||
this->m_dataSize += sizeDelta;
|
||||
}
|
||||
else {
|
||||
status = Fw::FW_SERIALIZE_NO_ROOM_LEFT;
|
||||
@ -73,13 +73,13 @@ Fw::SerializeStatus PassiveGuardedProductsComponentBase::DpContainer ::
|
||||
sizeof(FwDpIdType) +
|
||||
PassiveGuardedProducts_Data::SERIALIZED_SIZE;
|
||||
Fw::SerializeStatus status = Fw::FW_SERIALIZE_OK;
|
||||
if (this->dataBuffer.getBuffLength() + sizeDelta <= this->dataBuffer.getBuffCapacity()) {
|
||||
if (this->m_dataBuffer.getBuffLength() + sizeDelta <= this->m_dataBuffer.getBuffCapacity()) {
|
||||
const FwDpIdType id = this->baseId + RecordId::DataRecord;
|
||||
status = this->dataBuffer.serialize(id);
|
||||
status = this->m_dataBuffer.serialize(id);
|
||||
FW_ASSERT(status == Fw::FW_SERIALIZE_OK, status);
|
||||
status = this->dataBuffer.serialize(elt);
|
||||
status = this->m_dataBuffer.serialize(elt);
|
||||
FW_ASSERT(status == Fw::FW_SERIALIZE_OK, status);
|
||||
this->dataSize += sizeDelta;
|
||||
this->m_dataSize += sizeDelta;
|
||||
}
|
||||
else {
|
||||
status = Fw::FW_SERIALIZE_NO_ROOM_LEFT;
|
||||
@ -99,17 +99,17 @@ Fw::SerializeStatus PassiveGuardedProductsComponentBase::DpContainer ::
|
||||
sizeof(FwSizeType) +
|
||||
size * sizeof(U32);
|
||||
Fw::SerializeStatus status = Fw::FW_SERIALIZE_OK;
|
||||
if (this->dataBuffer.getBuffLength() + sizeDelta <= this->dataBuffer.getBuffCapacity()) {
|
||||
if (this->m_dataBuffer.getBuffLength() + sizeDelta <= this->m_dataBuffer.getBuffCapacity()) {
|
||||
const FwDpIdType id = this->baseId + RecordId::U32ArrayRecord;
|
||||
status = this->dataBuffer.serialize(id);
|
||||
status = this->m_dataBuffer.serialize(id);
|
||||
FW_ASSERT(status == Fw::FW_SERIALIZE_OK, status);
|
||||
status = this->dataBuffer.serialize(size);
|
||||
status = this->m_dataBuffer.serialize(size);
|
||||
FW_ASSERT(status == Fw::FW_SERIALIZE_OK, status);
|
||||
for (FwSizeType i = 0; i < size; i++) {
|
||||
status = this->dataBuffer.serialize(array[i]);
|
||||
status = this->m_dataBuffer.serialize(array[i]);
|
||||
FW_ASSERT(status == Fw::FW_SERIALIZE_OK, status);
|
||||
}
|
||||
this->dataSize += sizeDelta;
|
||||
this->m_dataSize += sizeDelta;
|
||||
}
|
||||
else {
|
||||
status = Fw::FW_SERIALIZE_NO_ROOM_LEFT;
|
||||
@ -124,13 +124,13 @@ Fw::SerializeStatus PassiveGuardedProductsComponentBase::DpContainer ::
|
||||
sizeof(FwDpIdType) +
|
||||
sizeof(U32);
|
||||
Fw::SerializeStatus status = Fw::FW_SERIALIZE_OK;
|
||||
if (this->dataBuffer.getBuffLength() + sizeDelta <= this->dataBuffer.getBuffCapacity()) {
|
||||
if (this->m_dataBuffer.getBuffLength() + sizeDelta <= this->m_dataBuffer.getBuffCapacity()) {
|
||||
const FwDpIdType id = this->baseId + RecordId::U32Record;
|
||||
status = this->dataBuffer.serialize(id);
|
||||
status = this->m_dataBuffer.serialize(id);
|
||||
FW_ASSERT(status == Fw::FW_SERIALIZE_OK, status);
|
||||
status = this->dataBuffer.serialize(elt);
|
||||
status = this->m_dataBuffer.serialize(elt);
|
||||
FW_ASSERT(status == Fw::FW_SERIALIZE_OK, status);
|
||||
this->dataSize += sizeDelta;
|
||||
this->m_dataSize += sizeDelta;
|
||||
}
|
||||
else {
|
||||
status = Fw::FW_SERIALIZE_NO_ROOM_LEFT;
|
||||
@ -150,16 +150,16 @@ Fw::SerializeStatus PassiveGuardedProductsComponentBase::DpContainer ::
|
||||
sizeof(FwSizeType) +
|
||||
size * sizeof(U8);
|
||||
Fw::SerializeStatus status = Fw::FW_SERIALIZE_OK;
|
||||
if (this->dataBuffer.getBuffLength() + sizeDelta <= this->dataBuffer.getBuffCapacity()) {
|
||||
if (this->m_dataBuffer.getBuffLength() + sizeDelta <= this->m_dataBuffer.getBuffCapacity()) {
|
||||
const FwDpIdType id = this->baseId + RecordId::U8ArrayRecord;
|
||||
status = this->dataBuffer.serialize(id);
|
||||
status = this->m_dataBuffer.serialize(id);
|
||||
FW_ASSERT(status == Fw::FW_SERIALIZE_OK, status);
|
||||
status = this->dataBuffer.serialize(size);
|
||||
status = this->m_dataBuffer.serialize(size);
|
||||
FW_ASSERT(status == Fw::FW_SERIALIZE_OK, status);
|
||||
const bool omitSerializedLength = true;
|
||||
status = this->dataBuffer.serialize(array, size, omitSerializedLength);
|
||||
status = this->m_dataBuffer.serialize(array, size, omitSerializedLength);
|
||||
FW_ASSERT(status == Fw::FW_SERIALIZE_OK, status);
|
||||
this->dataSize += sizeDelta;
|
||||
this->m_dataSize += sizeDelta;
|
||||
}
|
||||
else {
|
||||
status = Fw::FW_SERIALIZE_NO_ROOM_LEFT;
|
||||
|
||||
@ -48,17 +48,17 @@ Fw::SerializeStatus PassiveSyncProductsComponentBase::DpContainer ::
|
||||
sizeof(FwSizeType) +
|
||||
size * PassiveSyncProducts_Data::SERIALIZED_SIZE;
|
||||
Fw::SerializeStatus status = Fw::FW_SERIALIZE_OK;
|
||||
if (this->dataBuffer.getBuffLength() + sizeDelta <= this->dataBuffer.getBuffCapacity()) {
|
||||
if (this->m_dataBuffer.getBuffLength() + sizeDelta <= this->m_dataBuffer.getBuffCapacity()) {
|
||||
const FwDpIdType id = this->baseId + RecordId::DataArrayRecord;
|
||||
status = this->dataBuffer.serialize(id);
|
||||
status = this->m_dataBuffer.serialize(id);
|
||||
FW_ASSERT(status == Fw::FW_SERIALIZE_OK, status);
|
||||
status = this->dataBuffer.serialize(size);
|
||||
status = this->m_dataBuffer.serialize(size);
|
||||
FW_ASSERT(status == Fw::FW_SERIALIZE_OK, status);
|
||||
for (FwSizeType i = 0; i < size; i++) {
|
||||
status = this->dataBuffer.serialize(array[i]);
|
||||
status = this->m_dataBuffer.serialize(array[i]);
|
||||
FW_ASSERT(status == Fw::FW_SERIALIZE_OK, status);
|
||||
}
|
||||
this->dataSize += sizeDelta;
|
||||
this->m_dataSize += sizeDelta;
|
||||
}
|
||||
else {
|
||||
status = Fw::FW_SERIALIZE_NO_ROOM_LEFT;
|
||||
@ -73,13 +73,13 @@ Fw::SerializeStatus PassiveSyncProductsComponentBase::DpContainer ::
|
||||
sizeof(FwDpIdType) +
|
||||
PassiveSyncProducts_Data::SERIALIZED_SIZE;
|
||||
Fw::SerializeStatus status = Fw::FW_SERIALIZE_OK;
|
||||
if (this->dataBuffer.getBuffLength() + sizeDelta <= this->dataBuffer.getBuffCapacity()) {
|
||||
if (this->m_dataBuffer.getBuffLength() + sizeDelta <= this->m_dataBuffer.getBuffCapacity()) {
|
||||
const FwDpIdType id = this->baseId + RecordId::DataRecord;
|
||||
status = this->dataBuffer.serialize(id);
|
||||
status = this->m_dataBuffer.serialize(id);
|
||||
FW_ASSERT(status == Fw::FW_SERIALIZE_OK, status);
|
||||
status = this->dataBuffer.serialize(elt);
|
||||
status = this->m_dataBuffer.serialize(elt);
|
||||
FW_ASSERT(status == Fw::FW_SERIALIZE_OK, status);
|
||||
this->dataSize += sizeDelta;
|
||||
this->m_dataSize += sizeDelta;
|
||||
}
|
||||
else {
|
||||
status = Fw::FW_SERIALIZE_NO_ROOM_LEFT;
|
||||
@ -99,17 +99,17 @@ Fw::SerializeStatus PassiveSyncProductsComponentBase::DpContainer ::
|
||||
sizeof(FwSizeType) +
|
||||
size * sizeof(U32);
|
||||
Fw::SerializeStatus status = Fw::FW_SERIALIZE_OK;
|
||||
if (this->dataBuffer.getBuffLength() + sizeDelta <= this->dataBuffer.getBuffCapacity()) {
|
||||
if (this->m_dataBuffer.getBuffLength() + sizeDelta <= this->m_dataBuffer.getBuffCapacity()) {
|
||||
const FwDpIdType id = this->baseId + RecordId::U32ArrayRecord;
|
||||
status = this->dataBuffer.serialize(id);
|
||||
status = this->m_dataBuffer.serialize(id);
|
||||
FW_ASSERT(status == Fw::FW_SERIALIZE_OK, status);
|
||||
status = this->dataBuffer.serialize(size);
|
||||
status = this->m_dataBuffer.serialize(size);
|
||||
FW_ASSERT(status == Fw::FW_SERIALIZE_OK, status);
|
||||
for (FwSizeType i = 0; i < size; i++) {
|
||||
status = this->dataBuffer.serialize(array[i]);
|
||||
status = this->m_dataBuffer.serialize(array[i]);
|
||||
FW_ASSERT(status == Fw::FW_SERIALIZE_OK, status);
|
||||
}
|
||||
this->dataSize += sizeDelta;
|
||||
this->m_dataSize += sizeDelta;
|
||||
}
|
||||
else {
|
||||
status = Fw::FW_SERIALIZE_NO_ROOM_LEFT;
|
||||
@ -124,13 +124,13 @@ Fw::SerializeStatus PassiveSyncProductsComponentBase::DpContainer ::
|
||||
sizeof(FwDpIdType) +
|
||||
sizeof(U32);
|
||||
Fw::SerializeStatus status = Fw::FW_SERIALIZE_OK;
|
||||
if (this->dataBuffer.getBuffLength() + sizeDelta <= this->dataBuffer.getBuffCapacity()) {
|
||||
if (this->m_dataBuffer.getBuffLength() + sizeDelta <= this->m_dataBuffer.getBuffCapacity()) {
|
||||
const FwDpIdType id = this->baseId + RecordId::U32Record;
|
||||
status = this->dataBuffer.serialize(id);
|
||||
status = this->m_dataBuffer.serialize(id);
|
||||
FW_ASSERT(status == Fw::FW_SERIALIZE_OK, status);
|
||||
status = this->dataBuffer.serialize(elt);
|
||||
status = this->m_dataBuffer.serialize(elt);
|
||||
FW_ASSERT(status == Fw::FW_SERIALIZE_OK, status);
|
||||
this->dataSize += sizeDelta;
|
||||
this->m_dataSize += sizeDelta;
|
||||
}
|
||||
else {
|
||||
status = Fw::FW_SERIALIZE_NO_ROOM_LEFT;
|
||||
@ -150,16 +150,16 @@ Fw::SerializeStatus PassiveSyncProductsComponentBase::DpContainer ::
|
||||
sizeof(FwSizeType) +
|
||||
size * sizeof(U8);
|
||||
Fw::SerializeStatus status = Fw::FW_SERIALIZE_OK;
|
||||
if (this->dataBuffer.getBuffLength() + sizeDelta <= this->dataBuffer.getBuffCapacity()) {
|
||||
if (this->m_dataBuffer.getBuffLength() + sizeDelta <= this->m_dataBuffer.getBuffCapacity()) {
|
||||
const FwDpIdType id = this->baseId + RecordId::U8ArrayRecord;
|
||||
status = this->dataBuffer.serialize(id);
|
||||
status = this->m_dataBuffer.serialize(id);
|
||||
FW_ASSERT(status == Fw::FW_SERIALIZE_OK, status);
|
||||
status = this->dataBuffer.serialize(size);
|
||||
status = this->m_dataBuffer.serialize(size);
|
||||
FW_ASSERT(status == Fw::FW_SERIALIZE_OK, status);
|
||||
const bool omitSerializedLength = true;
|
||||
status = this->dataBuffer.serialize(array, size, omitSerializedLength);
|
||||
status = this->m_dataBuffer.serialize(array, size, omitSerializedLength);
|
||||
FW_ASSERT(status == Fw::FW_SERIALIZE_OK, status);
|
||||
this->dataSize += sizeDelta;
|
||||
this->m_dataSize += sizeDelta;
|
||||
}
|
||||
else {
|
||||
status = Fw::FW_SERIALIZE_NO_ROOM_LEFT;
|
||||
|
||||
@ -48,17 +48,17 @@ Fw::SerializeStatus PassiveTestComponentBase::DpContainer ::
|
||||
sizeof(FwSizeType) +
|
||||
size * PassiveTest_Data::SERIALIZED_SIZE;
|
||||
Fw::SerializeStatus status = Fw::FW_SERIALIZE_OK;
|
||||
if (this->dataBuffer.getBuffLength() + sizeDelta <= this->dataBuffer.getBuffCapacity()) {
|
||||
if (this->m_dataBuffer.getBuffLength() + sizeDelta <= this->m_dataBuffer.getBuffCapacity()) {
|
||||
const FwDpIdType id = this->baseId + RecordId::DataArrayRecord;
|
||||
status = this->dataBuffer.serialize(id);
|
||||
status = this->m_dataBuffer.serialize(id);
|
||||
FW_ASSERT(status == Fw::FW_SERIALIZE_OK, status);
|
||||
status = this->dataBuffer.serialize(size);
|
||||
status = this->m_dataBuffer.serialize(size);
|
||||
FW_ASSERT(status == Fw::FW_SERIALIZE_OK, status);
|
||||
for (FwSizeType i = 0; i < size; i++) {
|
||||
status = this->dataBuffer.serialize(array[i]);
|
||||
status = this->m_dataBuffer.serialize(array[i]);
|
||||
FW_ASSERT(status == Fw::FW_SERIALIZE_OK, status);
|
||||
}
|
||||
this->dataSize += sizeDelta;
|
||||
this->m_dataSize += sizeDelta;
|
||||
}
|
||||
else {
|
||||
status = Fw::FW_SERIALIZE_NO_ROOM_LEFT;
|
||||
@ -73,13 +73,13 @@ Fw::SerializeStatus PassiveTestComponentBase::DpContainer ::
|
||||
sizeof(FwDpIdType) +
|
||||
PassiveTest_Data::SERIALIZED_SIZE;
|
||||
Fw::SerializeStatus status = Fw::FW_SERIALIZE_OK;
|
||||
if (this->dataBuffer.getBuffLength() + sizeDelta <= this->dataBuffer.getBuffCapacity()) {
|
||||
if (this->m_dataBuffer.getBuffLength() + sizeDelta <= this->m_dataBuffer.getBuffCapacity()) {
|
||||
const FwDpIdType id = this->baseId + RecordId::DataRecord;
|
||||
status = this->dataBuffer.serialize(id);
|
||||
status = this->m_dataBuffer.serialize(id);
|
||||
FW_ASSERT(status == Fw::FW_SERIALIZE_OK, status);
|
||||
status = this->dataBuffer.serialize(elt);
|
||||
status = this->m_dataBuffer.serialize(elt);
|
||||
FW_ASSERT(status == Fw::FW_SERIALIZE_OK, status);
|
||||
this->dataSize += sizeDelta;
|
||||
this->m_dataSize += sizeDelta;
|
||||
}
|
||||
else {
|
||||
status = Fw::FW_SERIALIZE_NO_ROOM_LEFT;
|
||||
@ -99,17 +99,17 @@ Fw::SerializeStatus PassiveTestComponentBase::DpContainer ::
|
||||
sizeof(FwSizeType) +
|
||||
size * sizeof(U32);
|
||||
Fw::SerializeStatus status = Fw::FW_SERIALIZE_OK;
|
||||
if (this->dataBuffer.getBuffLength() + sizeDelta <= this->dataBuffer.getBuffCapacity()) {
|
||||
if (this->m_dataBuffer.getBuffLength() + sizeDelta <= this->m_dataBuffer.getBuffCapacity()) {
|
||||
const FwDpIdType id = this->baseId + RecordId::U32ArrayRecord;
|
||||
status = this->dataBuffer.serialize(id);
|
||||
status = this->m_dataBuffer.serialize(id);
|
||||
FW_ASSERT(status == Fw::FW_SERIALIZE_OK, status);
|
||||
status = this->dataBuffer.serialize(size);
|
||||
status = this->m_dataBuffer.serialize(size);
|
||||
FW_ASSERT(status == Fw::FW_SERIALIZE_OK, status);
|
||||
for (FwSizeType i = 0; i < size; i++) {
|
||||
status = this->dataBuffer.serialize(array[i]);
|
||||
status = this->m_dataBuffer.serialize(array[i]);
|
||||
FW_ASSERT(status == Fw::FW_SERIALIZE_OK, status);
|
||||
}
|
||||
this->dataSize += sizeDelta;
|
||||
this->m_dataSize += sizeDelta;
|
||||
}
|
||||
else {
|
||||
status = Fw::FW_SERIALIZE_NO_ROOM_LEFT;
|
||||
@ -124,13 +124,13 @@ Fw::SerializeStatus PassiveTestComponentBase::DpContainer ::
|
||||
sizeof(FwDpIdType) +
|
||||
sizeof(U32);
|
||||
Fw::SerializeStatus status = Fw::FW_SERIALIZE_OK;
|
||||
if (this->dataBuffer.getBuffLength() + sizeDelta <= this->dataBuffer.getBuffCapacity()) {
|
||||
if (this->m_dataBuffer.getBuffLength() + sizeDelta <= this->m_dataBuffer.getBuffCapacity()) {
|
||||
const FwDpIdType id = this->baseId + RecordId::U32Record;
|
||||
status = this->dataBuffer.serialize(id);
|
||||
status = this->m_dataBuffer.serialize(id);
|
||||
FW_ASSERT(status == Fw::FW_SERIALIZE_OK, status);
|
||||
status = this->dataBuffer.serialize(elt);
|
||||
status = this->m_dataBuffer.serialize(elt);
|
||||
FW_ASSERT(status == Fw::FW_SERIALIZE_OK, status);
|
||||
this->dataSize += sizeDelta;
|
||||
this->m_dataSize += sizeDelta;
|
||||
}
|
||||
else {
|
||||
status = Fw::FW_SERIALIZE_NO_ROOM_LEFT;
|
||||
@ -150,16 +150,16 @@ Fw::SerializeStatus PassiveTestComponentBase::DpContainer ::
|
||||
sizeof(FwSizeType) +
|
||||
size * sizeof(U8);
|
||||
Fw::SerializeStatus status = Fw::FW_SERIALIZE_OK;
|
||||
if (this->dataBuffer.getBuffLength() + sizeDelta <= this->dataBuffer.getBuffCapacity()) {
|
||||
if (this->m_dataBuffer.getBuffLength() + sizeDelta <= this->m_dataBuffer.getBuffCapacity()) {
|
||||
const FwDpIdType id = this->baseId + RecordId::U8ArrayRecord;
|
||||
status = this->dataBuffer.serialize(id);
|
||||
status = this->m_dataBuffer.serialize(id);
|
||||
FW_ASSERT(status == Fw::FW_SERIALIZE_OK, status);
|
||||
status = this->dataBuffer.serialize(size);
|
||||
status = this->m_dataBuffer.serialize(size);
|
||||
FW_ASSERT(status == Fw::FW_SERIALIZE_OK, status);
|
||||
const bool omitSerializedLength = true;
|
||||
status = this->dataBuffer.serialize(array, size, omitSerializedLength);
|
||||
status = this->m_dataBuffer.serialize(array, size, omitSerializedLength);
|
||||
FW_ASSERT(status == Fw::FW_SERIALIZE_OK, status);
|
||||
this->dataSize += sizeDelta;
|
||||
this->m_dataSize += sizeDelta;
|
||||
}
|
||||
else {
|
||||
status = Fw::FW_SERIALIZE_NO_ROOM_LEFT;
|
||||
|
||||
@ -105,17 +105,17 @@ Fw::SerializeStatus QueuedAsyncProductsComponentBase::DpContainer ::
|
||||
sizeof(FwSizeType) +
|
||||
size * QueuedAsyncProducts_Data::SERIALIZED_SIZE;
|
||||
Fw::SerializeStatus status = Fw::FW_SERIALIZE_OK;
|
||||
if (this->dataBuffer.getBuffLength() + sizeDelta <= this->dataBuffer.getBuffCapacity()) {
|
||||
if (this->m_dataBuffer.getBuffLength() + sizeDelta <= this->m_dataBuffer.getBuffCapacity()) {
|
||||
const FwDpIdType id = this->baseId + RecordId::DataArrayRecord;
|
||||
status = this->dataBuffer.serialize(id);
|
||||
status = this->m_dataBuffer.serialize(id);
|
||||
FW_ASSERT(status == Fw::FW_SERIALIZE_OK, status);
|
||||
status = this->dataBuffer.serialize(size);
|
||||
status = this->m_dataBuffer.serialize(size);
|
||||
FW_ASSERT(status == Fw::FW_SERIALIZE_OK, status);
|
||||
for (FwSizeType i = 0; i < size; i++) {
|
||||
status = this->dataBuffer.serialize(array[i]);
|
||||
status = this->m_dataBuffer.serialize(array[i]);
|
||||
FW_ASSERT(status == Fw::FW_SERIALIZE_OK, status);
|
||||
}
|
||||
this->dataSize += sizeDelta;
|
||||
this->m_dataSize += sizeDelta;
|
||||
}
|
||||
else {
|
||||
status = Fw::FW_SERIALIZE_NO_ROOM_LEFT;
|
||||
@ -130,13 +130,13 @@ Fw::SerializeStatus QueuedAsyncProductsComponentBase::DpContainer ::
|
||||
sizeof(FwDpIdType) +
|
||||
QueuedAsyncProducts_Data::SERIALIZED_SIZE;
|
||||
Fw::SerializeStatus status = Fw::FW_SERIALIZE_OK;
|
||||
if (this->dataBuffer.getBuffLength() + sizeDelta <= this->dataBuffer.getBuffCapacity()) {
|
||||
if (this->m_dataBuffer.getBuffLength() + sizeDelta <= this->m_dataBuffer.getBuffCapacity()) {
|
||||
const FwDpIdType id = this->baseId + RecordId::DataRecord;
|
||||
status = this->dataBuffer.serialize(id);
|
||||
status = this->m_dataBuffer.serialize(id);
|
||||
FW_ASSERT(status == Fw::FW_SERIALIZE_OK, status);
|
||||
status = this->dataBuffer.serialize(elt);
|
||||
status = this->m_dataBuffer.serialize(elt);
|
||||
FW_ASSERT(status == Fw::FW_SERIALIZE_OK, status);
|
||||
this->dataSize += sizeDelta;
|
||||
this->m_dataSize += sizeDelta;
|
||||
}
|
||||
else {
|
||||
status = Fw::FW_SERIALIZE_NO_ROOM_LEFT;
|
||||
@ -156,17 +156,17 @@ Fw::SerializeStatus QueuedAsyncProductsComponentBase::DpContainer ::
|
||||
sizeof(FwSizeType) +
|
||||
size * sizeof(U32);
|
||||
Fw::SerializeStatus status = Fw::FW_SERIALIZE_OK;
|
||||
if (this->dataBuffer.getBuffLength() + sizeDelta <= this->dataBuffer.getBuffCapacity()) {
|
||||
if (this->m_dataBuffer.getBuffLength() + sizeDelta <= this->m_dataBuffer.getBuffCapacity()) {
|
||||
const FwDpIdType id = this->baseId + RecordId::U32ArrayRecord;
|
||||
status = this->dataBuffer.serialize(id);
|
||||
status = this->m_dataBuffer.serialize(id);
|
||||
FW_ASSERT(status == Fw::FW_SERIALIZE_OK, status);
|
||||
status = this->dataBuffer.serialize(size);
|
||||
status = this->m_dataBuffer.serialize(size);
|
||||
FW_ASSERT(status == Fw::FW_SERIALIZE_OK, status);
|
||||
for (FwSizeType i = 0; i < size; i++) {
|
||||
status = this->dataBuffer.serialize(array[i]);
|
||||
status = this->m_dataBuffer.serialize(array[i]);
|
||||
FW_ASSERT(status == Fw::FW_SERIALIZE_OK, status);
|
||||
}
|
||||
this->dataSize += sizeDelta;
|
||||
this->m_dataSize += sizeDelta;
|
||||
}
|
||||
else {
|
||||
status = Fw::FW_SERIALIZE_NO_ROOM_LEFT;
|
||||
@ -181,13 +181,13 @@ Fw::SerializeStatus QueuedAsyncProductsComponentBase::DpContainer ::
|
||||
sizeof(FwDpIdType) +
|
||||
sizeof(U32);
|
||||
Fw::SerializeStatus status = Fw::FW_SERIALIZE_OK;
|
||||
if (this->dataBuffer.getBuffLength() + sizeDelta <= this->dataBuffer.getBuffCapacity()) {
|
||||
if (this->m_dataBuffer.getBuffLength() + sizeDelta <= this->m_dataBuffer.getBuffCapacity()) {
|
||||
const FwDpIdType id = this->baseId + RecordId::U32Record;
|
||||
status = this->dataBuffer.serialize(id);
|
||||
status = this->m_dataBuffer.serialize(id);
|
||||
FW_ASSERT(status == Fw::FW_SERIALIZE_OK, status);
|
||||
status = this->dataBuffer.serialize(elt);
|
||||
status = this->m_dataBuffer.serialize(elt);
|
||||
FW_ASSERT(status == Fw::FW_SERIALIZE_OK, status);
|
||||
this->dataSize += sizeDelta;
|
||||
this->m_dataSize += sizeDelta;
|
||||
}
|
||||
else {
|
||||
status = Fw::FW_SERIALIZE_NO_ROOM_LEFT;
|
||||
@ -207,16 +207,16 @@ Fw::SerializeStatus QueuedAsyncProductsComponentBase::DpContainer ::
|
||||
sizeof(FwSizeType) +
|
||||
size * sizeof(U8);
|
||||
Fw::SerializeStatus status = Fw::FW_SERIALIZE_OK;
|
||||
if (this->dataBuffer.getBuffLength() + sizeDelta <= this->dataBuffer.getBuffCapacity()) {
|
||||
if (this->m_dataBuffer.getBuffLength() + sizeDelta <= this->m_dataBuffer.getBuffCapacity()) {
|
||||
const FwDpIdType id = this->baseId + RecordId::U8ArrayRecord;
|
||||
status = this->dataBuffer.serialize(id);
|
||||
status = this->m_dataBuffer.serialize(id);
|
||||
FW_ASSERT(status == Fw::FW_SERIALIZE_OK, status);
|
||||
status = this->dataBuffer.serialize(size);
|
||||
status = this->m_dataBuffer.serialize(size);
|
||||
FW_ASSERT(status == Fw::FW_SERIALIZE_OK, status);
|
||||
const bool omitSerializedLength = true;
|
||||
status = this->dataBuffer.serialize(array, size, omitSerializedLength);
|
||||
status = this->m_dataBuffer.serialize(array, size, omitSerializedLength);
|
||||
FW_ASSERT(status == Fw::FW_SERIALIZE_OK, status);
|
||||
this->dataSize += sizeDelta;
|
||||
this->m_dataSize += sizeDelta;
|
||||
}
|
||||
else {
|
||||
status = Fw::FW_SERIALIZE_NO_ROOM_LEFT;
|
||||
|
||||
@ -103,17 +103,17 @@ Fw::SerializeStatus QueuedGetProductsComponentBase::DpContainer ::
|
||||
sizeof(FwSizeType) +
|
||||
size * QueuedGetProducts_Data::SERIALIZED_SIZE;
|
||||
Fw::SerializeStatus status = Fw::FW_SERIALIZE_OK;
|
||||
if (this->dataBuffer.getBuffLength() + sizeDelta <= this->dataBuffer.getBuffCapacity()) {
|
||||
if (this->m_dataBuffer.getBuffLength() + sizeDelta <= this->m_dataBuffer.getBuffCapacity()) {
|
||||
const FwDpIdType id = this->baseId + RecordId::DataArrayRecord;
|
||||
status = this->dataBuffer.serialize(id);
|
||||
status = this->m_dataBuffer.serialize(id);
|
||||
FW_ASSERT(status == Fw::FW_SERIALIZE_OK, status);
|
||||
status = this->dataBuffer.serialize(size);
|
||||
status = this->m_dataBuffer.serialize(size);
|
||||
FW_ASSERT(status == Fw::FW_SERIALIZE_OK, status);
|
||||
for (FwSizeType i = 0; i < size; i++) {
|
||||
status = this->dataBuffer.serialize(array[i]);
|
||||
status = this->m_dataBuffer.serialize(array[i]);
|
||||
FW_ASSERT(status == Fw::FW_SERIALIZE_OK, status);
|
||||
}
|
||||
this->dataSize += sizeDelta;
|
||||
this->m_dataSize += sizeDelta;
|
||||
}
|
||||
else {
|
||||
status = Fw::FW_SERIALIZE_NO_ROOM_LEFT;
|
||||
@ -128,13 +128,13 @@ Fw::SerializeStatus QueuedGetProductsComponentBase::DpContainer ::
|
||||
sizeof(FwDpIdType) +
|
||||
QueuedGetProducts_Data::SERIALIZED_SIZE;
|
||||
Fw::SerializeStatus status = Fw::FW_SERIALIZE_OK;
|
||||
if (this->dataBuffer.getBuffLength() + sizeDelta <= this->dataBuffer.getBuffCapacity()) {
|
||||
if (this->m_dataBuffer.getBuffLength() + sizeDelta <= this->m_dataBuffer.getBuffCapacity()) {
|
||||
const FwDpIdType id = this->baseId + RecordId::DataRecord;
|
||||
status = this->dataBuffer.serialize(id);
|
||||
status = this->m_dataBuffer.serialize(id);
|
||||
FW_ASSERT(status == Fw::FW_SERIALIZE_OK, status);
|
||||
status = this->dataBuffer.serialize(elt);
|
||||
status = this->m_dataBuffer.serialize(elt);
|
||||
FW_ASSERT(status == Fw::FW_SERIALIZE_OK, status);
|
||||
this->dataSize += sizeDelta;
|
||||
this->m_dataSize += sizeDelta;
|
||||
}
|
||||
else {
|
||||
status = Fw::FW_SERIALIZE_NO_ROOM_LEFT;
|
||||
@ -154,17 +154,17 @@ Fw::SerializeStatus QueuedGetProductsComponentBase::DpContainer ::
|
||||
sizeof(FwSizeType) +
|
||||
size * sizeof(U32);
|
||||
Fw::SerializeStatus status = Fw::FW_SERIALIZE_OK;
|
||||
if (this->dataBuffer.getBuffLength() + sizeDelta <= this->dataBuffer.getBuffCapacity()) {
|
||||
if (this->m_dataBuffer.getBuffLength() + sizeDelta <= this->m_dataBuffer.getBuffCapacity()) {
|
||||
const FwDpIdType id = this->baseId + RecordId::U32ArrayRecord;
|
||||
status = this->dataBuffer.serialize(id);
|
||||
status = this->m_dataBuffer.serialize(id);
|
||||
FW_ASSERT(status == Fw::FW_SERIALIZE_OK, status);
|
||||
status = this->dataBuffer.serialize(size);
|
||||
status = this->m_dataBuffer.serialize(size);
|
||||
FW_ASSERT(status == Fw::FW_SERIALIZE_OK, status);
|
||||
for (FwSizeType i = 0; i < size; i++) {
|
||||
status = this->dataBuffer.serialize(array[i]);
|
||||
status = this->m_dataBuffer.serialize(array[i]);
|
||||
FW_ASSERT(status == Fw::FW_SERIALIZE_OK, status);
|
||||
}
|
||||
this->dataSize += sizeDelta;
|
||||
this->m_dataSize += sizeDelta;
|
||||
}
|
||||
else {
|
||||
status = Fw::FW_SERIALIZE_NO_ROOM_LEFT;
|
||||
@ -179,13 +179,13 @@ Fw::SerializeStatus QueuedGetProductsComponentBase::DpContainer ::
|
||||
sizeof(FwDpIdType) +
|
||||
sizeof(U32);
|
||||
Fw::SerializeStatus status = Fw::FW_SERIALIZE_OK;
|
||||
if (this->dataBuffer.getBuffLength() + sizeDelta <= this->dataBuffer.getBuffCapacity()) {
|
||||
if (this->m_dataBuffer.getBuffLength() + sizeDelta <= this->m_dataBuffer.getBuffCapacity()) {
|
||||
const FwDpIdType id = this->baseId + RecordId::U32Record;
|
||||
status = this->dataBuffer.serialize(id);
|
||||
status = this->m_dataBuffer.serialize(id);
|
||||
FW_ASSERT(status == Fw::FW_SERIALIZE_OK, status);
|
||||
status = this->dataBuffer.serialize(elt);
|
||||
status = this->m_dataBuffer.serialize(elt);
|
||||
FW_ASSERT(status == Fw::FW_SERIALIZE_OK, status);
|
||||
this->dataSize += sizeDelta;
|
||||
this->m_dataSize += sizeDelta;
|
||||
}
|
||||
else {
|
||||
status = Fw::FW_SERIALIZE_NO_ROOM_LEFT;
|
||||
@ -205,16 +205,16 @@ Fw::SerializeStatus QueuedGetProductsComponentBase::DpContainer ::
|
||||
sizeof(FwSizeType) +
|
||||
size * sizeof(U8);
|
||||
Fw::SerializeStatus status = Fw::FW_SERIALIZE_OK;
|
||||
if (this->dataBuffer.getBuffLength() + sizeDelta <= this->dataBuffer.getBuffCapacity()) {
|
||||
if (this->m_dataBuffer.getBuffLength() + sizeDelta <= this->m_dataBuffer.getBuffCapacity()) {
|
||||
const FwDpIdType id = this->baseId + RecordId::U8ArrayRecord;
|
||||
status = this->dataBuffer.serialize(id);
|
||||
status = this->m_dataBuffer.serialize(id);
|
||||
FW_ASSERT(status == Fw::FW_SERIALIZE_OK, status);
|
||||
status = this->dataBuffer.serialize(size);
|
||||
status = this->m_dataBuffer.serialize(size);
|
||||
FW_ASSERT(status == Fw::FW_SERIALIZE_OK, status);
|
||||
const bool omitSerializedLength = true;
|
||||
status = this->dataBuffer.serialize(array, size, omitSerializedLength);
|
||||
status = this->m_dataBuffer.serialize(array, size, omitSerializedLength);
|
||||
FW_ASSERT(status == Fw::FW_SERIALIZE_OK, status);
|
||||
this->dataSize += sizeDelta;
|
||||
this->m_dataSize += sizeDelta;
|
||||
}
|
||||
else {
|
||||
status = Fw::FW_SERIALIZE_NO_ROOM_LEFT;
|
||||
|
||||
@ -103,17 +103,17 @@ Fw::SerializeStatus QueuedGuardedProductsComponentBase::DpContainer ::
|
||||
sizeof(FwSizeType) +
|
||||
size * QueuedGuardedProducts_Data::SERIALIZED_SIZE;
|
||||
Fw::SerializeStatus status = Fw::FW_SERIALIZE_OK;
|
||||
if (this->dataBuffer.getBuffLength() + sizeDelta <= this->dataBuffer.getBuffCapacity()) {
|
||||
if (this->m_dataBuffer.getBuffLength() + sizeDelta <= this->m_dataBuffer.getBuffCapacity()) {
|
||||
const FwDpIdType id = this->baseId + RecordId::DataArrayRecord;
|
||||
status = this->dataBuffer.serialize(id);
|
||||
status = this->m_dataBuffer.serialize(id);
|
||||
FW_ASSERT(status == Fw::FW_SERIALIZE_OK, status);
|
||||
status = this->dataBuffer.serialize(size);
|
||||
status = this->m_dataBuffer.serialize(size);
|
||||
FW_ASSERT(status == Fw::FW_SERIALIZE_OK, status);
|
||||
for (FwSizeType i = 0; i < size; i++) {
|
||||
status = this->dataBuffer.serialize(array[i]);
|
||||
status = this->m_dataBuffer.serialize(array[i]);
|
||||
FW_ASSERT(status == Fw::FW_SERIALIZE_OK, status);
|
||||
}
|
||||
this->dataSize += sizeDelta;
|
||||
this->m_dataSize += sizeDelta;
|
||||
}
|
||||
else {
|
||||
status = Fw::FW_SERIALIZE_NO_ROOM_LEFT;
|
||||
@ -128,13 +128,13 @@ Fw::SerializeStatus QueuedGuardedProductsComponentBase::DpContainer ::
|
||||
sizeof(FwDpIdType) +
|
||||
QueuedGuardedProducts_Data::SERIALIZED_SIZE;
|
||||
Fw::SerializeStatus status = Fw::FW_SERIALIZE_OK;
|
||||
if (this->dataBuffer.getBuffLength() + sizeDelta <= this->dataBuffer.getBuffCapacity()) {
|
||||
if (this->m_dataBuffer.getBuffLength() + sizeDelta <= this->m_dataBuffer.getBuffCapacity()) {
|
||||
const FwDpIdType id = this->baseId + RecordId::DataRecord;
|
||||
status = this->dataBuffer.serialize(id);
|
||||
status = this->m_dataBuffer.serialize(id);
|
||||
FW_ASSERT(status == Fw::FW_SERIALIZE_OK, status);
|
||||
status = this->dataBuffer.serialize(elt);
|
||||
status = this->m_dataBuffer.serialize(elt);
|
||||
FW_ASSERT(status == Fw::FW_SERIALIZE_OK, status);
|
||||
this->dataSize += sizeDelta;
|
||||
this->m_dataSize += sizeDelta;
|
||||
}
|
||||
else {
|
||||
status = Fw::FW_SERIALIZE_NO_ROOM_LEFT;
|
||||
@ -154,17 +154,17 @@ Fw::SerializeStatus QueuedGuardedProductsComponentBase::DpContainer ::
|
||||
sizeof(FwSizeType) +
|
||||
size * sizeof(U32);
|
||||
Fw::SerializeStatus status = Fw::FW_SERIALIZE_OK;
|
||||
if (this->dataBuffer.getBuffLength() + sizeDelta <= this->dataBuffer.getBuffCapacity()) {
|
||||
if (this->m_dataBuffer.getBuffLength() + sizeDelta <= this->m_dataBuffer.getBuffCapacity()) {
|
||||
const FwDpIdType id = this->baseId + RecordId::U32ArrayRecord;
|
||||
status = this->dataBuffer.serialize(id);
|
||||
status = this->m_dataBuffer.serialize(id);
|
||||
FW_ASSERT(status == Fw::FW_SERIALIZE_OK, status);
|
||||
status = this->dataBuffer.serialize(size);
|
||||
status = this->m_dataBuffer.serialize(size);
|
||||
FW_ASSERT(status == Fw::FW_SERIALIZE_OK, status);
|
||||
for (FwSizeType i = 0; i < size; i++) {
|
||||
status = this->dataBuffer.serialize(array[i]);
|
||||
status = this->m_dataBuffer.serialize(array[i]);
|
||||
FW_ASSERT(status == Fw::FW_SERIALIZE_OK, status);
|
||||
}
|
||||
this->dataSize += sizeDelta;
|
||||
this->m_dataSize += sizeDelta;
|
||||
}
|
||||
else {
|
||||
status = Fw::FW_SERIALIZE_NO_ROOM_LEFT;
|
||||
@ -179,13 +179,13 @@ Fw::SerializeStatus QueuedGuardedProductsComponentBase::DpContainer ::
|
||||
sizeof(FwDpIdType) +
|
||||
sizeof(U32);
|
||||
Fw::SerializeStatus status = Fw::FW_SERIALIZE_OK;
|
||||
if (this->dataBuffer.getBuffLength() + sizeDelta <= this->dataBuffer.getBuffCapacity()) {
|
||||
if (this->m_dataBuffer.getBuffLength() + sizeDelta <= this->m_dataBuffer.getBuffCapacity()) {
|
||||
const FwDpIdType id = this->baseId + RecordId::U32Record;
|
||||
status = this->dataBuffer.serialize(id);
|
||||
status = this->m_dataBuffer.serialize(id);
|
||||
FW_ASSERT(status == Fw::FW_SERIALIZE_OK, status);
|
||||
status = this->dataBuffer.serialize(elt);
|
||||
status = this->m_dataBuffer.serialize(elt);
|
||||
FW_ASSERT(status == Fw::FW_SERIALIZE_OK, status);
|
||||
this->dataSize += sizeDelta;
|
||||
this->m_dataSize += sizeDelta;
|
||||
}
|
||||
else {
|
||||
status = Fw::FW_SERIALIZE_NO_ROOM_LEFT;
|
||||
@ -205,16 +205,16 @@ Fw::SerializeStatus QueuedGuardedProductsComponentBase::DpContainer ::
|
||||
sizeof(FwSizeType) +
|
||||
size * sizeof(U8);
|
||||
Fw::SerializeStatus status = Fw::FW_SERIALIZE_OK;
|
||||
if (this->dataBuffer.getBuffLength() + sizeDelta <= this->dataBuffer.getBuffCapacity()) {
|
||||
if (this->m_dataBuffer.getBuffLength() + sizeDelta <= this->m_dataBuffer.getBuffCapacity()) {
|
||||
const FwDpIdType id = this->baseId + RecordId::U8ArrayRecord;
|
||||
status = this->dataBuffer.serialize(id);
|
||||
status = this->m_dataBuffer.serialize(id);
|
||||
FW_ASSERT(status == Fw::FW_SERIALIZE_OK, status);
|
||||
status = this->dataBuffer.serialize(size);
|
||||
status = this->m_dataBuffer.serialize(size);
|
||||
FW_ASSERT(status == Fw::FW_SERIALIZE_OK, status);
|
||||
const bool omitSerializedLength = true;
|
||||
status = this->dataBuffer.serialize(array, size, omitSerializedLength);
|
||||
status = this->m_dataBuffer.serialize(array, size, omitSerializedLength);
|
||||
FW_ASSERT(status == Fw::FW_SERIALIZE_OK, status);
|
||||
this->dataSize += sizeDelta;
|
||||
this->m_dataSize += sizeDelta;
|
||||
}
|
||||
else {
|
||||
status = Fw::FW_SERIALIZE_NO_ROOM_LEFT;
|
||||
|
||||
@ -103,17 +103,17 @@ Fw::SerializeStatus QueuedSyncProductsComponentBase::DpContainer ::
|
||||
sizeof(FwSizeType) +
|
||||
size * QueuedSyncProducts_Data::SERIALIZED_SIZE;
|
||||
Fw::SerializeStatus status = Fw::FW_SERIALIZE_OK;
|
||||
if (this->dataBuffer.getBuffLength() + sizeDelta <= this->dataBuffer.getBuffCapacity()) {
|
||||
if (this->m_dataBuffer.getBuffLength() + sizeDelta <= this->m_dataBuffer.getBuffCapacity()) {
|
||||
const FwDpIdType id = this->baseId + RecordId::DataArrayRecord;
|
||||
status = this->dataBuffer.serialize(id);
|
||||
status = this->m_dataBuffer.serialize(id);
|
||||
FW_ASSERT(status == Fw::FW_SERIALIZE_OK, status);
|
||||
status = this->dataBuffer.serialize(size);
|
||||
status = this->m_dataBuffer.serialize(size);
|
||||
FW_ASSERT(status == Fw::FW_SERIALIZE_OK, status);
|
||||
for (FwSizeType i = 0; i < size; i++) {
|
||||
status = this->dataBuffer.serialize(array[i]);
|
||||
status = this->m_dataBuffer.serialize(array[i]);
|
||||
FW_ASSERT(status == Fw::FW_SERIALIZE_OK, status);
|
||||
}
|
||||
this->dataSize += sizeDelta;
|
||||
this->m_dataSize += sizeDelta;
|
||||
}
|
||||
else {
|
||||
status = Fw::FW_SERIALIZE_NO_ROOM_LEFT;
|
||||
@ -128,13 +128,13 @@ Fw::SerializeStatus QueuedSyncProductsComponentBase::DpContainer ::
|
||||
sizeof(FwDpIdType) +
|
||||
QueuedSyncProducts_Data::SERIALIZED_SIZE;
|
||||
Fw::SerializeStatus status = Fw::FW_SERIALIZE_OK;
|
||||
if (this->dataBuffer.getBuffLength() + sizeDelta <= this->dataBuffer.getBuffCapacity()) {
|
||||
if (this->m_dataBuffer.getBuffLength() + sizeDelta <= this->m_dataBuffer.getBuffCapacity()) {
|
||||
const FwDpIdType id = this->baseId + RecordId::DataRecord;
|
||||
status = this->dataBuffer.serialize(id);
|
||||
status = this->m_dataBuffer.serialize(id);
|
||||
FW_ASSERT(status == Fw::FW_SERIALIZE_OK, status);
|
||||
status = this->dataBuffer.serialize(elt);
|
||||
status = this->m_dataBuffer.serialize(elt);
|
||||
FW_ASSERT(status == Fw::FW_SERIALIZE_OK, status);
|
||||
this->dataSize += sizeDelta;
|
||||
this->m_dataSize += sizeDelta;
|
||||
}
|
||||
else {
|
||||
status = Fw::FW_SERIALIZE_NO_ROOM_LEFT;
|
||||
@ -154,17 +154,17 @@ Fw::SerializeStatus QueuedSyncProductsComponentBase::DpContainer ::
|
||||
sizeof(FwSizeType) +
|
||||
size * sizeof(U32);
|
||||
Fw::SerializeStatus status = Fw::FW_SERIALIZE_OK;
|
||||
if (this->dataBuffer.getBuffLength() + sizeDelta <= this->dataBuffer.getBuffCapacity()) {
|
||||
if (this->m_dataBuffer.getBuffLength() + sizeDelta <= this->m_dataBuffer.getBuffCapacity()) {
|
||||
const FwDpIdType id = this->baseId + RecordId::U32ArrayRecord;
|
||||
status = this->dataBuffer.serialize(id);
|
||||
status = this->m_dataBuffer.serialize(id);
|
||||
FW_ASSERT(status == Fw::FW_SERIALIZE_OK, status);
|
||||
status = this->dataBuffer.serialize(size);
|
||||
status = this->m_dataBuffer.serialize(size);
|
||||
FW_ASSERT(status == Fw::FW_SERIALIZE_OK, status);
|
||||
for (FwSizeType i = 0; i < size; i++) {
|
||||
status = this->dataBuffer.serialize(array[i]);
|
||||
status = this->m_dataBuffer.serialize(array[i]);
|
||||
FW_ASSERT(status == Fw::FW_SERIALIZE_OK, status);
|
||||
}
|
||||
this->dataSize += sizeDelta;
|
||||
this->m_dataSize += sizeDelta;
|
||||
}
|
||||
else {
|
||||
status = Fw::FW_SERIALIZE_NO_ROOM_LEFT;
|
||||
@ -179,13 +179,13 @@ Fw::SerializeStatus QueuedSyncProductsComponentBase::DpContainer ::
|
||||
sizeof(FwDpIdType) +
|
||||
sizeof(U32);
|
||||
Fw::SerializeStatus status = Fw::FW_SERIALIZE_OK;
|
||||
if (this->dataBuffer.getBuffLength() + sizeDelta <= this->dataBuffer.getBuffCapacity()) {
|
||||
if (this->m_dataBuffer.getBuffLength() + sizeDelta <= this->m_dataBuffer.getBuffCapacity()) {
|
||||
const FwDpIdType id = this->baseId + RecordId::U32Record;
|
||||
status = this->dataBuffer.serialize(id);
|
||||
status = this->m_dataBuffer.serialize(id);
|
||||
FW_ASSERT(status == Fw::FW_SERIALIZE_OK, status);
|
||||
status = this->dataBuffer.serialize(elt);
|
||||
status = this->m_dataBuffer.serialize(elt);
|
||||
FW_ASSERT(status == Fw::FW_SERIALIZE_OK, status);
|
||||
this->dataSize += sizeDelta;
|
||||
this->m_dataSize += sizeDelta;
|
||||
}
|
||||
else {
|
||||
status = Fw::FW_SERIALIZE_NO_ROOM_LEFT;
|
||||
@ -205,16 +205,16 @@ Fw::SerializeStatus QueuedSyncProductsComponentBase::DpContainer ::
|
||||
sizeof(FwSizeType) +
|
||||
size * sizeof(U8);
|
||||
Fw::SerializeStatus status = Fw::FW_SERIALIZE_OK;
|
||||
if (this->dataBuffer.getBuffLength() + sizeDelta <= this->dataBuffer.getBuffCapacity()) {
|
||||
if (this->m_dataBuffer.getBuffLength() + sizeDelta <= this->m_dataBuffer.getBuffCapacity()) {
|
||||
const FwDpIdType id = this->baseId + RecordId::U8ArrayRecord;
|
||||
status = this->dataBuffer.serialize(id);
|
||||
status = this->m_dataBuffer.serialize(id);
|
||||
FW_ASSERT(status == Fw::FW_SERIALIZE_OK, status);
|
||||
status = this->dataBuffer.serialize(size);
|
||||
status = this->m_dataBuffer.serialize(size);
|
||||
FW_ASSERT(status == Fw::FW_SERIALIZE_OK, status);
|
||||
const bool omitSerializedLength = true;
|
||||
status = this->dataBuffer.serialize(array, size, omitSerializedLength);
|
||||
status = this->m_dataBuffer.serialize(array, size, omitSerializedLength);
|
||||
FW_ASSERT(status == Fw::FW_SERIALIZE_OK, status);
|
||||
this->dataSize += sizeDelta;
|
||||
this->m_dataSize += sizeDelta;
|
||||
}
|
||||
else {
|
||||
status = Fw::FW_SERIALIZE_NO_ROOM_LEFT;
|
||||
|
||||
@ -139,17 +139,17 @@ Fw::SerializeStatus QueuedTestComponentBase::DpContainer ::
|
||||
sizeof(FwSizeType) +
|
||||
size * QueuedTest_Data::SERIALIZED_SIZE;
|
||||
Fw::SerializeStatus status = Fw::FW_SERIALIZE_OK;
|
||||
if (this->dataBuffer.getBuffLength() + sizeDelta <= this->dataBuffer.getBuffCapacity()) {
|
||||
if (this->m_dataBuffer.getBuffLength() + sizeDelta <= this->m_dataBuffer.getBuffCapacity()) {
|
||||
const FwDpIdType id = this->baseId + RecordId::DataArrayRecord;
|
||||
status = this->dataBuffer.serialize(id);
|
||||
status = this->m_dataBuffer.serialize(id);
|
||||
FW_ASSERT(status == Fw::FW_SERIALIZE_OK, status);
|
||||
status = this->dataBuffer.serialize(size);
|
||||
status = this->m_dataBuffer.serialize(size);
|
||||
FW_ASSERT(status == Fw::FW_SERIALIZE_OK, status);
|
||||
for (FwSizeType i = 0; i < size; i++) {
|
||||
status = this->dataBuffer.serialize(array[i]);
|
||||
status = this->m_dataBuffer.serialize(array[i]);
|
||||
FW_ASSERT(status == Fw::FW_SERIALIZE_OK, status);
|
||||
}
|
||||
this->dataSize += sizeDelta;
|
||||
this->m_dataSize += sizeDelta;
|
||||
}
|
||||
else {
|
||||
status = Fw::FW_SERIALIZE_NO_ROOM_LEFT;
|
||||
@ -164,13 +164,13 @@ Fw::SerializeStatus QueuedTestComponentBase::DpContainer ::
|
||||
sizeof(FwDpIdType) +
|
||||
QueuedTest_Data::SERIALIZED_SIZE;
|
||||
Fw::SerializeStatus status = Fw::FW_SERIALIZE_OK;
|
||||
if (this->dataBuffer.getBuffLength() + sizeDelta <= this->dataBuffer.getBuffCapacity()) {
|
||||
if (this->m_dataBuffer.getBuffLength() + sizeDelta <= this->m_dataBuffer.getBuffCapacity()) {
|
||||
const FwDpIdType id = this->baseId + RecordId::DataRecord;
|
||||
status = this->dataBuffer.serialize(id);
|
||||
status = this->m_dataBuffer.serialize(id);
|
||||
FW_ASSERT(status == Fw::FW_SERIALIZE_OK, status);
|
||||
status = this->dataBuffer.serialize(elt);
|
||||
status = this->m_dataBuffer.serialize(elt);
|
||||
FW_ASSERT(status == Fw::FW_SERIALIZE_OK, status);
|
||||
this->dataSize += sizeDelta;
|
||||
this->m_dataSize += sizeDelta;
|
||||
}
|
||||
else {
|
||||
status = Fw::FW_SERIALIZE_NO_ROOM_LEFT;
|
||||
@ -190,17 +190,17 @@ Fw::SerializeStatus QueuedTestComponentBase::DpContainer ::
|
||||
sizeof(FwSizeType) +
|
||||
size * sizeof(U32);
|
||||
Fw::SerializeStatus status = Fw::FW_SERIALIZE_OK;
|
||||
if (this->dataBuffer.getBuffLength() + sizeDelta <= this->dataBuffer.getBuffCapacity()) {
|
||||
if (this->m_dataBuffer.getBuffLength() + sizeDelta <= this->m_dataBuffer.getBuffCapacity()) {
|
||||
const FwDpIdType id = this->baseId + RecordId::U32ArrayRecord;
|
||||
status = this->dataBuffer.serialize(id);
|
||||
status = this->m_dataBuffer.serialize(id);
|
||||
FW_ASSERT(status == Fw::FW_SERIALIZE_OK, status);
|
||||
status = this->dataBuffer.serialize(size);
|
||||
status = this->m_dataBuffer.serialize(size);
|
||||
FW_ASSERT(status == Fw::FW_SERIALIZE_OK, status);
|
||||
for (FwSizeType i = 0; i < size; i++) {
|
||||
status = this->dataBuffer.serialize(array[i]);
|
||||
status = this->m_dataBuffer.serialize(array[i]);
|
||||
FW_ASSERT(status == Fw::FW_SERIALIZE_OK, status);
|
||||
}
|
||||
this->dataSize += sizeDelta;
|
||||
this->m_dataSize += sizeDelta;
|
||||
}
|
||||
else {
|
||||
status = Fw::FW_SERIALIZE_NO_ROOM_LEFT;
|
||||
@ -215,13 +215,13 @@ Fw::SerializeStatus QueuedTestComponentBase::DpContainer ::
|
||||
sizeof(FwDpIdType) +
|
||||
sizeof(U32);
|
||||
Fw::SerializeStatus status = Fw::FW_SERIALIZE_OK;
|
||||
if (this->dataBuffer.getBuffLength() + sizeDelta <= this->dataBuffer.getBuffCapacity()) {
|
||||
if (this->m_dataBuffer.getBuffLength() + sizeDelta <= this->m_dataBuffer.getBuffCapacity()) {
|
||||
const FwDpIdType id = this->baseId + RecordId::U32Record;
|
||||
status = this->dataBuffer.serialize(id);
|
||||
status = this->m_dataBuffer.serialize(id);
|
||||
FW_ASSERT(status == Fw::FW_SERIALIZE_OK, status);
|
||||
status = this->dataBuffer.serialize(elt);
|
||||
status = this->m_dataBuffer.serialize(elt);
|
||||
FW_ASSERT(status == Fw::FW_SERIALIZE_OK, status);
|
||||
this->dataSize += sizeDelta;
|
||||
this->m_dataSize += sizeDelta;
|
||||
}
|
||||
else {
|
||||
status = Fw::FW_SERIALIZE_NO_ROOM_LEFT;
|
||||
@ -241,16 +241,16 @@ Fw::SerializeStatus QueuedTestComponentBase::DpContainer ::
|
||||
sizeof(FwSizeType) +
|
||||
size * sizeof(U8);
|
||||
Fw::SerializeStatus status = Fw::FW_SERIALIZE_OK;
|
||||
if (this->dataBuffer.getBuffLength() + sizeDelta <= this->dataBuffer.getBuffCapacity()) {
|
||||
if (this->m_dataBuffer.getBuffLength() + sizeDelta <= this->m_dataBuffer.getBuffCapacity()) {
|
||||
const FwDpIdType id = this->baseId + RecordId::U8ArrayRecord;
|
||||
status = this->dataBuffer.serialize(id);
|
||||
status = this->m_dataBuffer.serialize(id);
|
||||
FW_ASSERT(status == Fw::FW_SERIALIZE_OK, status);
|
||||
status = this->dataBuffer.serialize(size);
|
||||
status = this->m_dataBuffer.serialize(size);
|
||||
FW_ASSERT(status == Fw::FW_SERIALIZE_OK, status);
|
||||
const bool omitSerializedLength = true;
|
||||
status = this->dataBuffer.serialize(array, size, omitSerializedLength);
|
||||
status = this->m_dataBuffer.serialize(array, size, omitSerializedLength);
|
||||
FW_ASSERT(status == Fw::FW_SERIALIZE_OK, status);
|
||||
this->dataSize += sizeDelta;
|
||||
this->m_dataSize += sizeDelta;
|
||||
}
|
||||
else {
|
||||
status = Fw::FW_SERIALIZE_NO_ROOM_LEFT;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user