9 #if FW_ENABLE_TEXT_LOGGING 26 #if !FW_DIRECT_PORT_CALLS 33 this->m_bufferAllocate_InputPort[port].
init();
38 this->m_bufferAllocate_InputPort[port].
setPortNum(port);
40 #if FW_OBJECT_NAMES == 1 44 this->m_objName.toChar(),
47 this->m_bufferAllocate_InputPort[port].setObjName(portName.
toChar());
52 #if !FW_DIRECT_PORT_CALLS 59 this->m_bufferDeallocate_InputPort[port].
init();
60 this->m_bufferDeallocate_InputPort[port].
addCallComp(
62 m_p_bufferDeallocate_in
64 this->m_bufferDeallocate_InputPort[port].
setPortNum(port);
66 #if FW_OBJECT_NAMES == 1 70 this->m_objName.toChar(),
73 this->m_bufferDeallocate_InputPort[port].setObjName(portName.
toChar());
79 #if !FW_DIRECT_PORT_CALLS 90 static_cast<FwAssertArgType>(portNum)
93 return &this->m_bufferAllocate_InputPort[portNum];
101 static_cast<FwAssertArgType>(portNum)
104 return &this->m_bufferDeallocate_InputPort[portNum];
115 Fw::PassiveComponentBase(compName)
141 static_cast<FwAssertArgType>(portNum)
170 static_cast<FwAssertArgType>(portNum)
196 this->m_guardedPortMutex.
lock();
202 this->m_guardedPortMutex.
unLock();
210 m_p_bufferAllocate_in(
224 void StaticMemoryComponentBase ::
225 m_p_bufferDeallocate_in(
233 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
Convert to a C-style char*.
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