10 #if FW_ENABLE_TEXT_LOGGING 32 this->m_getValue_InputPort[port].
init();
37 this->m_getValue_InputPort[port].
setPortNum(port);
39 #if FW_OBJECT_NAMES == 1 43 this->m_objName.toChar(),
46 this->m_getValue_InputPort[port].setObjName(portName.
toChar());
56 this->m_setValue_InputPort[port].
init();
61 this->m_setValue_InputPort[port].
setPortNum(port);
63 #if FW_OBJECT_NAMES == 1 67 this->m_objName.toChar(),
70 this->m_setValue_InputPort[port].setObjName(portName.
toChar());
84 static_cast<FwAssertArgType>(portNum)
87 return &this->m_getValue_InputPort[portNum];
95 static_cast<FwAssertArgType>(portNum)
98 return &this->m_setValue_InputPort[portNum];
107 Fw::PassiveComponentBase(compName)
152 static_cast<FwAssertArgType>(portNum)
183 static_cast<FwAssertArgType>(portNum)
212 this->m_guardedPortMutex.
lock();
218 this->m_guardedPortMutex.
unLock();
225 void PolyDbComponentBase ::
246 void PolyDbComponentBase ::
258 compPtr->setValue_handlerBase(
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.
FwIndexType getNum_setValue_InputPorts() const
void unLock()
unlock the mutex and assert success
virtual ~PolyDbComponentBase()
Destroy PolyDbComponentBase object.
Svc::InputPolyPort * get_setValue_InputPort(FwIndexType portNum)
PlatformIndexType FwIndexType
void init()
Object initializer.
FwIndexType getNum_getValue_InputPorts() const
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
FormatStatus format(const CHAR *formatString,...)
write formatted string to buffer
virtual void lock()
Lock the guarded mutex.
#define PRI_PlatformIntType
Svc::InputPolyPort * get_getValue_InputPort(FwIndexType portNum)
#define FW_NUM_ARRAY_ELEMENTS(a)
number of elements in an array
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.
void lock()
lock the mutex and assert success