9 #if FW_ENABLE_TEXT_LOGGING 32 this->m_bufferAllocate_InputPort[port].
init();
37 this->m_bufferAllocate_InputPort[port].
setPortNum(port);
39 #if FW_OBJECT_NAMES == 1 43 this->m_objName.toChar(),
46 this->m_bufferAllocate_InputPort[port].setObjName(portName.
toChar());
56 this->m_bufferDeallocate_InputPort[port].
init();
57 this->m_bufferDeallocate_InputPort[port].
addCallComp(
59 m_p_bufferDeallocate_in
61 this->m_bufferDeallocate_InputPort[port].
setPortNum(port);
63 #if FW_OBJECT_NAMES == 1 67 this->m_objName.toChar(),
70 this->m_bufferDeallocate_InputPort[port].setObjName(portName.
toChar());
84 static_cast<FwAssertArgType>(portNum)
87 return &this->m_bufferAllocate_InputPort[portNum];
95 static_cast<FwAssertArgType>(portNum)
98 return &this->m_bufferDeallocate_InputPort[portNum];
107 Fw::PassiveComponentBase(compName)
133 static_cast<FwAssertArgType>(portNum)
162 static_cast<FwAssertArgType>(portNum)
188 this->m_guardedPortMutex.
lock();
194 this->m_guardedPortMutex.
unLock();
202 m_p_bufferAllocate_in(
216 void StaticMemoryComponentBase ::
217 m_p_bufferDeallocate_in(
225 compPtr->bufferDeallocate_handlerBase(
PlatformSizeType FwSizeType
Fw::InputBufferGetPort * get_bufferAllocate_InputPort(FwIndexType portNum)
void unLock()
unlock the mutex and assert success
Fw::Buffer bufferAllocate_handlerBase(FwIndexType portNum, FwSizeType size)
Handler base-class function for input port bufferAllocate.
void init()
Object initializer.
static constexpr FwIndexType getNum_bufferAllocate_InputPorts()
virtual void bufferDeallocate_handler(FwIndexType portNum, Fw::Buffer &fwBuffer)=0
Handler for input port bufferDeallocate.
virtual void unLock()
Unlock the guarded mutex.
virtual void lock()
Lock the guarded mutex.
Fw::InputBufferSendPort * get_bufferDeallocate_InputPort(FwIndexType portNum)
const char * toChar() const
static constexpr FwIndexType getNum_bufferDeallocate_InputPorts()
void bufferDeallocate_handlerBase(FwIndexType portNum, Fw::Buffer &fwBuffer)
Handler base-class function for input port bufferDeallocate.
FormatStatus format(const CHAR *formatString,...)
write formatted string to buffer
virtual ~StaticMemoryComponentBase()
Destroy StaticMemoryComponentBase object.
StaticMemoryComponentBase(const char *compName="")
Construct StaticMemoryComponentBase object.
PlatformIndexType FwIndexType
RateGroupDivider component implementation.
Auto-generated base for StaticMemory component.
Implementation of malloc based allocator.
virtual Fw::Buffer bufferAllocate_handler(FwIndexType portNum, FwSizeType size)=0
Handler for input port bufferAllocate.
void lock()
lock the mutex and assert success