10#if FW_ENABLE_TEXT_LOGGING
19 PRODUCTREQUESTIN_DPREQUEST,
22 CMD_CLEAR_EVENT_THROTTLE,
36 class ComponentIpcSerializableBuffer :
46 MAX_DATA_SIZE =
sizeof(BuffUnion),
48 SERIALIZATION_SIZE = DATA_OFFSET + MAX_DATA_SIZE
52 return sizeof(m_buff);
59 const U8* getBuffAddr()
const {
65 U8 m_buff[SERIALIZATION_SIZE];
74 void DpManagerComponentBase ::
86 port < static_cast<FwIndexType>(this->getNum_cmdIn_InputPorts());
89 this->m_cmdIn_InputPort[port].init();
90 this->m_cmdIn_InputPort[port].addCallComp(
94 this->m_cmdIn_InputPort[port].setPortNum(port);
96#if FW_OBJECT_NAMES == 1
100 this->m_objName.toChar(),
103 this->m_cmdIn_InputPort[port].setObjName(portName.
toChar());
110 port < static_cast<FwIndexType>(this->getNum_productGetIn_InputPorts());
113 this->m_productGetIn_InputPort[port].init();
114 this->m_productGetIn_InputPort[port].addCallComp(
118 this->m_productGetIn_InputPort[port].setPortNum(port);
120#if FW_OBJECT_NAMES == 1
124 this->m_objName.toChar(),
127 this->m_productGetIn_InputPort[port].setObjName(portName.
toChar());
134 port < static_cast<FwIndexType>(this->getNum_productRequestIn_InputPorts());
137 this->m_productRequestIn_InputPort[port].init();
138 this->m_productRequestIn_InputPort[port].addCallComp(
140 m_p_productRequestIn_in
142 this->m_productRequestIn_InputPort[port].setPortNum(port);
144#if FW_OBJECT_NAMES == 1
148 this->m_objName.toChar(),
151 this->m_productRequestIn_InputPort[port].setObjName(portName.
toChar());
158 port < static_cast<FwIndexType>(this->getNum_productSendIn_InputPorts());
161 this->m_productSendIn_InputPort[port].init();
162 this->m_productSendIn_InputPort[port].addCallComp(
166 this->m_productSendIn_InputPort[port].setPortNum(port);
168#if FW_OBJECT_NAMES == 1
172 this->m_objName.toChar(),
175 this->m_productSendIn_InputPort[port].setObjName(portName.
toChar());
182 port < static_cast<FwIndexType>(this->getNum_schedIn_InputPorts());
185 this->m_schedIn_InputPort[port].init();
186 this->m_schedIn_InputPort[port].addCallComp(
190 this->m_schedIn_InputPort[port].setPortNum(port);
192#if FW_OBJECT_NAMES == 1
196 this->m_objName.toChar(),
199 this->m_schedIn_InputPort[port].setObjName(portName.
toChar());
206 port < static_cast<FwIndexType>(this->getNum_cmdRegIn_OutputPorts());
209 this->m_cmdRegIn_OutputPort[port].init();
211#if FW_OBJECT_NAMES == 1
215 this->m_objName.toChar(),
218 this->m_cmdRegIn_OutputPort[port].setObjName(portName.
toChar());
225 port < static_cast<FwIndexType>(this->getNum_cmdResponseOut_OutputPorts());
228 this->m_cmdResponseOut_OutputPort[port].init();
230#if FW_OBJECT_NAMES == 1
234 this->m_objName.toChar(),
237 this->m_cmdResponseOut_OutputPort[port].setObjName(portName.
toChar());
244 port < static_cast<FwIndexType>(this->getNum_eventOut_OutputPorts());
247 this->m_eventOut_OutputPort[port].init();
249#if FW_OBJECT_NAMES == 1
253 this->m_objName.toChar(),
256 this->m_eventOut_OutputPort[port].setObjName(portName.
toChar());
260#if FW_ENABLE_TEXT_LOGGING == 1
264 port < static_cast<FwIndexType>(this->getNum_textEventOut_OutputPorts());
267 this->m_textEventOut_OutputPort[port].init();
269#if FW_OBJECT_NAMES == 1
273 this->m_objName.toChar(),
276 this->m_textEventOut_OutputPort[port].setObjName(portName.
toChar());
284 port < static_cast<FwIndexType>(this->getNum_timeGetOut_OutputPorts());
287 this->m_timeGetOut_OutputPort[port].init();
289#if FW_OBJECT_NAMES == 1
293 this->m_objName.toChar(),
296 this->m_timeGetOut_OutputPort[port].setObjName(portName.
toChar());
303 port < static_cast<FwIndexType>(this->getNum_tlmOut_OutputPorts());
306 this->m_tlmOut_OutputPort[port].init();
308#if FW_OBJECT_NAMES == 1
312 this->m_objName.toChar(),
315 this->m_tlmOut_OutputPort[port].setObjName(portName.
toChar());
322 port < static_cast<FwIndexType>(this->getNum_bufferGetOut_OutputPorts());
325 this->m_bufferGetOut_OutputPort[port].init();
327#if FW_OBJECT_NAMES == 1
331 this->m_objName.toChar(),
334 this->m_bufferGetOut_OutputPort[port].setObjName(portName.
toChar());
341 port < static_cast<FwIndexType>(this->getNum_productResponseOut_OutputPorts());
344 this->m_productResponseOut_OutputPort[port].init();
346#if FW_OBJECT_NAMES == 1
350 this->m_objName.toChar(),
353 this->m_productResponseOut_OutputPort[port].setObjName(portName.
toChar());
360 port < static_cast<FwIndexType>(this->getNum_productSendOut_OutputPorts());
363 this->m_productSendOut_OutputPort[port].init();
365#if FW_OBJECT_NAMES == 1
369 this->m_objName.toChar(),
372 this->m_productSendOut_OutputPort[port].setObjName(portName.
toChar());
379 static_cast<FwSizeType>(ComponentIpcSerializableBuffer::SERIALIZATION_SIZE)
395 portNum < this->getNum_cmdIn_InputPorts(),
399 return &this->m_cmdIn_InputPort[portNum];
410 portNum < this->getNum_productGetIn_InputPorts(),
414 return &this->m_productGetIn_InputPort[portNum];
418 get_productRequestIn_InputPort(
FwIndexType portNum)
421 portNum < this->getNum_productRequestIn_InputPorts(),
425 return &this->m_productRequestIn_InputPort[portNum];
432 portNum < this->getNum_productSendIn_InputPorts(),
436 return &this->m_productSendIn_InputPort[portNum];
443 portNum < this->getNum_schedIn_InputPorts(),
447 return &this->m_schedIn_InputPort[portNum];
454 void DpManagerComponentBase ::
455 set_cmdRegIn_OutputPort(
461 portNum < this->getNum_cmdRegIn_OutputPorts(),
465 this->m_cmdRegIn_OutputPort[portNum].addCallPort(port);
468 void DpManagerComponentBase ::
469 set_cmdResponseOut_OutputPort(
475 portNum < this->getNum_cmdResponseOut_OutputPorts(),
479 this->m_cmdResponseOut_OutputPort[portNum].addCallPort(port);
482 void DpManagerComponentBase ::
483 set_eventOut_OutputPort(
489 portNum < this->getNum_eventOut_OutputPorts(),
493 this->m_eventOut_OutputPort[portNum].addCallPort(port);
496#if FW_ENABLE_TEXT_LOGGING == 1
498 void DpManagerComponentBase ::
499 set_textEventOut_OutputPort(
505 portNum < this->getNum_textEventOut_OutputPorts(),
509 this->m_textEventOut_OutputPort[portNum].addCallPort(port);
514 void DpManagerComponentBase ::
515 set_timeGetOut_OutputPort(
521 portNum < this->getNum_timeGetOut_OutputPorts(),
525 this->m_timeGetOut_OutputPort[portNum].addCallPort(port);
528 void DpManagerComponentBase ::
529 set_tlmOut_OutputPort(
535 portNum < this->getNum_tlmOut_OutputPorts(),
539 this->m_tlmOut_OutputPort[portNum].addCallPort(port);
546 void DpManagerComponentBase ::
547 set_bufferGetOut_OutputPort(
553 portNum < this->getNum_bufferGetOut_OutputPorts(),
557 this->m_bufferGetOut_OutputPort[portNum].addCallPort(port);
560 void DpManagerComponentBase ::
561 set_productResponseOut_OutputPort(
567 portNum < this->getNum_productResponseOut_OutputPorts(),
571 this->m_productResponseOut_OutputPort[portNum].addCallPort(port);
574 void DpManagerComponentBase ::
575 set_productSendOut_OutputPort(
581 portNum < this->getNum_productSendOut_OutputPorts(),
585 this->m_productSendOut_OutputPort[portNum].addCallPort(port);
588#if FW_PORT_SERIALIZATION
594 void DpManagerComponentBase ::
595 set_cmdRegIn_OutputPort(
597 Fw::InputSerializePort* port
601 portNum < this->getNum_cmdRegIn_OutputPorts(),
605 this->m_cmdRegIn_OutputPort[portNum].registerSerialPort(port);
608 void DpManagerComponentBase ::
609 set_cmdResponseOut_OutputPort(
611 Fw::InputSerializePort* port
615 portNum < this->getNum_cmdResponseOut_OutputPorts(),
619 this->m_cmdResponseOut_OutputPort[portNum].registerSerialPort(port);
622 void DpManagerComponentBase ::
623 set_eventOut_OutputPort(
625 Fw::InputSerializePort* port
629 portNum < this->getNum_eventOut_OutputPorts(),
633 this->m_eventOut_OutputPort[portNum].registerSerialPort(port);
636#if FW_ENABLE_TEXT_LOGGING == 1
638 void DpManagerComponentBase ::
639 set_textEventOut_OutputPort(
641 Fw::InputSerializePort* port
645 portNum < this->getNum_textEventOut_OutputPorts(),
649 this->m_textEventOut_OutputPort[portNum].registerSerialPort(port);
654 void DpManagerComponentBase ::
655 set_timeGetOut_OutputPort(
657 Fw::InputSerializePort* port
661 portNum < this->getNum_timeGetOut_OutputPorts(),
665 this->m_timeGetOut_OutputPort[portNum].registerSerialPort(port);
668 void DpManagerComponentBase ::
669 set_tlmOut_OutputPort(
671 Fw::InputSerializePort* port
675 portNum < this->getNum_tlmOut_OutputPorts(),
679 this->m_tlmOut_OutputPort[portNum].registerSerialPort(port);
684#if FW_PORT_SERIALIZATION
690 void DpManagerComponentBase ::
691 set_productResponseOut_OutputPort(
693 Fw::InputSerializePort* port
697 portNum < this->getNum_productResponseOut_OutputPorts(),
701 this->m_productResponseOut_OutputPort[portNum].registerSerialPort(port);
704 void DpManagerComponentBase ::
705 set_productSendOut_OutputPort(
707 Fw::InputSerializePort* port
711 portNum < this->getNum_productSendOut_OutputPorts(),
715 this->m_productSendOut_OutputPort[portNum].registerSerialPort(port);
724 void DpManagerComponentBase ::
727 FW_ASSERT(this->m_cmdRegIn_OutputPort[0].isConnected());
729 this->m_cmdRegIn_OutputPort[0].invoke(
730 this->getIdBase() + OPCODE_CLEAR_EVENT_THROTTLE
738 DpManagerComponentBase ::
739 DpManagerComponentBase(
const char* compName) :
740 Fw::ActiveComponentBase(compName)
743 this->m_first_update_NumSuccessfulAllocations =
true;
744 this->m_last_NumSuccessfulAllocations = 0;
747 this->m_first_update_NumFailedAllocations =
true;
748 this->m_last_NumFailedAllocations = 0;
751 this->m_first_update_NumDataProducts =
true;
752 this->m_last_NumDataProducts = 0;
755 this->m_first_update_NumBytes =
true;
756 this->m_last_NumBytes = 0;
758 this->m_BufferAllocationFailedThrottle = 0;
761 DpManagerComponentBase ::
762 ~DpManagerComponentBase()
772 getNum_cmdIn_InputPorts()
const
782 getNum_productGetIn_InputPorts()
const
788 getNum_productRequestIn_InputPorts()
const
794 getNum_productSendIn_InputPorts()
const
800 getNum_schedIn_InputPorts()
const
810 getNum_cmdRegIn_OutputPorts()
const
816 getNum_cmdResponseOut_OutputPorts()
const
822 getNum_eventOut_OutputPorts()
const
827#if FW_ENABLE_TEXT_LOGGING == 1
830 getNum_textEventOut_OutputPorts()
const
838 getNum_timeGetOut_OutputPorts()
const
844 getNum_tlmOut_OutputPorts()
const
854 getNum_bufferGetOut_OutputPorts()
const
860 getNum_productResponseOut_OutputPorts()
const
866 getNum_productSendOut_OutputPorts()
const
875 bool DpManagerComponentBase ::
876 isConnected_cmdRegIn_OutputPort(
FwIndexType portNum)
879 portNum < this->getNum_cmdRegIn_OutputPorts(),
883 return this->m_cmdRegIn_OutputPort[portNum].isConnected();
886 bool DpManagerComponentBase ::
887 isConnected_cmdResponseOut_OutputPort(
FwIndexType portNum)
890 portNum < this->getNum_cmdResponseOut_OutputPorts(),
894 return this->m_cmdResponseOut_OutputPort[portNum].isConnected();
897 bool DpManagerComponentBase ::
898 isConnected_eventOut_OutputPort(
FwIndexType portNum)
901 portNum < this->getNum_eventOut_OutputPorts(),
905 return this->m_eventOut_OutputPort[portNum].isConnected();
908#if FW_ENABLE_TEXT_LOGGING == 1
910 bool DpManagerComponentBase ::
911 isConnected_textEventOut_OutputPort(
FwIndexType portNum)
914 portNum < this->getNum_textEventOut_OutputPorts(),
918 return this->m_textEventOut_OutputPort[portNum].isConnected();
923 bool DpManagerComponentBase ::
924 isConnected_timeGetOut_OutputPort(
FwIndexType portNum)
927 portNum < this->getNum_timeGetOut_OutputPorts(),
931 return this->m_timeGetOut_OutputPort[portNum].isConnected();
934 bool DpManagerComponentBase ::
938 portNum < this->getNum_tlmOut_OutputPorts(),
942 return this->m_tlmOut_OutputPort[portNum].isConnected();
949 bool DpManagerComponentBase ::
950 isConnected_bufferGetOut_OutputPort(
FwIndexType portNum)
953 portNum < this->getNum_bufferGetOut_OutputPorts(),
957 return this->m_bufferGetOut_OutputPort[portNum].isConnected();
960 bool DpManagerComponentBase ::
961 isConnected_productResponseOut_OutputPort(
FwIndexType portNum)
964 portNum < this->getNum_productResponseOut_OutputPorts(),
968 return this->m_productResponseOut_OutputPort[portNum].isConnected();
971 bool DpManagerComponentBase ::
972 isConnected_productSendOut_OutputPort(
FwIndexType portNum)
975 portNum < this->getNum_productSendOut_OutputPorts(),
979 return this->m_productSendOut_OutputPort[portNum].isConnected();
989 productGetIn_handlerBase(
998 portNum < this->getNum_productGetIn_InputPorts(),
1005 retVal = this->productGetIn_handler(
1015 void DpManagerComponentBase ::
1016 productRequestIn_handlerBase(
1024 portNum < this->getNum_productRequestIn_InputPorts(),
1029 productRequestIn_preMsgHook(
1034 ComponentIpcSerializableBuffer msg;
1038 _status = msg.serialize(
1047 _status = msg.serialize(portNum);
1054 _status = msg.serialize(
id);
1061 _status = msg.serialize(dataSize);
1077 void DpManagerComponentBase ::
1078 productSendIn_handlerBase(
1086 portNum < this->getNum_productSendIn_InputPorts(),
1091 productSendIn_preMsgHook(
1096 ComponentIpcSerializableBuffer msg;
1100 _status = msg.serialize(
1109 _status = msg.serialize(portNum);
1116 _status = msg.serialize(
id);
1123 _status = msg.serialize(buffer);
1139 void DpManagerComponentBase ::
1140 schedIn_handlerBase(
1147 portNum < this->getNum_schedIn_InputPorts(),
1156 ComponentIpcSerializableBuffer msg;
1160 _status = msg.serialize(
1169 _status = msg.serialize(portNum);
1176 _status = msg.serialize(context);
1200 void DpManagerComponentBase ::
1201 productRequestIn_preMsgHook(
1210 void DpManagerComponentBase ::
1211 productSendIn_preMsgHook(
1220 void DpManagerComponentBase ::
1240 portNum < this->getNum_bufferGetOut_OutputPorts(),
1243 return this->m_bufferGetOut_OutputPort[portNum].invoke(
1248 void DpManagerComponentBase ::
1249 productResponseOut_out(
1257 portNum < this->getNum_productResponseOut_OutputPorts(),
1260 this->m_productResponseOut_OutputPort[portNum].invoke(
1267 void DpManagerComponentBase ::
1274 portNum < this->getNum_productSendOut_OutputPorts(),
1277 this->m_productSendOut_OutputPort[portNum].invoke(
1286 void DpManagerComponentBase ::
1293 FW_ASSERT(this->m_cmdResponseOut_OutputPort[0].isConnected());
1294 this->m_cmdResponseOut_OutputPort[0].invoke(opCode, cmdSeq, response);
1303 void DpManagerComponentBase ::
1304 CLEAR_EVENT_THROTTLE_cmdHandlerBase(
1311 this->CLEAR_EVENT_THROTTLE_preMsgHook(opCode,cmdSeq);
1315 ComponentIpcSerializableBuffer msg;
1319 _status = msg.serialize(
static_cast<FwEnumStoreType>(CMD_CLEAR_EVENT_THROTTLE));
1328 _status = msg.serialize(port);
1334 _status = msg.serialize(opCode);
1340 _status = msg.serialize(cmdSeq);
1346 _status = msg.serialize(args);
1370 void DpManagerComponentBase ::
1371 CLEAR_EVENT_THROTTLE_preMsgHook(
1385 void DpManagerComponentBase ::
1386 log_WARNING_HI_BufferAllocationFailed(U32
id)
1389 if (this->m_BufferAllocationFailedThrottle >= EVENTID_BUFFERALLOCATIONFAILED_THROTTLE) {
1393 this->m_BufferAllocationFailedThrottle++;
1398 if (this->m_timeGetOut_OutputPort[0].isConnected()) {
1399 this->m_timeGetOut_OutputPort[0].invoke(_logTime);
1404 _id = this->getIdBase() + EVENTID_BUFFERALLOCATIONFAILED;
1407 if (this->m_eventOut_OutputPort[0].isConnected()) {
1411#if FW_AMPCS_COMPATIBLE
1420#if FW_AMPCS_COMPATIBLE
1423 static_cast<U8>(
sizeof(U32))
1436 this->m_eventOut_OutputPort[0].invoke(
1445#if FW_ENABLE_TEXT_LOGGING
1446 if (this->m_textEventOut_OutputPort[0].isConnected()) {
1447#if FW_OBJECT_NAMES == 1
1448 const char* _formatString =
1449 "(%s) %s: Buffer allocation failed for container id %" PRIu32
"";
1451 const char* _formatString =
1452 "%s: Buffer allocation failed for container id %" PRIu32
"";
1459 this->m_objName.toChar(),
1461 "BufferAllocationFailed ",
1465 this->m_textEventOut_OutputPort[0].invoke(
1479 void DpManagerComponentBase ::
1480 log_WARNING_HI_BufferAllocationFailed_ThrottleClear()
1483 this->m_BufferAllocationFailedThrottle = 0;
1490 void DpManagerComponentBase ::
1491 tlmWrite_NumSuccessfulAllocations(
1497 if (not this->m_first_update_NumSuccessfulAllocations) {
1499 if (arg == this->m_last_NumSuccessfulAllocations) {
1503 this->m_last_NumSuccessfulAllocations = arg;
1507 this->m_first_update_NumSuccessfulAllocations =
false;
1508 this->m_last_NumSuccessfulAllocations = arg;
1511 if (this->m_tlmOut_OutputPort[0].isConnected()) {
1513 this->m_timeGetOut_OutputPort[0].isConnected() &&
1516 this->m_timeGetOut_OutputPort[0].invoke(_tlmTime);
1528 _id = this->getIdBase() + CHANNELID_NUMSUCCESSFULALLOCATIONS;
1530 this->m_tlmOut_OutputPort[0].invoke(
1538 void DpManagerComponentBase ::
1539 tlmWrite_NumFailedAllocations(
1545 if (not this->m_first_update_NumFailedAllocations) {
1547 if (arg == this->m_last_NumFailedAllocations) {
1551 this->m_last_NumFailedAllocations = arg;
1555 this->m_first_update_NumFailedAllocations =
false;
1556 this->m_last_NumFailedAllocations = arg;
1559 if (this->m_tlmOut_OutputPort[0].isConnected()) {
1561 this->m_timeGetOut_OutputPort[0].isConnected() &&
1564 this->m_timeGetOut_OutputPort[0].invoke(_tlmTime);
1576 _id = this->getIdBase() + CHANNELID_NUMFAILEDALLOCATIONS;
1578 this->m_tlmOut_OutputPort[0].invoke(
1586 void DpManagerComponentBase ::
1587 tlmWrite_NumDataProducts(
1593 if (not this->m_first_update_NumDataProducts) {
1595 if (arg == this->m_last_NumDataProducts) {
1599 this->m_last_NumDataProducts = arg;
1603 this->m_first_update_NumDataProducts =
false;
1604 this->m_last_NumDataProducts = arg;
1607 if (this->m_tlmOut_OutputPort[0].isConnected()) {
1609 this->m_timeGetOut_OutputPort[0].isConnected() &&
1612 this->m_timeGetOut_OutputPort[0].invoke(_tlmTime);
1624 _id = this->getIdBase() + CHANNELID_NUMDATAPRODUCTS;
1626 this->m_tlmOut_OutputPort[0].invoke(
1634 void DpManagerComponentBase ::
1641 if (not this->m_first_update_NumBytes) {
1643 if (arg == this->m_last_NumBytes) {
1647 this->m_last_NumBytes = arg;
1651 this->m_first_update_NumBytes =
false;
1652 this->m_last_NumBytes = arg;
1655 if (this->m_tlmOut_OutputPort[0].isConnected()) {
1657 this->m_timeGetOut_OutputPort[0].isConnected() &&
1660 this->m_timeGetOut_OutputPort[0].invoke(_tlmTime);
1672 _id = this->getIdBase() + CHANNELID_NUMBYTES;
1674 this->m_tlmOut_OutputPort[0].invoke(
1689 if (this->m_timeGetOut_OutputPort[0].isConnected()) {
1691 this->m_timeGetOut_OutputPort[0].invoke(_time);
1706 ComponentIpcSerializableBuffer msg;
1729 MsgTypeEnum msgType =
static_cast<MsgTypeEnum
>(desMsg);
1731 if (msgType == DPMANAGER_COMPONENT_EXIT) {
1732 return MSG_DISPATCH_EXIT;
1736 deserStatus = msg.deserialize(portNum);
1744 case PRODUCTREQUESTIN_DPREQUEST: {
1747 deserStatus = msg.deserialize(
id);
1755 deserStatus = msg.deserialize(dataSize);
1761 this->productRequestIn_handler(
1771 case PRODUCTSENDIN_DPSEND: {
1774 deserStatus = msg.deserialize(
id);
1782 deserStatus = msg.deserialize(buffer);
1788 this->productSendIn_handler(
1798 case SCHEDIN_SCHED: {
1801 deserStatus = msg.deserialize(context);
1807 this->schedIn_handler(
1816 case CMD_CLEAR_EVENT_THROTTLE: {
1819 deserStatus = msg.deserialize(opCode);
1827 deserStatus = msg.deserialize(cmdSeq);
1835 deserStatus = msg.deserialize(args);
1846#if FW_CMD_CHECK_RESIDUAL
1848 if (this->m_cmdResponseOut_OutputPort[0].isConnected()) {
1857 this->CLEAR_EVENT_THROTTLE_cmdHandler(opCode, cmdSeq);
1863 return MSG_DISPATCH_ERROR;
1866 return MSG_DISPATCH_OK;
1873 void DpManagerComponentBase ::
1883 DpManagerComponentBase* compPtr =
static_cast<DpManagerComponentBase*
>(callComp);
1885 const U32 idBase = callComp->
getIdBase();
1889 switch (opCode - idBase) {
1890 case OPCODE_CLEAR_EVENT_THROTTLE: {
1891 compPtr->CLEAR_EVENT_THROTTLE_cmdHandlerBase(
1906 m_p_productGetIn_in(
1915 DpManagerComponentBase* compPtr =
static_cast<DpManagerComponentBase*
>(callComp);
1916 return compPtr->productGetIn_handlerBase(
1924 void DpManagerComponentBase ::
1925 m_p_productRequestIn_in(
1933 DpManagerComponentBase* compPtr =
static_cast<DpManagerComponentBase*
>(callComp);
1934 compPtr->productRequestIn_handlerBase(
1941 void DpManagerComponentBase ::
1942 m_p_productSendIn_in(
1950 DpManagerComponentBase* compPtr =
static_cast<DpManagerComponentBase*
>(callComp);
1951 compPtr->productSendIn_handlerBase(
1958 void DpManagerComponentBase ::
1966 DpManagerComponentBase* compPtr =
static_cast<DpManagerComponentBase*
>(callComp);
1967 compPtr->schedIn_handlerBase(
uint8_t U8
8-bit unsigned integer
#define FW_NUM_ARRAY_ELEMENTS(a)
number of elements in an array
#define PRI_PlatformIntType
@ TB_NONE
No time base has been established.
PlatformAssertArgType FwAssertArgType
PlatformSizeType FwSizeType
PlatformQueuePriorityType FwQueuePriorityType
PlatformIndexType FwIndexType
#define FW_OBJECT_NAMES
Indicates whether or not object names are stored (more memory, can be used for tracking objects)/*#en...
@ ACTIVE_COMPONENT_EXIT
message to exit active component task
Enum representing a command response.
@ FORMAT_ERROR
Command failed to deserialize.
@ WARNING_HI
A serious but recoverable event.
void init()
Object initializer.
const char * toChar() const
NATIVE_UINT_TYPE SizeType
void resetDeser()
reset deserialization to beginning
Serializable::SizeType getBuffLeft() const
returns how much deserialization buffer is left
SerializeStatus serialize(U8 val)
serialize 8-bit unsigned int
void format(const CHAR *formatString,...)
write formatted string to buffer
@ BLOCKING
Message will block until space is available.
@ NONBLOCKING
Message will return with status when space is unavailable.
Status
status returned from the queue send function
@ OP_OK
message sent/received okay
SerializeStatus
forward declaration for string
@ FW_SERIALIZE_OK
Serialization/Deserialization operation was successful.