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());
87 return &this->m_getValue_InputPort[portNum];
98 return &this->m_setValue_InputPort[portNum];
107 Fw::PassiveComponentBase(compName)
212 this->m_guardedPortMutex.
lock();
218 this->m_guardedPortMutex.
unLock();
225 void PolyDbComponentBase ::
246 void PolyDbComponentBase ::
258 compPtr->setValue_handlerBase(
#define FW_NUM_ARRAY_ELEMENTS(a)
number of elements in an array
#define PRI_PlatformIntType
PlatformAssertArgType FwAssertArgType
PlatformIndexType FwIndexType
void init()
Object initializer.
const char * toChar() const
void format(const CHAR *formatString,...)
write formatted string to buffer
void unLock()
unlock the mutex and assert success
void lock()
lock the mutex and assert success
An enumeration for measurement status.
Auto-generated base for PolyDb component.
Svc::InputPolyPort * get_setValue_InputPort(FwIndexType portNum)
virtual void unLock()
Unlock the guarded mutex.
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.
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.
PolyDbComponentBase(const char *compName="")
Construct PolyDbComponentBase object.
virtual void lock()
Lock the guarded mutex.
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.
FwIndexType getNum_setValue_InputPorts() const
Svc::InputPolyPort * get_getValue_InputPort(FwIndexType portNum)
virtual ~PolyDbComponentBase()
Destroy PolyDbComponentBase object.
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.
FwIndexType getNum_getValue_InputPorts() const