10#if FW_ENABLE_TEXT_LOGGING
20 void PolyDbComponentBase ::
29 port < static_cast<FwIndexType>(this->getNum_getValue_InputPorts());
32 this->m_getValue_InputPort[port].init();
33 this->m_getValue_InputPort[port].addCallComp(
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());
53 port < static_cast<FwIndexType>(this->getNum_setValue_InputPorts());
56 this->m_setValue_InputPort[port].init();
57 this->m_setValue_InputPort[port].addCallComp(
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());
83 portNum < this->getNum_getValue_InputPorts(),
87 return &this->m_getValue_InputPort[portNum];
94 portNum < this->getNum_setValue_InputPorts(),
98 return &this->m_setValue_InputPort[portNum];
105 PolyDbComponentBase ::
106 PolyDbComponentBase(
const char* compName) :
107 Fw::PassiveComponentBase(compName)
112 PolyDbComponentBase ::
113 ~PolyDbComponentBase()
123 getNum_getValue_InputPorts()
const
129 getNum_setValue_InputPorts()
const
140 void PolyDbComponentBase ::
141 getValue_handlerBase(
151 portNum < this->getNum_getValue_InputPorts(),
159 this->getValue_handler(
171 void PolyDbComponentBase ::
172 setValue_handlerBase(
182 portNum < this->getNum_setValue_InputPorts(),
190 this->setValue_handler(
209 void PolyDbComponentBase ::
212 this->m_guardedPortMutex.lock();
215 void PolyDbComponentBase ::
218 this->m_guardedPortMutex.unLock();
225 void PolyDbComponentBase ::
246 void PolyDbComponentBase ::
257 PolyDbComponentBase* compPtr =
static_cast<PolyDbComponentBase*
>(callComp);
#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
An enumeration for measurement status.
Auto-generated base for PolyDb component.
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.
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.