11#if FW_ENABLE_TEXT_LOGGING
26 class ComponentIpcSerializableBuffer :
41 return sizeof(m_buff);
48 const U8* getBuffAddr()
const {
54 U8 m_buff[SERIALIZATION_SIZE];
63 void PolyDbComponentBase ::
72 port < static_cast<PlatformIntType>(this->getNum_getValue_InputPorts());
75 this->m_getValue_InputPort[port].init();
76 this->m_getValue_InputPort[port].addCallComp(
80 this->m_getValue_InputPort[port].setPortNum(port);
82#if FW_OBJECT_NAMES == 1
91 this->m_getValue_InputPort[port].setObjName(portName);
98 port < static_cast<PlatformIntType>(this->getNum_setValue_InputPorts());
101 this->m_setValue_InputPort[port].init();
102 this->m_setValue_InputPort[port].addCallComp(
106 this->m_setValue_InputPort[port].setPortNum(port);
108#if FW_OBJECT_NAMES == 1
117 this->m_setValue_InputPort[port].setObjName(portName);
63 void PolyDbComponentBase :: {
…}
130 portNum < this->getNum_getValue_InputPorts(),
134 return &this->m_getValue_InputPort[portNum];
141 portNum < this->getNum_setValue_InputPorts(),
145 return &this->m_setValue_InputPort[portNum];
152 PolyDbComponentBase ::
153 PolyDbComponentBase(
const char* compName) :
154 Fw::PassiveComponentBase(compName)
152 PolyDbComponentBase :: {
…}
159 PolyDbComponentBase ::
160 ~PolyDbComponentBase()
159 PolyDbComponentBase :: {
…}
170 getNum_getValue_InputPorts()
176 getNum_setValue_InputPorts()
187 void PolyDbComponentBase ::
188 getValue_handlerBase(
198 portNum < this->getNum_getValue_InputPorts(),
206 this->getValue_handler(
187 void PolyDbComponentBase :: {
…}
218 void PolyDbComponentBase ::
219 setValue_handlerBase(
229 portNum < this->getNum_setValue_InputPorts(),
237 this->setValue_handler(
218 void PolyDbComponentBase :: {
…}
256 void PolyDbComponentBase ::
259 this->m_guardedPortMutex.lock();
256 void PolyDbComponentBase :: {
…}
262 void PolyDbComponentBase ::
265 this->m_guardedPortMutex.unLock();
262 void PolyDbComponentBase :: {
…}
272 void PolyDbComponentBase ::
293 void PolyDbComponentBase ::
304 PolyDbComponentBase* compPtr =
static_cast<PolyDbComponentBase*
>(callComp);
PlatformIntType NATIVE_INT_TYPE
uint8_t U8
8-bit unsigned integer
#define FW_NUM_ARRAY_ELEMENTS(a)
number of elements in an array
PlatformUIntType NATIVE_UINT_TYPE
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.