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