11#if FW_ENABLE_TEXT_LOGGING
21 void PolyDbComponentBase ::
30 port < static_cast<PlatformIntType>(this->getNum_getValue_InputPorts());
33 this->m_getValue_InputPort[port].init();
34 this->m_getValue_InputPort[port].addCallComp(
38 this->m_getValue_InputPort[port].setPortNum(port);
40#if FW_OBJECT_NAMES == 1
47 char portName[2*FW_OBJ_NAME_MAX_SIZE];
55 this->m_getValue_InputPort[port].setObjName(portName);
62 port < static_cast<PlatformIntType>(this->getNum_setValue_InputPorts());
65 this->m_setValue_InputPort[port].init();
66 this->m_setValue_InputPort[port].addCallComp(
70 this->m_setValue_InputPort[port].setPortNum(port);
72#if FW_OBJECT_NAMES == 1
79 char portName[2*FW_OBJ_NAME_MAX_SIZE];
87 this->m_setValue_InputPort[port].setObjName(portName);
21 void PolyDbComponentBase :: {
…}
100 portNum < this->getNum_getValue_InputPorts(),
104 return &this->m_getValue_InputPort[portNum];
111 portNum < this->getNum_setValue_InputPorts(),
115 return &this->m_setValue_InputPort[portNum];
122 PolyDbComponentBase ::
123 PolyDbComponentBase(
const char* compName) :
124 Fw::PassiveComponentBase(compName)
122 PolyDbComponentBase :: {
…}
129 PolyDbComponentBase ::
130 ~PolyDbComponentBase()
129 PolyDbComponentBase :: {
…}
140 getNum_getValue_InputPorts()
const
146 getNum_setValue_InputPorts()
const
157 void PolyDbComponentBase ::
158 getValue_handlerBase(
168 portNum < this->getNum_getValue_InputPorts(),
176 this->getValue_handler(
157 void PolyDbComponentBase :: {
…}
188 void PolyDbComponentBase ::
189 setValue_handlerBase(
199 portNum < this->getNum_setValue_InputPorts(),
207 this->setValue_handler(
188 void PolyDbComponentBase :: {
…}
226 void PolyDbComponentBase ::
229 this->m_guardedPortMutex.lock();
226 void PolyDbComponentBase :: {
…}
232 void PolyDbComponentBase ::
235 this->m_guardedPortMutex.unLock();
232 void PolyDbComponentBase :: {
…}
242 void PolyDbComponentBase ::
263 void PolyDbComponentBase ::
274 PolyDbComponentBase* compPtr =
static_cast<PolyDbComponentBase*
>(callComp);
PlatformIntType NATIVE_INT_TYPE
#define FW_NUM_ARRAY_ELEMENTS(a)
number of elements in an array
int PlatformIntType
DefaultTypes.hpp provides fallback defaults for the platform types.
#define PRI_PlatformIntType
PlatformAssertArgType FwAssertArgType
void init()
Object initializer.
An enumeration for measurement status.
Auto-generated base for PolyDb component.
void getValue_handlerBase(NATIVE_INT_TYPE portNum, U32 entry, Svc::MeasurementStatus &status, Fw::Time &time, Fw::PolyType &val)
Handler base-class function for input port getValue.
void setValue_handlerBase(NATIVE_INT_TYPE portNum, U32 entry, Svc::MeasurementStatus &status, Fw::Time &time, Fw::PolyType &val)
Handler base-class function for input port setValue.