26 m_allocated[i] =
false;
42 (fwBuffer.
getData() + fwBuffer.
getSize()) <= (m_static_memory[portNum] +
sizeof(m_static_memory[0])),
43 static_cast<FwAssertArgType>(fwBuffer.
getSize()),
44 static_cast<FwAssertArgType>(
sizeof(m_static_memory[0])));
45 m_allocated[portNum] =
false;
50 FW_ASSERT(size <=
sizeof(m_static_memory[portNum]));
51 FW_ASSERT(not m_allocated[portNum], portNum);
52 m_allocated[portNum] =
true;
53 Fw::Buffer buffer(m_static_memory[portNum],
sizeof(m_static_memory[0]));
PlatformIntType NATIVE_INT_TYPE
C++-compatible configuration header for fprime configuration.
~StaticMemoryComponentImpl()
#define FW_NUM_ARRAY_ELEMENTS(a)
number of elements in an array
Auto-generated base for StaticMemory component.
StaticMemoryComponentImpl(const char *const compName)