28 "NUM_BUFFERALLOCATE_INPUT_PORTS must fit in the positive range of FwIndexType");
30 m_allocated[i] =
false;
40 void StaticMemoryComponentImpl ::bufferDeallocate_handler(
const FwIndexType portNum,
Fw::Buffer& fwBuffer) {
43 static_cast<FwAssertArgType>(portNum));
47 static_cast<FwAssertArgType>(fwBuffer.
getSize()),
48 static_cast<FwAssertArgType>(
sizeof(m_static_memory[0])));
49 m_allocated[portNum] =
false;
55 sizeof(m_static_memory[portNum]));
57 static_cast<FwAssertArgType>(portNum));
58 m_allocated[portNum] =
true;
59 Fw::Buffer buffer(m_static_memory[portNum],
sizeof(m_static_memory[0]));
PlatformSizeType FwSizeType
FwSizeType getSize() const
~StaticMemoryComponentImpl()
PlatformIndexType FwIndexType
#define FW_NUM_ARRAY_ELEMENTS(a)
number of elements in an array
RateGroupDivider component implementation.
Auto-generated base for StaticMemory component.
StaticMemoryComponentImpl(const char *const compName)