9 #if FW_ENABLE_TEXT_LOGGING 26 #if !FW_DIRECT_PORT_CALLS 33 this->m_getValue_InputPort[port].
init();
38 this->m_getValue_InputPort[port].
setPortNum(port);
40 #if FW_OBJECT_NAMES == 1 44 this->m_objName.toChar(),
47 this->m_getValue_InputPort[port].setObjName(portName.
toChar());
52 #if !FW_DIRECT_PORT_CALLS 59 this->m_setValue_InputPort[port].
init();
64 this->m_setValue_InputPort[port].
setPortNum(port);
66 #if FW_OBJECT_NAMES == 1 70 this->m_objName.toChar(),
73 this->m_setValue_InputPort[port].setObjName(portName.
toChar());
79 #if !FW_DIRECT_PORT_CALLS 90 static_cast<FwAssertArgType>(portNum)
93 return &this->m_getValue_InputPort[portNum];
101 static_cast<FwAssertArgType>(portNum)
104 return &this->m_setValue_InputPort[portNum];
115 Fw::PassiveComponentBase(compName)
144 static_cast<FwAssertArgType>(portNum)
175 static_cast<FwAssertArgType>(portNum)
204 this->m_guardedPortMutex.
lock();
210 this->m_guardedPortMutex.
unLock();
217 void PolyDbComponentBase ::
238 void PolyDbComponentBase ::
250 compPtr->setValue_handlerBase(
static constexpr FwIndexType getNum_getValue_InputPorts()
void setValue_handlerBase(FwIndexType portNum, const Svc::PolyDbCfg::PolyDbEntry &entry, Svc::MeasurementStatus &status, Fw::Time &time, Fw::PolyType &val)
Handler base-class function for input port setValue.
static constexpr FwIndexType getNum_setValue_InputPorts()
void unLock()
unlock the mutex and assert success
virtual ~PolyDbComponentBase()
Destroy PolyDbComponentBase object.
Svc::InputPolyPort * get_setValue_InputPort(FwIndexType portNum)
void init()
Object initializer.
PolyDbComponentBase(const char *compName="")
Construct PolyDbComponentBase object.
virtual void getValue_handler(FwIndexType portNum, const Svc::PolyDbCfg::PolyDbEntry &entry, Svc::MeasurementStatus &status, Fw::Time &time, Fw::PolyType &val)=0
Handler for input port getValue.
virtual void unLock()
Unlock the guarded mutex.
An enumeration for measurement status.
Auto-generated base for PolyDb component.
const char * toChar() const
Convert to a C-style char*.
FormatStatus format(const CHAR *formatString,...)
write formatted string to buffer
virtual void lock()
Lock the guarded mutex.
PlatformIndexType FwIndexType
Svc::InputPolyPort * get_getValue_InputPort(FwIndexType portNum)
void getValue_handlerBase(FwIndexType portNum, const Svc::PolyDbCfg::PolyDbEntry &entry, Svc::MeasurementStatus &status, Fw::Time &time, Fw::PolyType &val)
Handler base-class function for input port getValue.
virtual void setValue_handler(FwIndexType portNum, const Svc::PolyDbCfg::PolyDbEntry &entry, Svc::MeasurementStatus &status, Fw::Time &time, Fw::PolyType &val)=0
Handler for input port setValue.
RateGroupDivider component implementation.
Implementation of malloc based allocator.
void lock()
lock the mutex and assert success