10 #if FW_ENABLE_TEXT_LOGGING 25 DATARETURNIN_BUFFERSEND,
29 CMD_PLAYBACKDIRECTORY,
31 CMD_STOPPOLLDIRECTORY,
33 CMD_SUSPENDRESUMETRANSACTION,
34 CMD_CANCELTRANSACTION,
35 CMD_ABANDONTRANSACTION,
51 class ComponentIpcSerializableBuffer :
61 MAX_DATA_SIZE =
sizeof(BuffUnion),
63 SERIALIZATION_SIZE = DATA_OFFSET + MAX_DATA_SIZE
66 ComponentIpcSerializableBuffer() :
Fw::LinearBufferBase(m_buff, sizeof(m_buff)) {
72 U8 m_buff[SERIALIZATION_SIZE];
90 #if !FW_DIRECT_PORT_CALLS 97 this->m_cmdIn_InputPort[port].
init();
102 this->m_cmdIn_InputPort[port].
setPortNum(port);
104 #if FW_OBJECT_NAMES == 1 108 this->m_objName.toChar(),
111 this->m_cmdIn_InputPort[port].setObjName(portName.
toChar());
116 #if !FW_DIRECT_PORT_CALLS 123 this->m_dataIn_InputPort[port].
init();
128 this->m_dataIn_InputPort[port].
setPortNum(port);
130 #if FW_OBJECT_NAMES == 1 134 this->m_objName.toChar(),
137 this->m_dataIn_InputPort[port].setObjName(portName.
toChar());
142 #if !FW_DIRECT_PORT_CALLS 149 this->m_dataReturnIn_InputPort[port].
init();
154 this->m_dataReturnIn_InputPort[port].
setPortNum(port);
156 #if FW_OBJECT_NAMES == 1 160 this->m_objName.toChar(),
163 this->m_dataReturnIn_InputPort[port].setObjName(portName.
toChar());
168 #if !FW_DIRECT_PORT_CALLS 175 this->m_fileIn_InputPort[port].
init();
180 this->m_fileIn_InputPort[port].
setPortNum(port);
182 #if FW_OBJECT_NAMES == 1 186 this->m_objName.toChar(),
189 this->m_fileIn_InputPort[port].setObjName(portName.
toChar());
194 #if !FW_DIRECT_PORT_CALLS 201 this->m_pingIn_InputPort[port].
init();
206 this->m_pingIn_InputPort[port].
setPortNum(port);
208 #if FW_OBJECT_NAMES == 1 212 this->m_objName.toChar(),
215 this->m_pingIn_InputPort[port].setObjName(portName.
toChar());
220 #if !FW_DIRECT_PORT_CALLS 227 this->m_run1Hz_InputPort[port].
init();
232 this->m_run1Hz_InputPort[port].
setPortNum(port);
234 #if FW_OBJECT_NAMES == 1 238 this->m_objName.toChar(),
241 this->m_run1Hz_InputPort[port].setObjName(portName.
toChar());
246 #if !FW_DIRECT_PORT_CALLS 253 this->m_cmdRegOut_OutputPort[port].
init();
255 #if FW_OBJECT_NAMES == 1 259 this->m_objName.toChar(),
262 this->m_cmdRegOut_OutputPort[port].setObjName(portName.
toChar());
267 #if !FW_DIRECT_PORT_CALLS 274 this->m_cmdResponseOut_OutputPort[port].
init();
276 #if FW_OBJECT_NAMES == 1 280 this->m_objName.toChar(),
283 this->m_cmdResponseOut_OutputPort[port].setObjName(portName.
toChar());
288 #if !FW_DIRECT_PORT_CALLS 295 this->m_logOut_OutputPort[port].
init();
297 #if FW_OBJECT_NAMES == 1 301 this->m_objName.toChar(),
304 this->m_logOut_OutputPort[port].setObjName(portName.
toChar());
309 #if !FW_DIRECT_PORT_CALLS && FW_ENABLE_TEXT_LOGGING 313 port < static_cast<FwIndexType>(this->getNum_logTextOut_OutputPorts());
316 this->m_logTextOut_OutputPort[port].
init();
318 #if FW_OBJECT_NAMES == 1 322 this->m_objName.toChar(),
325 this->m_logTextOut_OutputPort[port].setObjName(portName.
toChar());
330 #if !FW_DIRECT_PORT_CALLS 337 this->m_prmGetOut_OutputPort[port].
init();
339 #if FW_OBJECT_NAMES == 1 343 this->m_objName.toChar(),
346 this->m_prmGetOut_OutputPort[port].setObjName(portName.
toChar());
351 #if !FW_DIRECT_PORT_CALLS 358 this->m_prmSetOut_OutputPort[port].
init();
360 #if FW_OBJECT_NAMES == 1 364 this->m_objName.toChar(),
367 this->m_prmSetOut_OutputPort[port].setObjName(portName.
toChar());
372 #if !FW_DIRECT_PORT_CALLS 379 this->m_timeCaller_OutputPort[port].
init();
381 #if FW_OBJECT_NAMES == 1 385 this->m_objName.toChar(),
388 this->m_timeCaller_OutputPort[port].setObjName(portName.
toChar());
393 #if !FW_DIRECT_PORT_CALLS 400 this->m_tlmOut_OutputPort[port].
init();
402 #if FW_OBJECT_NAMES == 1 406 this->m_objName.toChar(),
409 this->m_tlmOut_OutputPort[port].setObjName(portName.
toChar());
414 #if !FW_DIRECT_PORT_CALLS 421 this->m_bufferAllocate_OutputPort[port].
init();
423 #if FW_OBJECT_NAMES == 1 427 this->m_objName.toChar(),
430 this->m_bufferAllocate_OutputPort[port].setObjName(portName.
toChar());
435 #if !FW_DIRECT_PORT_CALLS 442 this->m_bufferDeallocate_OutputPort[port].
init();
444 #if FW_OBJECT_NAMES == 1 448 this->m_objName.toChar(),
451 this->m_bufferDeallocate_OutputPort[port].setObjName(portName.
toChar());
456 #if !FW_DIRECT_PORT_CALLS 463 this->m_dataInReturn_OutputPort[port].
init();
465 #if FW_OBJECT_NAMES == 1 469 this->m_objName.toChar(),
472 this->m_dataInReturn_OutputPort[port].setObjName(portName.
toChar());
477 #if !FW_DIRECT_PORT_CALLS 484 this->m_dataOut_OutputPort[port].
init();
486 #if FW_OBJECT_NAMES == 1 490 this->m_objName.toChar(),
493 this->m_dataOut_OutputPort[port].setObjName(portName.
toChar());
498 #if !FW_DIRECT_PORT_CALLS 505 this->m_fileDoneOut_OutputPort[port].
init();
507 #if FW_OBJECT_NAMES == 1 511 this->m_objName.toChar(),
514 this->m_fileDoneOut_OutputPort[port].setObjName(portName.
toChar());
519 #if !FW_DIRECT_PORT_CALLS 526 this->m_pingOut_OutputPort[port].
init();
528 #if FW_OBJECT_NAMES == 1 532 this->m_objName.toChar(),
535 this->m_pingOut_OutputPort[port].setObjName(portName.
toChar());
543 static_cast<FwSizeType>(ComponentIpcSerializableBuffer::SERIALIZATION_SIZE)
547 static_cast<FwAssertArgType>(qStat)
551 #if !FW_DIRECT_PORT_CALLS 562 static_cast<FwAssertArgType>(portNum)
565 return &this->m_cmdIn_InputPort[portNum];
570 #if !FW_DIRECT_PORT_CALLS 581 static_cast<FwAssertArgType>(portNum)
584 return &this->m_dataIn_InputPort[portNum];
592 static_cast<FwAssertArgType>(portNum)
595 return &this->m_dataReturnIn_InputPort[portNum];
603 static_cast<FwAssertArgType>(portNum)
606 return &this->m_fileIn_InputPort[portNum];
614 static_cast<FwAssertArgType>(portNum)
617 return &this->m_pingIn_InputPort[portNum];
625 static_cast<FwAssertArgType>(portNum)
628 return &this->m_run1Hz_InputPort[portNum];
633 #if !FW_DIRECT_PORT_CALLS 647 static_cast<FwAssertArgType>(portNum)
650 this->m_cmdRegOut_OutputPort[portNum].
addCallPort(port);
661 static_cast<FwAssertArgType>(portNum)
664 this->m_cmdResponseOut_OutputPort[portNum].
addCallPort(port);
675 static_cast<FwAssertArgType>(portNum)
678 this->m_logOut_OutputPort[portNum].
addCallPort(port);
681 #if FW_ENABLE_TEXT_LOGGING == 1 683 void CfdpManagerComponentBase ::
684 set_logTextOut_OutputPort(
690 (0 <= portNum) && (portNum < this->getNum_logTextOut_OutputPorts()),
691 static_cast<FwAssertArgType>(portNum)
694 this->m_logTextOut_OutputPort[portNum].addCallPort(port);
707 static_cast<FwAssertArgType>(portNum)
710 this->m_prmGetOut_OutputPort[portNum].
addCallPort(port);
721 static_cast<FwAssertArgType>(portNum)
724 this->m_prmSetOut_OutputPort[portNum].
addCallPort(port);
735 static_cast<FwAssertArgType>(portNum)
738 this->m_timeCaller_OutputPort[portNum].
addCallPort(port);
749 static_cast<FwAssertArgType>(portNum)
752 this->m_tlmOut_OutputPort[portNum].
addCallPort(port);
757 #if !FW_DIRECT_PORT_CALLS 771 static_cast<FwAssertArgType>(portNum)
774 this->m_bufferAllocate_OutputPort[portNum].
addCallPort(port);
785 static_cast<FwAssertArgType>(portNum)
788 this->m_bufferDeallocate_OutputPort[portNum].
addCallPort(port);
799 static_cast<FwAssertArgType>(portNum)
802 this->m_dataInReturn_OutputPort[portNum].
addCallPort(port);
813 static_cast<FwAssertArgType>(portNum)
816 this->m_dataOut_OutputPort[portNum].
addCallPort(port);
827 static_cast<FwAssertArgType>(portNum)
830 this->m_fileDoneOut_OutputPort[portNum].
addCallPort(port);
841 static_cast<FwAssertArgType>(portNum)
844 this->m_pingOut_OutputPort[portNum].
addCallPort(port);
849 #if !FW_DIRECT_PORT_CALLS && FW_PORT_SERIALIZATION 858 Fw::InputSerializePort* port
863 static_cast<FwAssertArgType>(portNum)
866 this->m_cmdRegOut_OutputPort[portNum].registerSerialPort(port);
872 Fw::InputSerializePort* port
877 static_cast<FwAssertArgType>(portNum)
880 this->m_cmdResponseOut_OutputPort[portNum].registerSerialPort(port);
886 Fw::InputSerializePort* port
891 static_cast<FwAssertArgType>(portNum)
894 this->m_logOut_OutputPort[portNum].registerSerialPort(port);
897 #if FW_ENABLE_TEXT_LOGGING == 1 899 void CfdpManagerComponentBase ::
900 set_logTextOut_OutputPort(
902 Fw::InputSerializePort* port
906 (0 <= portNum) && (portNum < this->getNum_logTextOut_OutputPorts()),
907 static_cast<FwAssertArgType>(portNum)
910 this->m_logTextOut_OutputPort[portNum].registerSerialPort(port);
918 Fw::InputSerializePort* port
923 static_cast<FwAssertArgType>(portNum)
926 this->m_prmSetOut_OutputPort[portNum].registerSerialPort(port);
932 Fw::InputSerializePort* port
937 static_cast<FwAssertArgType>(portNum)
940 this->m_timeCaller_OutputPort[portNum].registerSerialPort(port);
946 Fw::InputSerializePort* port
951 static_cast<FwAssertArgType>(portNum)
954 this->m_tlmOut_OutputPort[portNum].registerSerialPort(port);
959 #if !FW_DIRECT_PORT_CALLS && FW_PORT_SERIALIZATION 968 Fw::InputSerializePort* port
973 static_cast<FwAssertArgType>(portNum)
976 this->m_bufferDeallocate_OutputPort[portNum].registerSerialPort(port);
982 Fw::InputSerializePort* port
987 static_cast<FwAssertArgType>(portNum)
990 this->m_dataInReturn_OutputPort[portNum].registerSerialPort(port);
996 Fw::InputSerializePort* port
1001 static_cast<FwAssertArgType>(portNum)
1004 this->m_dataOut_OutputPort[portNum].registerSerialPort(port);
1010 Fw::InputSerializePort* port
1015 static_cast<FwAssertArgType>(portNum)
1018 this->m_fileDoneOut_OutputPort[portNum].registerSerialPort(port);
1024 Fw::InputSerializePort* port
1029 static_cast<FwAssertArgType>(portNum)
1032 this->m_pingOut_OutputPort[portNum].registerSerialPort(port);
1046 this->cmdRegOut_out(
1051 this->cmdRegOut_out(
1056 this->cmdRegOut_out(
1061 this->cmdRegOut_out(
1066 this->cmdRegOut_out(
1071 this->cmdRegOut_out(
1076 this->cmdRegOut_out(
1081 this->cmdRegOut_out(
1086 this->cmdRegOut_out(
1091 this->cmdRegOut_out(
1096 this->cmdRegOut_out(
1101 this->cmdRegOut_out(
1106 this->cmdRegOut_out(
1111 this->cmdRegOut_out(
1116 this->cmdRegOut_out(
1121 this->cmdRegOut_out(
1126 this->cmdRegOut_out(
1131 this->cmdRegOut_out(
1136 this->cmdRegOut_out(
1141 this->cmdRegOut_out(
1146 this->cmdRegOut_out(
1151 this->cmdRegOut_out(
1156 this->cmdRegOut_out(
1161 this->cmdRegOut_out(
1166 this->cmdRegOut_out(
1171 this->cmdRegOut_out(
1176 this->cmdRegOut_out(
1181 this->cmdRegOut_out(
1186 this->cmdRegOut_out(
1209 this->m_param_LocalEid_valid = this->prmGetOut_out(
1215 this->m_paramLock.
lock();
1228 this->m_LocalEid = 42;
1231 this->m_paramLock.
unlock();
1232 this->
parameterLoaded(PARAMID_LOCALEID, this->m_param_LocalEid_valid);
1237 this->m_param_OutgoingFileChunkSize_valid = this->prmGetOut_out(
1243 this->m_paramLock.
lock();
1247 _stat = _paramBuffer.
deserializeTo(this->m_OutgoingFileChunkSize);
1256 this->m_OutgoingFileChunkSize = 992;
1259 this->m_paramLock.
unlock();
1260 this->
parameterLoaded(PARAMID_OUTGOINGFILECHUNKSIZE, this->m_param_OutgoingFileChunkSize_valid);
1265 this->m_param_RxCrcCalcBytesPerCycle_valid = this->prmGetOut_out(
1271 this->m_paramLock.
lock();
1275 _stat = _paramBuffer.
deserializeTo(this->m_RxCrcCalcBytesPerCycle);
1284 this->m_RxCrcCalcBytesPerCycle = 65536;
1287 this->m_paramLock.
unlock();
1288 this->
parameterLoaded(PARAMID_RXCRCCALCBYTESPERCYCLE, this->m_param_RxCrcCalcBytesPerCycle_valid);
1293 this->m_param_PostInactivitySendRetries_valid = this->prmGetOut_out(
1299 this->m_paramLock.
lock();
1303 _stat = _paramBuffer.
deserializeTo(this->m_PostInactivitySendRetries);
1312 this->m_PostInactivitySendRetries = 3;
1315 this->m_paramLock.
unlock();
1316 this->
parameterLoaded(PARAMID_POSTINACTIVITYSENDRETRIES, this->m_param_PostInactivitySendRetries_valid);
1321 this->m_param_FileInDefaultChannel_valid = this->prmGetOut_out(
1327 this->m_paramLock.
lock();
1331 _stat = _paramBuffer.
deserializeTo(this->m_FileInDefaultChannel);
1340 this->m_FileInDefaultChannel = 0;
1343 this->m_paramLock.
unlock();
1344 this->
parameterLoaded(PARAMID_FILEINDEFAULTCHANNEL, this->m_param_FileInDefaultChannel_valid);
1349 this->m_param_FileInDefaultDestEntityId_valid = this->prmGetOut_out(
1355 this->m_paramLock.
lock();
1359 _stat = _paramBuffer.
deserializeTo(this->m_FileInDefaultDestEntityId);
1368 this->m_FileInDefaultDestEntityId = 100;
1371 this->m_paramLock.
unlock();
1372 this->
parameterLoaded(PARAMID_FILEINDEFAULTDESTENTITYID, this->m_param_FileInDefaultDestEntityId_valid);
1377 this->m_param_FileInDefaultClass_valid = this->prmGetOut_out(
1383 this->m_paramLock.
lock();
1387 _stat = _paramBuffer.
deserializeTo(this->m_FileInDefaultClass);
1399 this->m_paramLock.
unlock();
1400 this->
parameterLoaded(PARAMID_FILEINDEFAULTCLASS, this->m_param_FileInDefaultClass_valid);
1405 this->m_param_FileInDefaultKeep_valid = this->prmGetOut_out(
1411 this->m_paramLock.
lock();
1415 _stat = _paramBuffer.
deserializeTo(this->m_FileInDefaultKeep);
1427 this->m_paramLock.
unlock();
1428 this->
parameterLoaded(PARAMID_FILEINDEFAULTKEEP, this->m_param_FileInDefaultKeep_valid);
1433 this->m_param_FileInDefaultPriority_valid = this->prmGetOut_out(
1439 this->m_paramLock.
lock();
1443 _stat = _paramBuffer.
deserializeTo(this->m_FileInDefaultPriority);
1452 this->m_FileInDefaultPriority = 0;
1455 this->m_paramLock.
unlock();
1456 this->
parameterLoaded(PARAMID_FILEINDEFAULTPRIORITY, this->m_param_FileInDefaultPriority_valid);
1461 this->m_param_ChannelConfig_valid = this->prmGetOut_out(
1467 this->m_paramLock.
lock();
1483 this->m_paramLock.
unlock();
1484 this->
parameterLoaded(PARAMID_CHANNELCONFIG, this->m_param_ChannelConfig_valid);
1496 Fw::ActiveComponentBase(compName)
1507 #if !FW_DIRECT_PORT_CALLS 1518 static_cast<FwAssertArgType>(portNum)
1521 return this->m_cmdRegOut_OutputPort[portNum].
isConnected();
1529 static_cast<FwAssertArgType>(portNum)
1532 return this->m_cmdResponseOut_OutputPort[portNum].
isConnected();
1540 static_cast<FwAssertArgType>(portNum)
1543 return this->m_logOut_OutputPort[portNum].
isConnected();
1546 #if FW_ENABLE_TEXT_LOGGING == 1 1548 bool CfdpManagerComponentBase ::
1549 isConnected_logTextOut_OutputPort(
FwIndexType portNum)
const 1552 (0 <= portNum) && (portNum < this->getNum_logTextOut_OutputPorts()),
1553 static_cast<FwAssertArgType>(portNum)
1556 return this->m_logTextOut_OutputPort[portNum].isConnected();
1566 static_cast<FwAssertArgType>(portNum)
1569 return this->m_prmGetOut_OutputPort[portNum].
isConnected();
1577 static_cast<FwAssertArgType>(portNum)
1580 return this->m_prmSetOut_OutputPort[portNum].
isConnected();
1588 static_cast<FwAssertArgType>(portNum)
1591 return this->m_timeCaller_OutputPort[portNum].
isConnected();
1599 static_cast<FwAssertArgType>(portNum)
1602 return this->m_tlmOut_OutputPort[portNum].
isConnected();
1607 #if !FW_DIRECT_PORT_CALLS 1618 static_cast<FwAssertArgType>(portNum)
1621 return this->m_bufferAllocate_OutputPort[portNum].
isConnected();
1629 static_cast<FwAssertArgType>(portNum)
1632 return this->m_bufferDeallocate_OutputPort[portNum].
isConnected();
1640 static_cast<FwAssertArgType>(portNum)
1643 return this->m_dataInReturn_OutputPort[portNum].
isConnected();
1651 static_cast<FwAssertArgType>(portNum)
1654 return this->m_dataOut_OutputPort[portNum].
isConnected();
1662 static_cast<FwAssertArgType>(portNum)
1665 return this->m_fileDoneOut_OutputPort[portNum].
isConnected();
1673 static_cast<FwAssertArgType>(portNum)
1676 return this->m_pingOut_OutputPort[portNum].
isConnected();
1697 FW_ASSERT(opCode >= idBase, static_cast<FwAssertArgType>(opCode), static_cast<FwAssertArgType>(idBase));
1700 switch (opCode - idBase) {
1843 Fw::CmdResponse _cstat = this->paramSet_PostInactivitySendRetries(args);
1883 Fw::CmdResponse _cstat = this->paramSet_FileInDefaultDestEntityId(args);
2002 static_cast<FwAssertArgType>(portNum)
2010 ComponentIpcSerializableBuffer msg;
2014 _status = msg.serializeFrom(
2015 static_cast<FwEnumStoreType>(DATAIN_BUFFERSEND)
2019 static_cast<FwAssertArgType>(_status)
2023 _status = msg.serializeFrom(portNum);
2026 static_cast<FwAssertArgType>(_status)
2030 _status = msg.serializeFrom(fwBuffer);
2033 static_cast<FwAssertArgType>(_status)
2042 static_cast<FwAssertArgType>(qStatus)
2055 static_cast<FwAssertArgType>(portNum)
2063 ComponentIpcSerializableBuffer msg;
2067 _status = msg.serializeFrom(
2068 static_cast<FwEnumStoreType>(DATARETURNIN_BUFFERSEND)
2072 static_cast<FwAssertArgType>(_status)
2076 _status = msg.serializeFrom(portNum);
2079 static_cast<FwAssertArgType>(_status)
2083 _status = msg.serializeFrom(fwBuffer);
2086 static_cast<FwAssertArgType>(_status)
2095 static_cast<FwAssertArgType>(qStatus)
2111 static_cast<FwAssertArgType>(portNum)
2143 static_cast<FwAssertArgType>(portNum)
2151 ComponentIpcSerializableBuffer msg;
2155 _status = msg.serializeFrom(
2156 static_cast<FwEnumStoreType>(PINGIN_PING)
2160 static_cast<FwAssertArgType>(_status)
2164 _status = msg.serializeFrom(portNum);
2167 static_cast<FwAssertArgType>(_status)
2171 _status = msg.serializeFrom(key);
2174 static_cast<FwAssertArgType>(_status)
2181 if (qStatus == Os::Queue::Status::FULL) {
2188 static_cast<FwAssertArgType>(qStatus)
2201 static_cast<FwAssertArgType>(portNum)
2209 ComponentIpcSerializableBuffer msg;
2213 _status = msg.serializeFrom(
2214 static_cast<FwEnumStoreType>(RUN1HZ_SCHED)
2218 static_cast<FwAssertArgType>(_status)
2222 _status = msg.serializeFrom(portNum);
2225 static_cast<FwAssertArgType>(_status)
2229 _status = msg.serializeFrom(context);
2232 static_cast<FwAssertArgType>(_status)
2241 static_cast<FwAssertArgType>(qStatus)
2289 #if !FW_DIRECT_PORT_CALLS 2303 static_cast<FwAssertArgType>(portNum)
2307 this->m_bufferAllocate_OutputPort[portNum].isConnected(),
2308 static_cast<FwAssertArgType>(portNum)
2310 return this->m_bufferAllocate_OutputPort[portNum].
invoke(
2323 static_cast<FwAssertArgType>(portNum)
2327 this->m_bufferDeallocate_OutputPort[portNum].isConnected(),
2328 static_cast<FwAssertArgType>(portNum)
2330 this->m_bufferDeallocate_OutputPort[portNum].
invoke(
2343 static_cast<FwAssertArgType>(portNum)
2347 this->m_dataInReturn_OutputPort[portNum].isConnected(),
2348 static_cast<FwAssertArgType>(portNum)
2350 this->m_dataInReturn_OutputPort[portNum].
invoke(
2363 static_cast<FwAssertArgType>(portNum)
2367 this->m_dataOut_OutputPort[portNum].isConnected(),
2368 static_cast<FwAssertArgType>(portNum)
2370 this->m_dataOut_OutputPort[portNum].
invoke(
2383 static_cast<FwAssertArgType>(portNum)
2387 this->m_fileDoneOut_OutputPort[portNum].isConnected(),
2388 static_cast<FwAssertArgType>(portNum)
2390 this->m_fileDoneOut_OutputPort[portNum].
invoke(
2403 static_cast<FwAssertArgType>(portNum)
2407 this->m_pingOut_OutputPort[portNum].isConnected(),
2408 static_cast<FwAssertArgType>(portNum)
2410 this->m_pingOut_OutputPort[portNum].
invoke(
2429 this->cmdResponseOut_out(0, opCode, cmdSeq, response);
2450 ComponentIpcSerializableBuffer msg;
2454 _status = msg.serializeFrom(static_cast<FwEnumStoreType>(CMD_SENDFILE));
2457 static_cast<FwAssertArgType>(_status)
2463 _status = msg.serializeFrom(port);
2466 static_cast<FwAssertArgType>(_status)
2469 _status = msg.serializeFrom(opCode);
2472 static_cast<FwAssertArgType>(_status)
2475 _status = msg.serializeFrom(cmdSeq);
2478 static_cast<FwAssertArgType>(_status)
2481 _status = msg.serializeFrom(args);
2484 static_cast<FwAssertArgType>(_status)
2493 static_cast<FwAssertArgType>(qStatus)
2509 ComponentIpcSerializableBuffer msg;
2513 _status = msg.serializeFrom(static_cast<FwEnumStoreType>(CMD_PLAYBACKDIRECTORY));
2516 static_cast<FwAssertArgType>(_status)
2522 _status = msg.serializeFrom(port);
2525 static_cast<FwAssertArgType>(_status)
2528 _status = msg.serializeFrom(opCode);
2531 static_cast<FwAssertArgType>(_status)
2534 _status = msg.serializeFrom(cmdSeq);
2537 static_cast<FwAssertArgType>(_status)
2540 _status = msg.serializeFrom(args);
2543 static_cast<FwAssertArgType>(_status)
2552 static_cast<FwAssertArgType>(qStatus)
2568 ComponentIpcSerializableBuffer msg;
2572 _status = msg.serializeFrom(static_cast<FwEnumStoreType>(CMD_POLLDIRECTORY));
2575 static_cast<FwAssertArgType>(_status)
2581 _status = msg.serializeFrom(port);
2584 static_cast<FwAssertArgType>(_status)
2587 _status = msg.serializeFrom(opCode);
2590 static_cast<FwAssertArgType>(_status)
2593 _status = msg.serializeFrom(cmdSeq);
2596 static_cast<FwAssertArgType>(_status)
2599 _status = msg.serializeFrom(args);
2602 static_cast<FwAssertArgType>(_status)
2611 static_cast<FwAssertArgType>(qStatus)
2627 ComponentIpcSerializableBuffer msg;
2631 _status = msg.serializeFrom(static_cast<FwEnumStoreType>(CMD_STOPPOLLDIRECTORY));
2634 static_cast<FwAssertArgType>(_status)
2640 _status = msg.serializeFrom(port);
2643 static_cast<FwAssertArgType>(_status)
2646 _status = msg.serializeFrom(opCode);
2649 static_cast<FwAssertArgType>(_status)
2652 _status = msg.serializeFrom(cmdSeq);
2655 static_cast<FwAssertArgType>(_status)
2658 _status = msg.serializeFrom(args);
2661 static_cast<FwAssertArgType>(_status)
2670 static_cast<FwAssertArgType>(qStatus)
2686 ComponentIpcSerializableBuffer msg;
2690 _status = msg.serializeFrom(static_cast<FwEnumStoreType>(CMD_SETCHANNELFLOW));
2693 static_cast<FwAssertArgType>(_status)
2699 _status = msg.serializeFrom(port);
2702 static_cast<FwAssertArgType>(_status)
2705 _status = msg.serializeFrom(opCode);
2708 static_cast<FwAssertArgType>(_status)
2711 _status = msg.serializeFrom(cmdSeq);
2714 static_cast<FwAssertArgType>(_status)
2717 _status = msg.serializeFrom(args);
2720 static_cast<FwAssertArgType>(_status)
2729 static_cast<FwAssertArgType>(qStatus)
2745 ComponentIpcSerializableBuffer msg;
2749 _status = msg.serializeFrom(static_cast<FwEnumStoreType>(CMD_SUSPENDRESUMETRANSACTION));
2752 static_cast<FwAssertArgType>(_status)
2758 _status = msg.serializeFrom(port);
2761 static_cast<FwAssertArgType>(_status)
2764 _status = msg.serializeFrom(opCode);
2767 static_cast<FwAssertArgType>(_status)
2770 _status = msg.serializeFrom(cmdSeq);
2773 static_cast<FwAssertArgType>(_status)
2776 _status = msg.serializeFrom(args);
2779 static_cast<FwAssertArgType>(_status)
2788 static_cast<FwAssertArgType>(qStatus)
2804 ComponentIpcSerializableBuffer msg;
2808 _status = msg.serializeFrom(static_cast<FwEnumStoreType>(CMD_CANCELTRANSACTION));
2811 static_cast<FwAssertArgType>(_status)
2817 _status = msg.serializeFrom(port);
2820 static_cast<FwAssertArgType>(_status)
2823 _status = msg.serializeFrom(opCode);
2826 static_cast<FwAssertArgType>(_status)
2829 _status = msg.serializeFrom(cmdSeq);
2832 static_cast<FwAssertArgType>(_status)
2835 _status = msg.serializeFrom(args);
2838 static_cast<FwAssertArgType>(_status)
2847 static_cast<FwAssertArgType>(qStatus)
2863 ComponentIpcSerializableBuffer msg;
2867 _status = msg.serializeFrom(static_cast<FwEnumStoreType>(CMD_ABANDONTRANSACTION));
2870 static_cast<FwAssertArgType>(_status)
2876 _status = msg.serializeFrom(port);
2879 static_cast<FwAssertArgType>(_status)
2882 _status = msg.serializeFrom(opCode);
2885 static_cast<FwAssertArgType>(_status)
2888 _status = msg.serializeFrom(cmdSeq);
2891 static_cast<FwAssertArgType>(_status)
2894 _status = msg.serializeFrom(args);
2897 static_cast<FwAssertArgType>(_status)
2906 static_cast<FwAssertArgType>(qStatus)
2922 ComponentIpcSerializableBuffer msg;
2926 _status = msg.serializeFrom(static_cast<FwEnumStoreType>(CMD_RESETCOUNTERS));
2929 static_cast<FwAssertArgType>(_status)
2935 _status = msg.serializeFrom(port);
2938 static_cast<FwAssertArgType>(_status)
2941 _status = msg.serializeFrom(opCode);
2944 static_cast<FwAssertArgType>(_status)
2947 _status = msg.serializeFrom(cmdSeq);
2950 static_cast<FwAssertArgType>(_status)
2953 _status = msg.serializeFrom(args);
2956 static_cast<FwAssertArgType>(_status)
2965 static_cast<FwAssertArgType>(qStatus)
3086 this->timeCaller_out(0, _logTime);
3095 #if FW_AMPCS_COMPATIBLE 3101 static_cast<FwAssertArgType>(_status)
3115 #if FW_ENABLE_TEXT_LOGGING 3116 if (this->isConnected_logTextOut_OutputPort(0)) {
3117 #if FW_OBJECT_NAMES == 1 3118 const char* _formatString =
3119 "(%s) %s: Unable to allocate a PDU buffer";
3121 const char* _formatString =
3122 "%s: Unable to allocate a PDU buffer";
3126 (void) _logString.
format(
3129 this->m_objName.toChar(),
3134 this->logTextOut_out(
3154 this->timeCaller_out(0, _logTime);
3164 #if FW_AMPCS_COMPATIBLE 3169 static_cast<FwAssertArgType>(_status)
3173 #if FW_AMPCS_COMPATIBLE 3176 static_cast<U8>(
sizeof(
U8))
3180 static_cast<FwAssertArgType>(_status)
3186 static_cast<FwAssertArgType>(_status)
3189 #if FW_AMPCS_COMPATIBLE 3192 static_cast<U8>(
sizeof(
U8))
3196 static_cast<FwAssertArgType>(_status)
3202 static_cast<FwAssertArgType>(_status)
3215 #if FW_ENABLE_TEXT_LOGGING 3216 if (this->isConnected_logTextOut_OutputPort(0)) {
3217 #if FW_OBJECT_NAMES == 1 3218 const char* _formatString =
3219 "(%s) %s: Invalid channel ID %" PRIu8
", maximum channel ID is %" PRIu8
"";
3221 const char* _formatString =
3222 "%s: Invalid channel ID %" PRIu8
", maximum channel ID is %" PRIu8
"";
3226 (void) _logString.
format(
3229 this->m_objName.toChar(),
3236 this->logTextOut_out(
3256 this->timeCaller_out(0, _logTime);
3266 #if FW_AMPCS_COMPATIBLE 3271 static_cast<FwAssertArgType>(_status)
3281 static_cast<FwAssertArgType>(_status)
3284 #if FW_AMPCS_COMPATIBLE 3287 static_cast<U8>(
sizeof(U32))
3291 static_cast<FwAssertArgType>(_status)
3297 static_cast<FwAssertArgType>(_status)
3310 #if FW_ENABLE_TEXT_LOGGING 3311 if (this->isConnected_logTextOut_OutputPort(0)) {
3312 #if FW_OBJECT_NAMES == 1 3313 const char* _formatString =
3314 "(%s) %s: TX file queued for %s (transaction %" PRIu32
")";
3316 const char* _formatString =
3317 "%s: TX file queued for %s (transaction %" PRIu32
")";
3321 (void) _logString.
format(
3324 this->m_objName.toChar(),
3331 this->logTextOut_out(
3351 this->timeCaller_out(0, _logTime);
3361 #if FW_AMPCS_COMPATIBLE 3366 static_cast<FwAssertArgType>(_status)
3370 #if FW_AMPCS_COMPATIBLE 3373 static_cast<U8>(
sizeof(U32))
3377 static_cast<FwAssertArgType>(_status)
3383 static_cast<FwAssertArgType>(_status)
3386 #if FW_AMPCS_COMPATIBLE 3389 static_cast<U8>(
sizeof(U32))
3393 static_cast<FwAssertArgType>(_status)
3399 static_cast<FwAssertArgType>(_status)
3412 #if FW_ENABLE_TEXT_LOGGING 3413 if (this->isConnected_logTextOut_OutputPort(0)) {
3414 #if FW_OBJECT_NAMES == 1 3415 const char* _formatString =
3416 "(%s) %s: Invalid send file port request with offset %" PRIu32
", length %" PRIu32
"";
3418 const char* _formatString =
3419 "%s: Invalid send file port request with offset %" PRIu32
", length %" PRIu32
"";
3423 (void) _logString.
format(
3426 this->m_objName.toChar(),
3428 "UnsupportedSendFileArguments ",
3433 this->logTextOut_out(
3450 this->timeCaller_out(0, _logTime);
3460 #if FW_AMPCS_COMPATIBLE 3465 static_cast<FwAssertArgType>(_status)
3475 static_cast<FwAssertArgType>(_status)
3488 #if FW_ENABLE_TEXT_LOGGING 3489 if (this->isConnected_logTextOut_OutputPort(0)) {
3490 #if FW_OBJECT_NAMES == 1 3491 const char* _formatString =
3492 "(%s) %s: Failed to initiate file send transfer for %s";
3494 const char* _formatString =
3495 "%s: Failed to initiate file send transfer for %s";
3499 (void) _logString.
format(
3502 this->m_objName.toChar(),
3504 "SendFileInitiateFail ",
3508 this->logTextOut_out(
3525 this->timeCaller_out(0, _logTime);
3535 #if FW_AMPCS_COMPATIBLE 3540 static_cast<FwAssertArgType>(_status)
3550 static_cast<FwAssertArgType>(_status)
3563 #if FW_ENABLE_TEXT_LOGGING 3564 if (this->isConnected_logTextOut_OutputPort(0)) {
3565 #if FW_OBJECT_NAMES == 1 3566 const char* _formatString =
3567 "(%s) %s: Successfully initiated directory playback for %s";
3569 const char* _formatString =
3570 "%s: Successfully initiated directory playback for %s";
3574 (void) _logString.
format(
3577 this->m_objName.toChar(),
3579 "PlaybackInitiated ",
3583 this->logTextOut_out(
3603 this->timeCaller_out(0, _logTime);
3613 #if FW_AMPCS_COMPATIBLE 3618 static_cast<FwAssertArgType>(_status)
3628 static_cast<FwAssertArgType>(_status)
3631 #if FW_AMPCS_COMPATIBLE 3634 static_cast<U8>(
sizeof(
U8))
3638 static_cast<FwAssertArgType>(_status)
3644 static_cast<FwAssertArgType>(_status)
3657 #if FW_ENABLE_TEXT_LOGGING 3658 if (this->isConnected_logTextOut_OutputPort(0)) {
3659 #if FW_OBJECT_NAMES == 1 3660 const char* _formatString =
3661 "(%s) %s: Successfully initiated directory poll for %s (index %" PRIu8
")";
3663 const char* _formatString =
3664 "%s: Successfully initiated directory poll for %s (index %" PRIu8
")";
3668 (void) _logString.
format(
3671 this->m_objName.toChar(),
3673 "PollDirInitiated ",
3674 sourceDirectory.
toChar(),
3678 this->logTextOut_out(
3698 this->timeCaller_out(0, _logTime);
3708 #if FW_AMPCS_COMPATIBLE 3713 static_cast<FwAssertArgType>(_status)
3717 #if FW_AMPCS_COMPATIBLE 3720 static_cast<U8>(
sizeof(
U8))
3724 static_cast<FwAssertArgType>(_status)
3730 static_cast<FwAssertArgType>(_status)
3733 #if FW_AMPCS_COMPATIBLE 3736 static_cast<U8>(
sizeof(
U8))
3740 static_cast<FwAssertArgType>(_status)
3746 static_cast<FwAssertArgType>(_status)
3759 #if FW_ENABLE_TEXT_LOGGING 3760 if (this->isConnected_logTextOut_OutputPort(0)) {
3761 #if FW_OBJECT_NAMES == 1 3762 const char* _formatString =
3763 "(%s) %s: Successfully stopped directory poll for channel %" PRIu8
", index %" PRIu8
"";
3765 const char* _formatString =
3766 "%s: Successfully stopped directory poll for channel %" PRIu8
", index %" PRIu8
"";
3770 (void) _logString.
format(
3773 this->m_objName.toChar(),
3780 this->logTextOut_out(
3800 this->timeCaller_out(0, _logTime);
3810 #if FW_AMPCS_COMPATIBLE 3815 static_cast<FwAssertArgType>(_status)
3819 #if FW_AMPCS_COMPATIBLE 3822 static_cast<U8>(
sizeof(
U8))
3826 static_cast<FwAssertArgType>(_status)
3832 static_cast<FwAssertArgType>(_status)
3835 #if FW_AMPCS_COMPATIBLE 3838 static_cast<U8>(
sizeof(
U8))
3842 static_cast<FwAssertArgType>(_status)
3848 static_cast<FwAssertArgType>(_status)
3861 #if FW_ENABLE_TEXT_LOGGING 3862 if (this->isConnected_logTextOut_OutputPort(0)) {
3863 #if FW_OBJECT_NAMES == 1 3864 const char* _formatString =
3865 "(%s) %s: Cannot start directory poll - channel %" PRIu8
" poll %" PRIu8
" already in use";
3867 const char* _formatString =
3868 "%s: Cannot start directory poll - channel %" PRIu8
" poll %" PRIu8
" already in use";
3872 (void) _logString.
format(
3875 this->m_objName.toChar(),
3882 this->logTextOut_out(
3902 this->timeCaller_out(0, _logTime);
3912 #if FW_AMPCS_COMPATIBLE 3917 static_cast<FwAssertArgType>(_status)
3921 #if FW_AMPCS_COMPATIBLE 3924 static_cast<U8>(
sizeof(
U8))
3928 static_cast<FwAssertArgType>(_status)
3934 static_cast<FwAssertArgType>(_status)
3937 #if FW_AMPCS_COMPATIBLE 3940 static_cast<U8>(
sizeof(
U8))
3944 static_cast<FwAssertArgType>(_status)
3950 static_cast<FwAssertArgType>(_status)
3963 #if FW_ENABLE_TEXT_LOGGING 3964 if (this->isConnected_logTextOut_OutputPort(0)) {
3965 #if FW_OBJECT_NAMES == 1 3966 const char* _formatString =
3967 "(%s) %s: Cannot stop directory poll - channel %" PRIu8
" poll %" PRIu8
" is not active";
3969 const char* _formatString =
3970 "%s: Cannot stop directory poll - channel %" PRIu8
" poll %" PRIu8
" is not active";
3974 (void) _logString.
format(
3977 this->m_objName.toChar(),
3979 "PollDirNotActive ",
3984 this->logTextOut_out(
4004 this->timeCaller_out(0, _logTime);
4014 #if FW_AMPCS_COMPATIBLE 4019 static_cast<FwAssertArgType>(_status)
4023 #if FW_AMPCS_COMPATIBLE 4026 static_cast<U8>(
sizeof(
U8))
4030 static_cast<FwAssertArgType>(_status)
4036 static_cast<FwAssertArgType>(_status)
4039 #if FW_AMPCS_COMPATIBLE 4046 static_cast<FwAssertArgType>(_status)
4052 static_cast<FwAssertArgType>(_status)
4065 #if FW_ENABLE_TEXT_LOGGING 4066 if (this->isConnected_logTextOut_OutputPort(0)) {
4067 #if FW_OBJECT_NAMES == 1 4068 const char* _formatString =
4069 "(%s) %s: Set channel %" PRIu8
" to %s";
4071 const char* _formatString =
4072 "%s: Set channel %" PRIu8
" to %s";
4076 flowState.toString(flowStateStr);
4079 (void) _logString.
format(
4082 this->m_objName.toChar(),
4089 this->logTextOut_out(
4109 this->timeCaller_out(0, _logTime);
4119 #if FW_AMPCS_COMPATIBLE 4124 static_cast<FwAssertArgType>(_status)
4128 #if FW_AMPCS_COMPATIBLE 4131 static_cast<U8>(
sizeof(
U8))
4135 static_cast<FwAssertArgType>(_status)
4141 static_cast<FwAssertArgType>(_status)
4144 #if FW_AMPCS_COMPATIBLE 4147 static_cast<U8>(
sizeof(
U8))
4151 static_cast<FwAssertArgType>(_status)
4157 static_cast<FwAssertArgType>(_status)
4170 #if FW_ENABLE_TEXT_LOGGING 4171 if (this->isConnected_logTextOut_OutputPort(0)) {
4172 #if FW_OBJECT_NAMES == 1 4173 const char* _formatString =
4174 "(%s) %s: Invalid poll ID %" PRIu8
", maximum poll ID is %" PRIu8
"";
4176 const char* _formatString =
4177 "%s: Invalid poll ID %" PRIu8
", maximum poll ID is %" PRIu8
"";
4181 (void) _logString.
format(
4184 this->m_objName.toChar(),
4186 "InvalidChannelPoll ",
4191 this->logTextOut_out(
4208 this->timeCaller_out(0, _logTime);
4218 #if FW_AMPCS_COMPATIBLE 4223 static_cast<FwAssertArgType>(_status)
4227 #if FW_AMPCS_COMPATIBLE 4230 static_cast<U8>(
sizeof(U32))
4234 static_cast<FwAssertArgType>(_status)
4240 static_cast<FwAssertArgType>(_status)
4253 #if FW_ENABLE_TEXT_LOGGING 4254 if (this->isConnected_logTextOut_OutputPort(0)) {
4255 #if FW_OBJECT_NAMES == 1 4256 const char* _formatString =
4257 "(%s) %s: Invalid poll interval %" PRIu32
" seconds, must be non-zero";
4259 const char* _formatString =
4260 "%s: Invalid poll interval %" PRIu32
" seconds, must be non-zero";
4264 (void) _logString.
format(
4267 this->m_objName.toChar(),
4269 "InvalidPollInterval ",
4273 this->logTextOut_out(
4294 this->timeCaller_out(0, _logTime);
4304 #if FW_AMPCS_COMPATIBLE 4309 static_cast<FwAssertArgType>(_status)
4319 static_cast<FwAssertArgType>(_status)
4328 static_cast<FwAssertArgType>(_status)
4331 #if FW_AMPCS_COMPATIBLE 4334 static_cast<U8>(
sizeof(I32))
4338 static_cast<FwAssertArgType>(_status)
4344 static_cast<FwAssertArgType>(_status)
4357 #if FW_ENABLE_TEXT_LOGGING 4358 if (this->isConnected_logTextOut_OutputPort(0)) {
4359 #if FW_OBJECT_NAMES == 1 4360 const char* _formatString =
4361 "(%s) %s: Failed to move %s to %s error %" PRIi32
"";
4363 const char* _formatString =
4364 "%s: Failed to move %s to %s error %" PRIi32
"";
4368 (void) _logString.
format(
4371 this->m_objName.toChar(),
4373 "FailKeepFileMove ",
4379 this->logTextOut_out(
4400 this->timeCaller_out(0, _logTime);
4410 #if FW_AMPCS_COMPATIBLE 4415 static_cast<FwAssertArgType>(_status)
4425 static_cast<FwAssertArgType>(_status)
4434 static_cast<FwAssertArgType>(_status)
4437 #if FW_AMPCS_COMPATIBLE 4440 static_cast<U8>(
sizeof(I32))
4444 static_cast<FwAssertArgType>(_status)
4450 static_cast<FwAssertArgType>(_status)
4463 #if FW_ENABLE_TEXT_LOGGING 4464 if (this->isConnected_logTextOut_OutputPort(0)) {
4465 #if FW_OBJECT_NAMES == 1 4466 const char* _formatString =
4467 "(%s) %s: Failed to move %s to %s error %" PRIi32
"";
4469 const char* _formatString =
4470 "%s: Failed to move %s to %s error %" PRIi32
"";
4474 (void) _logString.
format(
4477 this->m_objName.toChar(),
4479 "FailPollFileMove ",
4485 this->logTextOut_out(
4505 this->timeCaller_out(0, _logTime);
4515 #if FW_AMPCS_COMPATIBLE 4520 static_cast<FwAssertArgType>(_status)
4524 #if FW_AMPCS_COMPATIBLE 4527 static_cast<U8>(
sizeof(
U8))
4531 static_cast<FwAssertArgType>(_status)
4537 static_cast<FwAssertArgType>(_status)
4540 #if FW_AMPCS_COMPATIBLE 4543 static_cast<U8>(
sizeof(I32))
4547 static_cast<FwAssertArgType>(_status)
4553 static_cast<FwAssertArgType>(_status)
4566 #if FW_ENABLE_TEXT_LOGGING 4567 if (this->isConnected_logTextOut_OutputPort(0)) {
4568 #if FW_OBJECT_NAMES == 1 4569 const char* _formatString =
4570 "(%s) %s: Failed to deserialize PDU header on channel %" PRIu8
", status %" PRIi32
"";
4572 const char* _formatString =
4573 "%s: Failed to deserialize PDU header on channel %" PRIu8
", status %" PRIi32
"";
4577 (void) _logString.
format(
4580 this->m_objName.toChar(),
4582 "FailPduHeaderDeserialization ",
4587 this->logTextOut_out(
4608 this->timeCaller_out(0, _logTime);
4618 #if FW_AMPCS_COMPATIBLE 4623 static_cast<FwAssertArgType>(_status)
4627 #if FW_AMPCS_COMPATIBLE 4630 static_cast<U8>(
sizeof(
U8))
4634 static_cast<FwAssertArgType>(_status)
4640 static_cast<FwAssertArgType>(_status)
4643 #if FW_AMPCS_COMPATIBLE 4650 static_cast<FwAssertArgType>(_status)
4656 static_cast<FwAssertArgType>(_status)
4659 #if FW_AMPCS_COMPATIBLE 4662 static_cast<U8>(
sizeof(I32))
4666 static_cast<FwAssertArgType>(_status)
4672 static_cast<FwAssertArgType>(_status)
4685 #if FW_ENABLE_TEXT_LOGGING 4686 if (this->isConnected_logTextOut_OutputPort(0)) {
4687 #if FW_OBJECT_NAMES == 1 4688 const char* _formatString =
4689 "(%s) %s: Failed to serialize %" PRIu8
" PDU on channel %s, status %" PRIi32
"";
4691 const char* _formatString =
4692 "%s: Failed to serialize %" PRIu8
" PDU on channel %s, status %" PRIi32
"";
4696 pduType.toString(pduTypeStr);
4699 (void) _logString.
format(
4702 this->m_objName.toChar(),
4704 "FailPduSerialization ",
4710 this->logTextOut_out(
4730 this->timeCaller_out(0, _logTime);
4740 #if FW_AMPCS_COMPATIBLE 4745 static_cast<FwAssertArgType>(_status)
4749 #if FW_AMPCS_COMPATIBLE 4752 static_cast<U8>(
sizeof(
U8))
4756 static_cast<FwAssertArgType>(_status)
4762 static_cast<FwAssertArgType>(_status)
4765 #if FW_AMPCS_COMPATIBLE 4768 static_cast<U8>(
sizeof(I32))
4772 static_cast<FwAssertArgType>(_status)
4778 static_cast<FwAssertArgType>(_status)
4791 #if FW_ENABLE_TEXT_LOGGING 4792 if (this->isConnected_logTextOut_OutputPort(0)) {
4793 #if FW_OBJECT_NAMES == 1 4794 const char* _formatString =
4795 "(%s) %s: Failed to deserialize Metadata PDU on channel %" PRIu8
", status %" PRIi32
"";
4797 const char* _formatString =
4798 "%s: Failed to deserialize Metadata PDU on channel %" PRIu8
", status %" PRIi32
"";
4802 (void) _logString.
format(
4805 this->m_objName.toChar(),
4807 "FailMetadataPduDeserialization ",
4812 this->logTextOut_out(
4832 this->timeCaller_out(0, _logTime);
4842 #if FW_AMPCS_COMPATIBLE 4847 static_cast<FwAssertArgType>(_status)
4851 #if FW_AMPCS_COMPATIBLE 4854 static_cast<U8>(
sizeof(
U8))
4858 static_cast<FwAssertArgType>(_status)
4864 static_cast<FwAssertArgType>(_status)
4867 #if FW_AMPCS_COMPATIBLE 4870 static_cast<U8>(
sizeof(I32))
4874 static_cast<FwAssertArgType>(_status)
4880 static_cast<FwAssertArgType>(_status)
4893 #if FW_ENABLE_TEXT_LOGGING 4894 if (this->isConnected_logTextOut_OutputPort(0)) {
4895 #if FW_OBJECT_NAMES == 1 4896 const char* _formatString =
4897 "(%s) %s: Failed to deserialize File Data PDU on channel %" PRIu8
", status %" PRIi32
"";
4899 const char* _formatString =
4900 "%s: Failed to deserialize File Data PDU on channel %" PRIu8
", status %" PRIi32
"";
4904 (void) _logString.
format(
4907 this->m_objName.toChar(),
4909 "FailFileDataPduDeserialization ",
4914 this->logTextOut_out(
4934 this->timeCaller_out(0, _logTime);
4944 #if FW_AMPCS_COMPATIBLE 4949 static_cast<FwAssertArgType>(_status)
4953 #if FW_AMPCS_COMPATIBLE 4956 static_cast<U8>(
sizeof(
U8))
4960 static_cast<FwAssertArgType>(_status)
4966 static_cast<FwAssertArgType>(_status)
4969 #if FW_AMPCS_COMPATIBLE 4972 static_cast<U8>(
sizeof(I32))
4976 static_cast<FwAssertArgType>(_status)
4982 static_cast<FwAssertArgType>(_status)
4995 #if FW_ENABLE_TEXT_LOGGING 4996 if (this->isConnected_logTextOut_OutputPort(0)) {
4997 #if FW_OBJECT_NAMES == 1 4998 const char* _formatString =
4999 "(%s) %s: Failed to deserialize EOF PDU on channel %" PRIu8
", status %" PRIi32
"";
5001 const char* _formatString =
5002 "%s: Failed to deserialize EOF PDU on channel %" PRIu8
", status %" PRIi32
"";
5006 (void) _logString.
format(
5009 this->m_objName.toChar(),
5011 "FailEofPduDeserialization ",
5016 this->logTextOut_out(
5036 this->timeCaller_out(0, _logTime);
5046 #if FW_AMPCS_COMPATIBLE 5051 static_cast<FwAssertArgType>(_status)
5055 #if FW_AMPCS_COMPATIBLE 5058 static_cast<U8>(
sizeof(
U8))
5062 static_cast<FwAssertArgType>(_status)
5068 static_cast<FwAssertArgType>(_status)
5071 #if FW_AMPCS_COMPATIBLE 5074 static_cast<U8>(
sizeof(I32))
5078 static_cast<FwAssertArgType>(_status)
5084 static_cast<FwAssertArgType>(_status)
5097 #if FW_ENABLE_TEXT_LOGGING 5098 if (this->isConnected_logTextOut_OutputPort(0)) {
5099 #if FW_OBJECT_NAMES == 1 5100 const char* _formatString =
5101 "(%s) %s: Failed to deserialize ACK PDU on channel %" PRIu8
", status %" PRIi32
"";
5103 const char* _formatString =
5104 "%s: Failed to deserialize ACK PDU on channel %" PRIu8
", status %" PRIi32
"";
5108 (void) _logString.
format(
5111 this->m_objName.toChar(),
5113 "FailAckPduDeserialization ",
5118 this->logTextOut_out(
5138 this->timeCaller_out(0, _logTime);
5148 #if FW_AMPCS_COMPATIBLE 5153 static_cast<FwAssertArgType>(_status)
5157 #if FW_AMPCS_COMPATIBLE 5160 static_cast<U8>(
sizeof(
U8))
5164 static_cast<FwAssertArgType>(_status)
5170 static_cast<FwAssertArgType>(_status)
5173 #if FW_AMPCS_COMPATIBLE 5176 static_cast<U8>(
sizeof(I32))
5180 static_cast<FwAssertArgType>(_status)
5186 static_cast<FwAssertArgType>(_status)
5199 #if FW_ENABLE_TEXT_LOGGING 5200 if (this->isConnected_logTextOut_OutputPort(0)) {
5201 #if FW_OBJECT_NAMES == 1 5202 const char* _formatString =
5203 "(%s) %s: Failed to deserialize FIN PDU on channel %" PRIu8
", status %" PRIi32
"";
5205 const char* _formatString =
5206 "%s: Failed to deserialize FIN PDU on channel %" PRIu8
", status %" PRIi32
"";
5210 (void) _logString.
format(
5213 this->m_objName.toChar(),
5215 "FailFinPduDeserialization ",
5220 this->logTextOut_out(
5240 this->timeCaller_out(0, _logTime);
5250 #if FW_AMPCS_COMPATIBLE 5255 static_cast<FwAssertArgType>(_status)
5259 #if FW_AMPCS_COMPATIBLE 5262 static_cast<U8>(
sizeof(
U8))
5266 static_cast<FwAssertArgType>(_status)
5272 static_cast<FwAssertArgType>(_status)
5275 #if FW_AMPCS_COMPATIBLE 5278 static_cast<U8>(
sizeof(I32))
5282 static_cast<FwAssertArgType>(_status)
5288 static_cast<FwAssertArgType>(_status)
5301 #if FW_ENABLE_TEXT_LOGGING 5302 if (this->isConnected_logTextOut_OutputPort(0)) {
5303 #if FW_OBJECT_NAMES == 1 5304 const char* _formatString =
5305 "(%s) %s: Failed to deserialize NAK PDU on channel %" PRIu8
", status %" PRIi32
"";
5307 const char* _formatString =
5308 "%s: Failed to deserialize NAK PDU on channel %" PRIu8
", status %" PRIi32
"";
5312 (void) _logString.
format(
5315 this->m_objName.toChar(),
5317 "FailNakPduDeserialization ",
5322 this->logTextOut_out(
5343 this->timeCaller_out(0, _logTime);
5353 #if FW_AMPCS_COMPATIBLE 5358 static_cast<FwAssertArgType>(_status)
5362 #if FW_AMPCS_COMPATIBLE 5369 static_cast<FwAssertArgType>(_status)
5375 static_cast<FwAssertArgType>(_status)
5378 #if FW_AMPCS_COMPATIBLE 5381 static_cast<U8>(
sizeof(U32))
5385 static_cast<FwAssertArgType>(_status)
5391 static_cast<FwAssertArgType>(_status)
5394 #if FW_AMPCS_COMPATIBLE 5397 static_cast<U8>(
sizeof(U32))
5401 static_cast<FwAssertArgType>(_status)
5407 static_cast<FwAssertArgType>(_status)
5420 #if FW_ENABLE_TEXT_LOGGING 5421 if (this->isConnected_logTextOut_OutputPort(0)) {
5422 #if FW_OBJECT_NAMES == 1 5423 const char* _formatString =
5424 "(%s) %s: RX class %s ACK limit reached for transaction %" PRIu32
":%" PRIu32
", no fin-ack sent";
5426 const char* _formatString =
5427 "%s: RX class %s ACK limit reached for transaction %" PRIu32
":%" PRIu32
", no fin-ack sent";
5431 cfdpClass.toString(cfdpClassStr);
5434 (void) _logString.
format(
5437 this->m_objName.toChar(),
5439 "RxAckLimitReached ",
5445 this->logTextOut_out(
5467 this->timeCaller_out(0, _logTime);
5477 #if FW_AMPCS_COMPATIBLE 5482 static_cast<FwAssertArgType>(_status)
5486 #if FW_AMPCS_COMPATIBLE 5493 static_cast<FwAssertArgType>(_status)
5499 static_cast<FwAssertArgType>(_status)
5502 #if FW_AMPCS_COMPATIBLE 5505 static_cast<U8>(
sizeof(U32))
5509 static_cast<FwAssertArgType>(_status)
5515 static_cast<FwAssertArgType>(_status)
5518 #if FW_AMPCS_COMPATIBLE 5521 static_cast<U8>(
sizeof(U32))
5525 static_cast<FwAssertArgType>(_status)
5531 static_cast<FwAssertArgType>(_status)
5540 static_cast<FwAssertArgType>(_status)
5553 #if FW_ENABLE_TEXT_LOGGING 5554 if (this->isConnected_logTextOut_OutputPort(0)) {
5555 #if FW_OBJECT_NAMES == 1 5556 const char* _formatString =
5557 "(%s) %s: RX class %s transaction %" PRIu32
":%" PRIu32
" creating temp file %s without metadata";
5559 const char* _formatString =
5560 "%s: RX class %s transaction %" PRIu32
":%" PRIu32
" creating temp file %s without metadata";
5564 cfdpClass.toString(cfdpClassStr);
5567 (void) _logString.
format(
5570 this->m_objName.toChar(),
5572 "RxTempFileCreated ",
5579 this->logTextOut_out(
5602 this->timeCaller_out(0, _logTime);
5612 #if FW_AMPCS_COMPATIBLE 5617 static_cast<FwAssertArgType>(_status)
5621 #if FW_AMPCS_COMPATIBLE 5628 static_cast<FwAssertArgType>(_status)
5634 static_cast<FwAssertArgType>(_status)
5637 #if FW_AMPCS_COMPATIBLE 5640 static_cast<U8>(
sizeof(U32))
5644 static_cast<FwAssertArgType>(_status)
5650 static_cast<FwAssertArgType>(_status)
5653 #if FW_AMPCS_COMPATIBLE 5656 static_cast<U8>(
sizeof(U32))
5660 static_cast<FwAssertArgType>(_status)
5666 static_cast<FwAssertArgType>(_status)
5675 static_cast<FwAssertArgType>(_status)
5678 #if FW_AMPCS_COMPATIBLE 5681 static_cast<U8>(
sizeof(I32))
5685 static_cast<FwAssertArgType>(_status)
5691 static_cast<FwAssertArgType>(_status)
5704 #if FW_ENABLE_TEXT_LOGGING 5705 if (this->isConnected_logTextOut_OutputPort(0)) {
5706 #if FW_OBJECT_NAMES == 1 5707 const char* _formatString =
5708 "(%s) %s: RX class %s transaction %" PRIu32
":%" PRIu32
" failed to create file %s, error=%" PRIi32
"";
5710 const char* _formatString =
5711 "%s: RX class %s transaction %" PRIu32
":%" PRIu32
" failed to create file %s, error=%" PRIi32
"";
5715 cfdpClass.toString(cfdpClassStr);
5718 (void) _logString.
format(
5721 this->m_objName.toChar(),
5723 "RxFileCreateFailed ",
5731 this->logTextOut_out(
5754 this->timeCaller_out(0, _logTime);
5764 #if FW_AMPCS_COMPATIBLE 5769 static_cast<FwAssertArgType>(_status)
5773 #if FW_AMPCS_COMPATIBLE 5780 static_cast<FwAssertArgType>(_status)
5786 static_cast<FwAssertArgType>(_status)
5789 #if FW_AMPCS_COMPATIBLE 5792 static_cast<U8>(
sizeof(U32))
5796 static_cast<FwAssertArgType>(_status)
5802 static_cast<FwAssertArgType>(_status)
5805 #if FW_AMPCS_COMPATIBLE 5808 static_cast<U8>(
sizeof(U32))
5812 static_cast<FwAssertArgType>(_status)
5818 static_cast<FwAssertArgType>(_status)
5821 #if FW_AMPCS_COMPATIBLE 5824 static_cast<U8>(
sizeof(U32))
5828 static_cast<FwAssertArgType>(_status)
5834 static_cast<FwAssertArgType>(_status)
5837 #if FW_AMPCS_COMPATIBLE 5840 static_cast<U8>(
sizeof(U32))
5844 static_cast<FwAssertArgType>(_status)
5850 static_cast<FwAssertArgType>(_status)
5863 #if FW_ENABLE_TEXT_LOGGING 5864 if (this->isConnected_logTextOut_OutputPort(0)) {
5865 #if FW_OBJECT_NAMES == 1 5866 const char* _formatString =
5867 "(%s) %s: RX class %s transaction %" PRIu32
":%" PRIu32
" CRC mismatch: expected 0x%" PRIx32
" actual 0x%" PRIx32
"";
5869 const char* _formatString =
5870 "%s: RX class %s transaction %" PRIu32
":%" PRIu32
" CRC mismatch: expected 0x%" PRIx32
" actual 0x%" PRIx32
"";
5874 cfdpClass.toString(cfdpClassStr);
5877 (void) _logString.
format(
5880 this->m_objName.toChar(),
5890 this->logTextOut_out(
5911 this->timeCaller_out(0, _logTime);
5921 #if FW_AMPCS_COMPATIBLE 5926 static_cast<FwAssertArgType>(_status)
5930 #if FW_AMPCS_COMPATIBLE 5937 static_cast<FwAssertArgType>(_status)
5943 static_cast<FwAssertArgType>(_status)
5946 #if FW_AMPCS_COMPATIBLE 5949 static_cast<U8>(
sizeof(U32))
5953 static_cast<FwAssertArgType>(_status)
5959 static_cast<FwAssertArgType>(_status)
5962 #if FW_AMPCS_COMPATIBLE 5965 static_cast<U8>(
sizeof(U32))
5969 static_cast<FwAssertArgType>(_status)
5975 static_cast<FwAssertArgType>(_status)
5988 #if FW_ENABLE_TEXT_LOGGING 5989 if (this->isConnected_logTextOut_OutputPort(0)) {
5990 #if FW_OBJECT_NAMES == 1 5991 const char* _formatString =
5992 "(%s) %s: RX class %s transaction %" PRIu32
":%" PRIu32
" NAK limit reached";
5994 const char* _formatString =
5995 "%s: RX class %s transaction %" PRIu32
":%" PRIu32
" NAK limit reached";
5999 cfdpClass.toString(cfdpClassStr);
6002 (void) _logString.
format(
6005 this->m_objName.toChar(),
6007 "RxNakLimitReached ",
6013 this->logTextOut_out(
6036 this->timeCaller_out(0, _logTime);
6046 #if FW_AMPCS_COMPATIBLE 6051 static_cast<FwAssertArgType>(_status)
6055 #if FW_AMPCS_COMPATIBLE 6062 static_cast<FwAssertArgType>(_status)
6068 static_cast<FwAssertArgType>(_status)
6071 #if FW_AMPCS_COMPATIBLE 6074 static_cast<U8>(
sizeof(U32))
6078 static_cast<FwAssertArgType>(_status)
6084 static_cast<FwAssertArgType>(_status)
6087 #if FW_AMPCS_COMPATIBLE 6090 static_cast<U8>(
sizeof(U32))
6094 static_cast<FwAssertArgType>(_status)
6100 static_cast<FwAssertArgType>(_status)
6103 #if FW_AMPCS_COMPATIBLE 6106 static_cast<U8>(
sizeof(U32))
6110 static_cast<FwAssertArgType>(_status)
6116 static_cast<FwAssertArgType>(_status)
6119 #if FW_AMPCS_COMPATIBLE 6122 static_cast<U8>(
sizeof(I32))
6126 static_cast<FwAssertArgType>(_status)
6132 static_cast<FwAssertArgType>(_status)
6145 #if FW_ENABLE_TEXT_LOGGING 6146 if (this->isConnected_logTextOut_OutputPort(0)) {
6147 #if FW_OBJECT_NAMES == 1 6148 const char* _formatString =
6149 "(%s) %s: RX class %s transaction %" PRIu32
":%" PRIu32
" failed to seek to offset %" PRIu32
", error=%" PRIi32
"";
6151 const char* _formatString =
6152 "%s: RX class %s transaction %" PRIu32
":%" PRIu32
" failed to seek to offset %" PRIu32
", error=%" PRIi32
"";
6156 cfdpClass.toString(cfdpClassStr);
6159 (void) _logString.
format(
6162 this->m_objName.toChar(),
6172 this->logTextOut_out(
6195 this->timeCaller_out(0, _logTime);
6205 #if FW_AMPCS_COMPATIBLE 6210 static_cast<FwAssertArgType>(_status)
6214 #if FW_AMPCS_COMPATIBLE 6221 static_cast<FwAssertArgType>(_status)
6227 static_cast<FwAssertArgType>(_status)
6230 #if FW_AMPCS_COMPATIBLE 6233 static_cast<U8>(
sizeof(U32))
6237 static_cast<FwAssertArgType>(_status)
6243 static_cast<FwAssertArgType>(_status)
6246 #if FW_AMPCS_COMPATIBLE 6249 static_cast<U8>(
sizeof(U32))
6253 static_cast<FwAssertArgType>(_status)
6259 static_cast<FwAssertArgType>(_status)
6262 #if FW_AMPCS_COMPATIBLE 6265 static_cast<U8>(
sizeof(U32))
6269 static_cast<FwAssertArgType>(_status)
6275 static_cast<FwAssertArgType>(_status)
6278 #if FW_AMPCS_COMPATIBLE 6281 static_cast<U8>(
sizeof(I32))
6285 static_cast<FwAssertArgType>(_status)
6291 static_cast<FwAssertArgType>(_status)
6304 #if FW_ENABLE_TEXT_LOGGING 6305 if (this->isConnected_logTextOut_OutputPort(0)) {
6306 #if FW_OBJECT_NAMES == 1 6307 const char* _formatString =
6308 "(%s) %s: RX class %s transaction %" PRIu32
":%" PRIu32
" write failed: expected %" PRIu32
" bytes, got %" PRIi32
"";
6310 const char* _formatString =
6311 "%s: RX class %s transaction %" PRIu32
":%" PRIu32
" write failed: expected %" PRIu32
" bytes, got %" PRIi32
"";
6315 cfdpClass.toString(cfdpClassStr);
6318 (void) _logString.
format(
6321 this->m_objName.toChar(),
6331 this->logTextOut_out(
6355 this->timeCaller_out(0, _logTime);
6365 #if FW_AMPCS_COMPATIBLE 6370 static_cast<FwAssertArgType>(_status)
6374 #if FW_AMPCS_COMPATIBLE 6381 static_cast<FwAssertArgType>(_status)
6387 static_cast<FwAssertArgType>(_status)
6390 #if FW_AMPCS_COMPATIBLE 6393 static_cast<U8>(
sizeof(U32))
6397 static_cast<FwAssertArgType>(_status)
6403 static_cast<FwAssertArgType>(_status)
6406 #if FW_AMPCS_COMPATIBLE 6409 static_cast<U8>(
sizeof(U32))
6413 static_cast<FwAssertArgType>(_status)
6419 static_cast<FwAssertArgType>(_status)
6422 #if FW_AMPCS_COMPATIBLE 6425 static_cast<U8>(
sizeof(U32))
6429 static_cast<FwAssertArgType>(_status)
6435 static_cast<FwAssertArgType>(_status)
6438 #if FW_AMPCS_COMPATIBLE 6441 static_cast<U8>(
sizeof(U32))
6445 static_cast<FwAssertArgType>(_status)
6451 static_cast<FwAssertArgType>(_status)
6454 #if FW_AMPCS_COMPATIBLE 6457 static_cast<U8>(
sizeof(U32))
6461 static_cast<FwAssertArgType>(_status)
6467 static_cast<FwAssertArgType>(_status)
6480 #if FW_ENABLE_TEXT_LOGGING 6481 if (this->isConnected_logTextOut_OutputPort(0)) {
6482 #if FW_OBJECT_NAMES == 1 6483 const char* _formatString =
6484 "(%s) %s: RX class %s transaction %" PRIu32
":%" PRIu32
" file data [%" PRIu32
", +%" PRIu32
"] exceeds file size bound %" PRIu32
", PDU rejected";
6486 const char* _formatString =
6487 "%s: RX class %s transaction %" PRIu32
":%" PRIu32
" file data [%" PRIu32
", +%" PRIu32
"] exceeds file size bound %" PRIu32
", PDU rejected";
6491 cfdpClass.toString(cfdpClassStr);
6494 (void) _logString.
format(
6497 this->m_objName.toChar(),
6499 "RxFileDataOutOfBounds ",
6508 this->logTextOut_out(
6531 this->timeCaller_out(0, _logTime);
6541 #if FW_AMPCS_COMPATIBLE 6546 static_cast<FwAssertArgType>(_status)
6550 #if FW_AMPCS_COMPATIBLE 6557 static_cast<FwAssertArgType>(_status)
6563 static_cast<FwAssertArgType>(_status)
6566 #if FW_AMPCS_COMPATIBLE 6569 static_cast<U8>(
sizeof(U32))
6573 static_cast<FwAssertArgType>(_status)
6579 static_cast<FwAssertArgType>(_status)
6582 #if FW_AMPCS_COMPATIBLE 6585 static_cast<U8>(
sizeof(U32))
6589 static_cast<FwAssertArgType>(_status)
6595 static_cast<FwAssertArgType>(_status)
6598 #if FW_AMPCS_COMPATIBLE 6601 static_cast<U8>(
sizeof(U32))
6605 static_cast<FwAssertArgType>(_status)
6611 static_cast<FwAssertArgType>(_status)
6614 #if FW_AMPCS_COMPATIBLE 6617 static_cast<U8>(
sizeof(U32))
6621 static_cast<FwAssertArgType>(_status)
6627 static_cast<FwAssertArgType>(_status)
6640 #if FW_ENABLE_TEXT_LOGGING 6641 if (this->isConnected_logTextOut_OutputPort(0)) {
6642 #if FW_OBJECT_NAMES == 1 6643 const char* _formatString =
6644 "(%s) %s: RX class %s transaction %" PRIu32
":%" PRIu32
" EOF file size mismatch: expected %" PRIu32
" got %" PRIu32
"";
6646 const char* _formatString =
6647 "%s: RX class %s transaction %" PRIu32
":%" PRIu32
" EOF file size mismatch: expected %" PRIu32
" got %" PRIu32
"";
6651 cfdpClass.toString(cfdpClassStr);
6654 (void) _logString.
format(
6657 this->m_objName.toChar(),
6659 "RxFileSizeMismatch ",
6667 this->logTextOut_out(
6688 this->timeCaller_out(0, _logTime);
6698 #if FW_AMPCS_COMPATIBLE 6703 static_cast<FwAssertArgType>(_status)
6707 #if FW_AMPCS_COMPATIBLE 6714 static_cast<FwAssertArgType>(_status)
6720 static_cast<FwAssertArgType>(_status)
6723 #if FW_AMPCS_COMPATIBLE 6726 static_cast<U8>(
sizeof(U32))
6730 static_cast<FwAssertArgType>(_status)
6736 static_cast<FwAssertArgType>(_status)
6739 #if FW_AMPCS_COMPATIBLE 6742 static_cast<U8>(
sizeof(U32))
6746 static_cast<FwAssertArgType>(_status)
6752 static_cast<FwAssertArgType>(_status)
6765 #if FW_ENABLE_TEXT_LOGGING 6766 if (this->isConnected_logTextOut_OutputPort(0)) {
6767 #if FW_OBJECT_NAMES == 1 6768 const char* _formatString =
6769 "(%s) %s: RX class %s transaction %" PRIu32
":%" PRIu32
" cancelled by sender";
6771 const char* _formatString =
6772 "%s: RX class %s transaction %" PRIu32
":%" PRIu32
" cancelled by sender";
6776 cfdpClass.toString(cfdpClassStr);
6779 (void) _logString.
format(
6782 this->m_objName.toChar(),
6784 "RxEofCancelReceived ",
6790 this->logTextOut_out(
6812 this->timeCaller_out(0, _logTime);
6822 #if FW_AMPCS_COMPATIBLE 6827 static_cast<FwAssertArgType>(_status)
6831 #if FW_AMPCS_COMPATIBLE 6838 static_cast<FwAssertArgType>(_status)
6844 static_cast<FwAssertArgType>(_status)
6847 #if FW_AMPCS_COMPATIBLE 6850 static_cast<U8>(
sizeof(U32))
6854 static_cast<FwAssertArgType>(_status)
6860 static_cast<FwAssertArgType>(_status)
6863 #if FW_AMPCS_COMPATIBLE 6866 static_cast<U8>(
sizeof(U32))
6870 static_cast<FwAssertArgType>(_status)
6876 static_cast<FwAssertArgType>(_status)
6879 #if FW_AMPCS_COMPATIBLE 6882 static_cast<U8>(
sizeof(
U8))
6886 static_cast<FwAssertArgType>(_status)
6892 static_cast<FwAssertArgType>(_status)
6905 #if FW_ENABLE_TEXT_LOGGING 6906 if (this->isConnected_logTextOut_OutputPort(0)) {
6907 #if FW_OBJECT_NAMES == 1 6908 const char* _formatString =
6909 "(%s) %s: RX class %s transaction %" PRIu32
":%" PRIu32
" received EOF with error condition code %" PRIu8
"";
6911 const char* _formatString =
6912 "%s: RX class %s transaction %" PRIu32
":%" PRIu32
" received EOF with error condition code %" PRIu8
"";
6916 cfdpClass.toString(cfdpClassStr);
6919 (void) _logString.
format(
6922 this->m_objName.toChar(),
6931 this->logTextOut_out(
6954 this->timeCaller_out(0, _logTime);
6964 #if FW_AMPCS_COMPATIBLE 6969 static_cast<FwAssertArgType>(_status)
6973 #if FW_AMPCS_COMPATIBLE 6980 static_cast<FwAssertArgType>(_status)
6986 static_cast<FwAssertArgType>(_status)
6989 #if FW_AMPCS_COMPATIBLE 6992 static_cast<U8>(
sizeof(U32))
6996 static_cast<FwAssertArgType>(_status)
7002 static_cast<FwAssertArgType>(_status)
7005 #if FW_AMPCS_COMPATIBLE 7008 static_cast<U8>(
sizeof(U32))
7012 static_cast<FwAssertArgType>(_status)
7018 static_cast<FwAssertArgType>(_status)
7021 #if FW_AMPCS_COMPATIBLE 7024 static_cast<U8>(
sizeof(U32))
7028 static_cast<FwAssertArgType>(_status)
7034 static_cast<FwAssertArgType>(_status)
7037 #if FW_AMPCS_COMPATIBLE 7040 static_cast<U8>(
sizeof(I32))
7044 static_cast<FwAssertArgType>(_status)
7050 static_cast<FwAssertArgType>(_status)
7063 #if FW_ENABLE_TEXT_LOGGING 7064 if (this->isConnected_logTextOut_OutputPort(0)) {
7065 #if FW_OBJECT_NAMES == 1 7066 const char* _formatString =
7067 "(%s) %s: RX class %s transaction %" PRIu32
":%" PRIu32
" failed to seek offset %" PRIu32
" during CRC calculation, error=%" PRIi32
"";
7069 const char* _formatString =
7070 "%s: RX class %s transaction %" PRIu32
":%" PRIu32
" failed to seek offset %" PRIu32
" during CRC calculation, error=%" PRIi32
"";
7074 cfdpClass.toString(cfdpClassStr);
7077 (void) _logString.
format(
7080 this->m_objName.toChar(),
7090 this->logTextOut_out(
7113 this->timeCaller_out(0, _logTime);
7123 #if FW_AMPCS_COMPATIBLE 7128 static_cast<FwAssertArgType>(_status)
7132 #if FW_AMPCS_COMPATIBLE 7139 static_cast<FwAssertArgType>(_status)
7145 static_cast<FwAssertArgType>(_status)
7148 #if FW_AMPCS_COMPATIBLE 7151 static_cast<U8>(
sizeof(U32))
7155 static_cast<FwAssertArgType>(_status)
7161 static_cast<FwAssertArgType>(_status)
7164 #if FW_AMPCS_COMPATIBLE 7167 static_cast<U8>(
sizeof(U32))
7171 static_cast<FwAssertArgType>(_status)
7177 static_cast<FwAssertArgType>(_status)
7180 #if FW_AMPCS_COMPATIBLE 7183 static_cast<U8>(
sizeof(U32))
7187 static_cast<FwAssertArgType>(_status)
7193 static_cast<FwAssertArgType>(_status)
7196 #if FW_AMPCS_COMPATIBLE 7199 static_cast<U8>(
sizeof(I32))
7203 static_cast<FwAssertArgType>(_status)
7209 static_cast<FwAssertArgType>(_status)
7222 #if FW_ENABLE_TEXT_LOGGING 7223 if (this->isConnected_logTextOut_OutputPort(0)) {
7224 #if FW_OBJECT_NAMES == 1 7225 const char* _formatString =
7226 "(%s) %s: RX class %s transaction %" PRIu32
":%" PRIu32
" failed to read during CRC calculation: expected %" PRIu32
" bytes, got %" PRIi32
"";
7228 const char* _formatString =
7229 "%s: RX class %s transaction %" PRIu32
":%" PRIu32
" failed to read during CRC calculation: expected %" PRIu32
" bytes, got %" PRIi32
"";
7233 cfdpClass.toString(cfdpClassStr);
7236 (void) _logString.
format(
7239 this->m_objName.toChar(),
7249 this->logTextOut_out(
7272 this->timeCaller_out(0, _logTime);
7282 #if FW_AMPCS_COMPATIBLE 7287 static_cast<FwAssertArgType>(_status)
7291 #if FW_AMPCS_COMPATIBLE 7298 static_cast<FwAssertArgType>(_status)
7304 static_cast<FwAssertArgType>(_status)
7307 #if FW_AMPCS_COMPATIBLE 7310 static_cast<U8>(
sizeof(U32))
7314 static_cast<FwAssertArgType>(_status)
7320 static_cast<FwAssertArgType>(_status)
7323 #if FW_AMPCS_COMPATIBLE 7326 static_cast<U8>(
sizeof(U32))
7330 static_cast<FwAssertArgType>(_status)
7336 static_cast<FwAssertArgType>(_status)
7339 #if FW_AMPCS_COMPATIBLE 7342 static_cast<U8>(
sizeof(U32))
7346 static_cast<FwAssertArgType>(_status)
7352 static_cast<FwAssertArgType>(_status)
7355 #if FW_AMPCS_COMPATIBLE 7358 static_cast<U8>(
sizeof(U32))
7362 static_cast<FwAssertArgType>(_status)
7368 static_cast<FwAssertArgType>(_status)
7381 #if FW_ENABLE_TEXT_LOGGING 7382 if (this->isConnected_logTextOut_OutputPort(0)) {
7383 #if FW_OBJECT_NAMES == 1 7384 const char* _formatString =
7385 "(%s) %s: RX class %s transaction %" PRIu32
":%" PRIu32
" EOF/metadata size mismatch: metadata=%" PRIu32
", EOF=%" PRIu32
"";
7387 const char* _formatString =
7388 "%s: RX class %s transaction %" PRIu32
":%" PRIu32
" EOF/metadata size mismatch: metadata=%" PRIu32
", EOF=%" PRIu32
"";
7392 cfdpClass.toString(cfdpClassStr);
7395 (void) _logString.
format(
7398 this->m_objName.toChar(),
7400 "RxEofMdSizeMismatch ",
7408 this->logTextOut_out(
7432 this->timeCaller_out(0, _logTime);
7442 #if FW_AMPCS_COMPATIBLE 7447 static_cast<FwAssertArgType>(_status)
7451 #if FW_AMPCS_COMPATIBLE 7458 static_cast<FwAssertArgType>(_status)
7464 static_cast<FwAssertArgType>(_status)
7467 #if FW_AMPCS_COMPATIBLE 7470 static_cast<U8>(
sizeof(U32))
7474 static_cast<FwAssertArgType>(_status)
7480 static_cast<FwAssertArgType>(_status)
7483 #if FW_AMPCS_COMPATIBLE 7486 static_cast<U8>(
sizeof(U32))
7490 static_cast<FwAssertArgType>(_status)
7496 static_cast<FwAssertArgType>(_status)
7505 static_cast<FwAssertArgType>(_status)
7514 static_cast<FwAssertArgType>(_status)
7517 #if FW_AMPCS_COMPATIBLE 7520 static_cast<U8>(
sizeof(I32))
7524 static_cast<FwAssertArgType>(_status)
7530 static_cast<FwAssertArgType>(_status)
7543 #if FW_ENABLE_TEXT_LOGGING 7544 if (this->isConnected_logTextOut_OutputPort(0)) {
7545 #if FW_OBJECT_NAMES == 1 7546 const char* _formatString =
7547 "(%s) %s: RX class %s transaction %" PRIu32
":%" PRIu32
" failed to rename %s to %s, error=%" PRIi32
"";
7549 const char* _formatString =
7550 "%s: RX class %s transaction %" PRIu32
":%" PRIu32
" failed to rename %s to %s, error=%" PRIi32
"";
7554 cfdpClass.toString(cfdpClassStr);
7557 (void) _logString.
format(
7560 this->m_objName.toChar(),
7562 "RxFileRenameFailed ",
7571 this->logTextOut_out(
7594 this->timeCaller_out(0, _logTime);
7604 #if FW_AMPCS_COMPATIBLE 7609 static_cast<FwAssertArgType>(_status)
7613 #if FW_AMPCS_COMPATIBLE 7620 static_cast<FwAssertArgType>(_status)
7626 static_cast<FwAssertArgType>(_status)
7629 #if FW_AMPCS_COMPATIBLE 7632 static_cast<U8>(
sizeof(U32))
7636 static_cast<FwAssertArgType>(_status)
7642 static_cast<FwAssertArgType>(_status)
7645 #if FW_AMPCS_COMPATIBLE 7648 static_cast<U8>(
sizeof(U32))
7652 static_cast<FwAssertArgType>(_status)
7658 static_cast<FwAssertArgType>(_status)
7667 static_cast<FwAssertArgType>(_status)
7670 #if FW_AMPCS_COMPATIBLE 7673 static_cast<U8>(
sizeof(I32))
7677 static_cast<FwAssertArgType>(_status)
7683 static_cast<FwAssertArgType>(_status)
7696 #if FW_ENABLE_TEXT_LOGGING 7697 if (this->isConnected_logTextOut_OutputPort(0)) {
7698 #if FW_OBJECT_NAMES == 1 7699 const char* _formatString =
7700 "(%s) %s: RX class %s transaction %" PRIu32
":%" PRIu32
" failed to reopen file %s after rename, error=%" PRIi32
"";
7702 const char* _formatString =
7703 "%s: RX class %s transaction %" PRIu32
":%" PRIu32
" failed to reopen file %s after rename, error=%" PRIi32
"";
7707 cfdpClass.toString(cfdpClassStr);
7710 (void) _logString.
format(
7713 this->m_objName.toChar(),
7715 "RxFileReopenFailed ",
7723 this->logTextOut_out(
7744 this->timeCaller_out(0, _logTime);
7754 #if FW_AMPCS_COMPATIBLE 7759 static_cast<FwAssertArgType>(_status)
7763 #if FW_AMPCS_COMPATIBLE 7770 static_cast<FwAssertArgType>(_status)
7776 static_cast<FwAssertArgType>(_status)
7779 #if FW_AMPCS_COMPATIBLE 7782 static_cast<U8>(
sizeof(U32))
7786 static_cast<FwAssertArgType>(_status)
7792 static_cast<FwAssertArgType>(_status)
7795 #if FW_AMPCS_COMPATIBLE 7798 static_cast<U8>(
sizeof(U32))
7802 static_cast<FwAssertArgType>(_status)
7808 static_cast<FwAssertArgType>(_status)
7821 #if FW_ENABLE_TEXT_LOGGING 7822 if (this->isConnected_logTextOut_OutputPort(0)) {
7823 #if FW_OBJECT_NAMES == 1 7824 const char* _formatString =
7825 "(%s) %s: RX class %s transaction %" PRIu32
":%" PRIu32
" inactivity timer expired";
7827 const char* _formatString =
7828 "%s: RX class %s transaction %" PRIu32
":%" PRIu32
" inactivity timer expired";
7832 cfdpClass.toString(cfdpClassStr);
7835 (void) _logString.
format(
7838 this->m_objName.toChar(),
7840 "RxInactivityTimeout ",
7846 this->logTextOut_out(
7869 this->timeCaller_out(0, _logTime);
7879 #if FW_AMPCS_COMPATIBLE 7884 static_cast<FwAssertArgType>(_status)
7888 #if FW_AMPCS_COMPATIBLE 7895 static_cast<FwAssertArgType>(_status)
7901 static_cast<FwAssertArgType>(_status)
7904 #if FW_AMPCS_COMPATIBLE 7907 static_cast<U8>(
sizeof(U32))
7911 static_cast<FwAssertArgType>(_status)
7917 static_cast<FwAssertArgType>(_status)
7920 #if FW_AMPCS_COMPATIBLE 7923 static_cast<U8>(
sizeof(U32))
7927 static_cast<FwAssertArgType>(_status)
7933 static_cast<FwAssertArgType>(_status)
7936 #if FW_AMPCS_COMPATIBLE 7939 static_cast<U8>(
sizeof(
U8))
7943 static_cast<FwAssertArgType>(_status)
7949 static_cast<FwAssertArgType>(_status)
7952 #if FW_AMPCS_COMPATIBLE 7955 static_cast<U8>(
sizeof(
U8))
7959 static_cast<FwAssertArgType>(_status)
7965 static_cast<FwAssertArgType>(_status)
7978 #if FW_ENABLE_TEXT_LOGGING 7979 if (this->isConnected_logTextOut_OutputPort(0)) {
7980 #if FW_OBJECT_NAMES == 1 7981 const char* _formatString =
7982 "(%s) %s: RX class %s transaction %" PRIu32
":%" PRIu32
" received invalid directive code %" PRIu8
" for substate %" PRIu8
"";
7984 const char* _formatString =
7985 "%s: RX class %s transaction %" PRIu32
":%" PRIu32
" received invalid directive code %" PRIu8
" for substate %" PRIu8
"";
7989 cfdpClass.toString(cfdpClassStr);
7992 (void) _logString.
format(
7995 this->m_objName.toChar(),
7997 "RxInvalidDirectiveCode ",
8005 this->logTextOut_out(
8026 this->timeCaller_out(0, _logTime);
8036 #if FW_AMPCS_COMPATIBLE 8041 static_cast<FwAssertArgType>(_status)
8045 #if FW_AMPCS_COMPATIBLE 8052 static_cast<FwAssertArgType>(_status)
8058 static_cast<FwAssertArgType>(_status)
8061 #if FW_AMPCS_COMPATIBLE 8064 static_cast<U8>(
sizeof(U32))
8068 static_cast<FwAssertArgType>(_status)
8074 static_cast<FwAssertArgType>(_status)
8077 #if FW_AMPCS_COMPATIBLE 8080 static_cast<U8>(
sizeof(U32))
8084 static_cast<FwAssertArgType>(_status)
8090 static_cast<FwAssertArgType>(_status)
8103 #if FW_ENABLE_TEXT_LOGGING 8104 if (this->isConnected_logTextOut_OutputPort(0)) {
8105 #if FW_OBJECT_NAMES == 1 8106 const char* _formatString =
8107 "(%s) %s: TX class %s transaction %" PRIu32
":%" PRIu32
" ACK limit reached, no eof-ack received";
8109 const char* _formatString =
8110 "%s: TX class %s transaction %" PRIu32
":%" PRIu32
" ACK limit reached, no eof-ack received";
8114 cfdpClass.toString(cfdpClassStr);
8117 (void) _logString.
format(
8120 this->m_objName.toChar(),
8122 "TxAckLimitReached ",
8128 this->logTextOut_out(
8149 this->timeCaller_out(0, _logTime);
8159 #if FW_AMPCS_COMPATIBLE 8164 static_cast<FwAssertArgType>(_status)
8168 #if FW_AMPCS_COMPATIBLE 8175 static_cast<FwAssertArgType>(_status)
8181 static_cast<FwAssertArgType>(_status)
8184 #if FW_AMPCS_COMPATIBLE 8187 static_cast<U8>(
sizeof(U32))
8191 static_cast<FwAssertArgType>(_status)
8197 static_cast<FwAssertArgType>(_status)
8200 #if FW_AMPCS_COMPATIBLE 8203 static_cast<U8>(
sizeof(U32))
8207 static_cast<FwAssertArgType>(_status)
8213 static_cast<FwAssertArgType>(_status)
8226 #if FW_ENABLE_TEXT_LOGGING 8227 if (this->isConnected_logTextOut_OutputPort(0)) {
8228 #if FW_OBJECT_NAMES == 1 8229 const char* _formatString =
8230 "(%s) %s: TX class %s transaction %" PRIu32
":%" PRIu32
" inactivity timer expired";
8232 const char* _formatString =
8233 "%s: TX class %s transaction %" PRIu32
":%" PRIu32
" inactivity timer expired";
8237 cfdpClass.toString(cfdpClassStr);
8240 (void) _logString.
format(
8243 this->m_objName.toChar(),
8245 "TxInactivityTimeout ",
8251 this->logTextOut_out(
8273 this->timeCaller_out(0, _logTime);
8283 #if FW_AMPCS_COMPATIBLE 8288 static_cast<FwAssertArgType>(_status)
8292 #if FW_AMPCS_COMPATIBLE 8299 static_cast<FwAssertArgType>(_status)
8305 static_cast<FwAssertArgType>(_status)
8308 #if FW_AMPCS_COMPATIBLE 8311 static_cast<U8>(
sizeof(U32))
8315 static_cast<FwAssertArgType>(_status)
8321 static_cast<FwAssertArgType>(_status)
8324 #if FW_AMPCS_COMPATIBLE 8327 static_cast<U8>(
sizeof(U32))
8331 static_cast<FwAssertArgType>(_status)
8337 static_cast<FwAssertArgType>(_status)
8346 static_cast<FwAssertArgType>(_status)
8359 #if FW_ENABLE_TEXT_LOGGING 8360 if (this->isConnected_logTextOut_OutputPort(0)) {
8361 #if FW_OBJECT_NAMES == 1 8362 const char* _formatString =
8363 "(%s) %s: TX class %s transaction %" PRIu32
":%" PRIu32
" cannot transfer zero-length file %s";
8365 const char* _formatString =
8366 "%s: TX class %s transaction %" PRIu32
":%" PRIu32
" cannot transfer zero-length file %s";
8370 cfdpClass.toString(cfdpClassStr);
8373 (void) _logString.
format(
8376 this->m_objName.toChar(),
8378 "TxZeroLengthFile ",
8385 this->logTextOut_out(
8408 this->timeCaller_out(0, _logTime);
8418 #if FW_AMPCS_COMPATIBLE 8423 static_cast<FwAssertArgType>(_status)
8427 #if FW_AMPCS_COMPATIBLE 8434 static_cast<FwAssertArgType>(_status)
8440 static_cast<FwAssertArgType>(_status)
8443 #if FW_AMPCS_COMPATIBLE 8446 static_cast<U8>(
sizeof(U32))
8450 static_cast<FwAssertArgType>(_status)
8456 static_cast<FwAssertArgType>(_status)
8459 #if FW_AMPCS_COMPATIBLE 8462 static_cast<U8>(
sizeof(U32))
8466 static_cast<FwAssertArgType>(_status)
8472 static_cast<FwAssertArgType>(_status)
8481 static_cast<FwAssertArgType>(_status)
8484 #if FW_AMPCS_COMPATIBLE 8487 static_cast<U8>(
sizeof(I32))
8491 static_cast<FwAssertArgType>(_status)
8497 static_cast<FwAssertArgType>(_status)
8510 #if FW_ENABLE_TEXT_LOGGING 8511 if (this->isConnected_logTextOut_OutputPort(0)) {
8512 #if FW_OBJECT_NAMES == 1 8513 const char* _formatString =
8514 "(%s) %s: TX class %s transaction %" PRIu32
":%" PRIu32
" failed to open file %s, error=%" PRIi32
"";
8516 const char* _formatString =
8517 "%s: TX class %s transaction %" PRIu32
":%" PRIu32
" failed to open file %s, error=%" PRIi32
"";
8521 cfdpClass.toString(cfdpClassStr);
8524 (void) _logString.
format(
8527 this->m_objName.toChar(),
8529 "TxFileOpenFailed ",
8537 this->logTextOut_out(
8559 this->timeCaller_out(0, _logTime);
8569 #if FW_AMPCS_COMPATIBLE 8574 static_cast<FwAssertArgType>(_status)
8578 #if FW_AMPCS_COMPATIBLE 8585 static_cast<FwAssertArgType>(_status)
8591 static_cast<FwAssertArgType>(_status)
8594 #if FW_AMPCS_COMPATIBLE 8597 static_cast<U8>(
sizeof(U32))
8601 static_cast<FwAssertArgType>(_status)
8607 static_cast<FwAssertArgType>(_status)
8610 #if FW_AMPCS_COMPATIBLE 8613 static_cast<U8>(
sizeof(U32))
8617 static_cast<FwAssertArgType>(_status)
8623 static_cast<FwAssertArgType>(_status)
8626 #if FW_AMPCS_COMPATIBLE 8629 static_cast<U8>(
sizeof(I32))
8633 static_cast<FwAssertArgType>(_status)
8639 static_cast<FwAssertArgType>(_status)
8652 #if FW_ENABLE_TEXT_LOGGING 8653 if (this->isConnected_logTextOut_OutputPort(0)) {
8654 #if FW_OBJECT_NAMES == 1 8655 const char* _formatString =
8656 "(%s) %s: TX class %s transaction %" PRIu32
":%" PRIu32
" failed to seek to beginning of file, error=%" PRIi32
"";
8658 const char* _formatString =
8659 "%s: TX class %s transaction %" PRIu32
":%" PRIu32
" failed to seek to beginning of file, error=%" PRIi32
"";
8663 cfdpClass.toString(cfdpClassStr);
8666 (void) _logString.
format(
8669 this->m_objName.toChar(),
8671 "TxFileSeekFailed ",
8678 this->logTextOut_out(
8699 this->timeCaller_out(0, _logTime);
8709 #if FW_AMPCS_COMPATIBLE 8714 static_cast<FwAssertArgType>(_status)
8718 #if FW_AMPCS_COMPATIBLE 8725 static_cast<FwAssertArgType>(_status)
8731 static_cast<FwAssertArgType>(_status)
8734 #if FW_AMPCS_COMPATIBLE 8737 static_cast<U8>(
sizeof(U32))
8741 static_cast<FwAssertArgType>(_status)
8747 static_cast<FwAssertArgType>(_status)
8750 #if FW_AMPCS_COMPATIBLE 8753 static_cast<U8>(
sizeof(U32))
8757 static_cast<FwAssertArgType>(_status)
8763 static_cast<FwAssertArgType>(_status)
8776 #if FW_ENABLE_TEXT_LOGGING 8777 if (this->isConnected_logTextOut_OutputPort(0)) {
8778 #if FW_OBJECT_NAMES == 1 8779 const char* _formatString =
8780 "(%s) %s: TX class %s transaction %" PRIu32
":%" PRIu32
" failed to send metadata PDU";
8782 const char* _formatString =
8783 "%s: TX class %s transaction %" PRIu32
":%" PRIu32
" failed to send metadata PDU";
8787 cfdpClass.toString(cfdpClassStr);
8790 (void) _logString.
format(
8793 this->m_objName.toChar(),
8795 "TxSendMetadataFailed ",
8801 this->logTextOut_out(
8822 this->timeCaller_out(0, _logTime);
8832 #if FW_AMPCS_COMPATIBLE 8837 static_cast<FwAssertArgType>(_status)
8841 #if FW_AMPCS_COMPATIBLE 8848 static_cast<FwAssertArgType>(_status)
8854 static_cast<FwAssertArgType>(_status)
8857 #if FW_AMPCS_COMPATIBLE 8860 static_cast<U8>(
sizeof(U32))
8864 static_cast<FwAssertArgType>(_status)
8870 static_cast<FwAssertArgType>(_status)
8873 #if FW_AMPCS_COMPATIBLE 8876 static_cast<U8>(
sizeof(U32))
8880 static_cast<FwAssertArgType>(_status)
8886 static_cast<FwAssertArgType>(_status)
8899 #if FW_ENABLE_TEXT_LOGGING 8900 if (this->isConnected_logTextOut_OutputPort(0)) {
8901 #if FW_OBJECT_NAMES == 1 8902 const char* _formatString =
8903 "(%s) %s: TX class %s transaction %" PRIu32
":%" PRIu32
" received early FIN, cancelling transfer";
8905 const char* _formatString =
8906 "%s: TX class %s transaction %" PRIu32
":%" PRIu32
" received early FIN, cancelling transfer";
8910 cfdpClass.toString(cfdpClassStr);
8913 (void) _logString.
format(
8916 this->m_objName.toChar(),
8918 "TxEarlyFinReceived ",
8924 this->logTextOut_out(
8945 this->timeCaller_out(0, _logTime);
8955 #if FW_AMPCS_COMPATIBLE 8960 static_cast<FwAssertArgType>(_status)
8964 #if FW_AMPCS_COMPATIBLE 8971 static_cast<FwAssertArgType>(_status)
8977 static_cast<FwAssertArgType>(_status)
8980 #if FW_AMPCS_COMPATIBLE 8983 static_cast<U8>(
sizeof(U32))
8987 static_cast<FwAssertArgType>(_status)
8993 static_cast<FwAssertArgType>(_status)
8996 #if FW_AMPCS_COMPATIBLE 8999 static_cast<U8>(
sizeof(U32))
9003 static_cast<FwAssertArgType>(_status)
9009 static_cast<FwAssertArgType>(_status)
9022 #if FW_ENABLE_TEXT_LOGGING 9023 if (this->isConnected_logTextOut_OutputPort(0)) {
9024 #if FW_OBJECT_NAMES == 1 9025 const char* _formatString =
9026 "(%s) %s: TX class %s transaction %" PRIu32
":%" PRIu32
" received invalid NAK PDU";
9028 const char* _formatString =
9029 "%s: TX class %s transaction %" PRIu32
":%" PRIu32
" received invalid NAK PDU";
9033 cfdpClass.toString(cfdpClassStr);
9036 (void) _logString.
format(
9039 this->m_objName.toChar(),
9047 this->logTextOut_out(
9069 this->timeCaller_out(0, _logTime);
9079 #if FW_AMPCS_COMPATIBLE 9084 static_cast<FwAssertArgType>(_status)
9088 #if FW_AMPCS_COMPATIBLE 9095 static_cast<FwAssertArgType>(_status)
9101 static_cast<FwAssertArgType>(_status)
9104 #if FW_AMPCS_COMPATIBLE 9107 static_cast<U8>(
sizeof(U32))
9111 static_cast<FwAssertArgType>(_status)
9117 static_cast<FwAssertArgType>(_status)
9120 #if FW_AMPCS_COMPATIBLE 9123 static_cast<U8>(
sizeof(U32))
9127 static_cast<FwAssertArgType>(_status)
9133 static_cast<FwAssertArgType>(_status)
9136 #if FW_AMPCS_COMPATIBLE 9139 static_cast<U8>(
sizeof(U32))
9143 static_cast<FwAssertArgType>(_status)
9149 static_cast<FwAssertArgType>(_status)
9162 #if FW_ENABLE_TEXT_LOGGING 9163 if (this->isConnected_logTextOut_OutputPort(0)) {
9164 #if FW_OBJECT_NAMES == 1 9165 const char* _formatString =
9166 "(%s) %s: TX class %s transaction %" PRIu32
":%" PRIu32
" received %" PRIu32
" invalid NAK segment requests";
9168 const char* _formatString =
9169 "%s: TX class %s transaction %" PRIu32
":%" PRIu32
" received %" PRIu32
" invalid NAK segment requests";
9173 cfdpClass.toString(cfdpClassStr);
9176 (void) _logString.
format(
9179 this->m_objName.toChar(),
9181 "TxInvalidSegmentRequests ",
9188 this->logTextOut_out(
9209 this->timeCaller_out(0, _logTime);
9219 #if FW_AMPCS_COMPATIBLE 9224 static_cast<FwAssertArgType>(_status)
9228 #if FW_AMPCS_COMPATIBLE 9235 static_cast<FwAssertArgType>(_status)
9241 static_cast<FwAssertArgType>(_status)
9244 #if FW_AMPCS_COMPATIBLE 9247 static_cast<U8>(
sizeof(U32))
9251 static_cast<FwAssertArgType>(_status)
9257 static_cast<FwAssertArgType>(_status)
9260 #if FW_AMPCS_COMPATIBLE 9263 static_cast<U8>(
sizeof(U32))
9267 static_cast<FwAssertArgType>(_status)
9273 static_cast<FwAssertArgType>(_status)
9286 #if FW_ENABLE_TEXT_LOGGING 9287 if (this->isConnected_logTextOut_OutputPort(0)) {
9288 #if FW_OBJECT_NAMES == 1 9289 const char* _formatString =
9290 "(%s) %s: TX class %s transaction %" PRIu32
":%" PRIu32
" received non-file-directive PDU";
9292 const char* _formatString =
9293 "%s: TX class %s transaction %" PRIu32
":%" PRIu32
" received non-file-directive PDU";
9297 cfdpClass.toString(cfdpClassStr);
9300 (void) _logString.
format(
9303 this->m_objName.toChar(),
9305 "TxNonFileDirectivePduReceived ",
9311 this->logTextOut_out(
9334 this->timeCaller_out(0, _logTime);
9344 #if FW_AMPCS_COMPATIBLE 9349 static_cast<FwAssertArgType>(_status)
9353 #if FW_AMPCS_COMPATIBLE 9360 static_cast<FwAssertArgType>(_status)
9366 static_cast<FwAssertArgType>(_status)
9369 #if FW_AMPCS_COMPATIBLE 9372 static_cast<U8>(
sizeof(U32))
9376 static_cast<FwAssertArgType>(_status)
9382 static_cast<FwAssertArgType>(_status)
9385 #if FW_AMPCS_COMPATIBLE 9388 static_cast<U8>(
sizeof(U32))
9392 static_cast<FwAssertArgType>(_status)
9398 static_cast<FwAssertArgType>(_status)
9401 #if FW_AMPCS_COMPATIBLE 9404 static_cast<U8>(
sizeof(
U8))
9408 static_cast<FwAssertArgType>(_status)
9414 static_cast<FwAssertArgType>(_status)
9417 #if FW_AMPCS_COMPATIBLE 9420 static_cast<U8>(
sizeof(
U8))
9424 static_cast<FwAssertArgType>(_status)
9430 static_cast<FwAssertArgType>(_status)
9443 #if FW_ENABLE_TEXT_LOGGING 9444 if (this->isConnected_logTextOut_OutputPort(0)) {
9445 #if FW_OBJECT_NAMES == 1 9446 const char* _formatString =
9447 "(%s) %s: TX class %s transaction %" PRIu32
":%" PRIu32
" received invalid directive code %" PRIu8
" for substate %" PRIu8
"";
9449 const char* _formatString =
9450 "%s: TX class %s transaction %" PRIu32
":%" PRIu32
" received invalid directive code %" PRIu8
" for substate %" PRIu8
"";
9454 cfdpClass.toString(cfdpClassStr);
9457 (void) _logString.
format(
9460 this->m_objName.toChar(),
9462 "TxInvalidDirectiveCode ",
9470 this->logTextOut_out(
9495 this->timeCaller_out(0, _logTime);
9505 #if FW_AMPCS_COMPATIBLE 9510 static_cast<FwAssertArgType>(_status)
9514 #if FW_AMPCS_COMPATIBLE 9521 static_cast<FwAssertArgType>(_status)
9527 static_cast<FwAssertArgType>(_status)
9530 #if FW_AMPCS_COMPATIBLE 9533 static_cast<U8>(
sizeof(U32))
9537 static_cast<FwAssertArgType>(_status)
9543 static_cast<FwAssertArgType>(_status)
9546 #if FW_AMPCS_COMPATIBLE 9549 static_cast<U8>(
sizeof(U32))
9553 static_cast<FwAssertArgType>(_status)
9559 static_cast<FwAssertArgType>(_status)
9568 static_cast<FwAssertArgType>(_status)
9571 #if FW_AMPCS_COMPATIBLE 9574 static_cast<U8>(
sizeof(U32))
9578 static_cast<FwAssertArgType>(_status)
9584 static_cast<FwAssertArgType>(_status)
9593 static_cast<FwAssertArgType>(_status)
9596 #if FW_AMPCS_COMPATIBLE 9599 static_cast<U8>(
sizeof(U32))
9603 static_cast<FwAssertArgType>(_status)
9609 static_cast<FwAssertArgType>(_status)
9622 #if FW_ENABLE_TEXT_LOGGING 9623 if (this->isConnected_logTextOut_OutputPort(0)) {
9624 #if FW_OBJECT_NAMES == 1 9625 const char* _formatString =
9626 "(%s) %s: TX %s transaction %" PRIu32
" transfer started, %" PRIu32
":%s -> %" PRIu32
":%s, %" PRIu32
" bytes";
9628 const char* _formatString =
9629 "%s: TX %s transaction %" PRIu32
" transfer started, %" PRIu32
":%s -> %" PRIu32
":%s, %" PRIu32
" bytes";
9633 cfdpClass.toString(cfdpClassStr);
9636 (void) _logString.
format(
9639 this->m_objName.toChar(),
9641 "TxFileTransferStarted ",
9651 this->logTextOut_out(
9676 this->timeCaller_out(0, _logTime);
9686 #if FW_AMPCS_COMPATIBLE 9691 static_cast<FwAssertArgType>(_status)
9695 #if FW_AMPCS_COMPATIBLE 9702 static_cast<FwAssertArgType>(_status)
9708 static_cast<FwAssertArgType>(_status)
9711 #if FW_AMPCS_COMPATIBLE 9714 static_cast<U8>(
sizeof(U32))
9718 static_cast<FwAssertArgType>(_status)
9724 static_cast<FwAssertArgType>(_status)
9727 #if FW_AMPCS_COMPATIBLE 9730 static_cast<U8>(
sizeof(U32))
9734 static_cast<FwAssertArgType>(_status)
9740 static_cast<FwAssertArgType>(_status)
9749 static_cast<FwAssertArgType>(_status)
9752 #if FW_AMPCS_COMPATIBLE 9755 static_cast<U8>(
sizeof(U32))
9759 static_cast<FwAssertArgType>(_status)
9765 static_cast<FwAssertArgType>(_status)
9774 static_cast<FwAssertArgType>(_status)
9777 #if FW_AMPCS_COMPATIBLE 9780 static_cast<U8>(
sizeof(U32))
9784 static_cast<FwAssertArgType>(_status)
9790 static_cast<FwAssertArgType>(_status)
9803 #if FW_ENABLE_TEXT_LOGGING 9804 if (this->isConnected_logTextOut_OutputPort(0)) {
9805 #if FW_OBJECT_NAMES == 1 9806 const char* _formatString =
9807 "(%s) %s: TX %s transaction %" PRIu32
" completed, %" PRIu32
":%s -> %" PRIu32
":%s, %" PRIu32
" bytes";
9809 const char* _formatString =
9810 "%s: TX %s transaction %" PRIu32
" completed, %" PRIu32
":%s -> %" PRIu32
":%s, %" PRIu32
" bytes";
9814 cfdpClass.toString(cfdpClassStr);
9817 (void) _logString.
format(
9820 this->m_objName.toChar(),
9822 "TxFileTransferCompleted ",
9832 this->logTextOut_out(
9857 this->timeCaller_out(0, _logTime);
9867 #if FW_AMPCS_COMPATIBLE 9872 static_cast<FwAssertArgType>(_status)
9876 #if FW_AMPCS_COMPATIBLE 9883 static_cast<FwAssertArgType>(_status)
9889 static_cast<FwAssertArgType>(_status)
9892 #if FW_AMPCS_COMPATIBLE 9895 static_cast<U8>(
sizeof(U32))
9899 static_cast<FwAssertArgType>(_status)
9905 static_cast<FwAssertArgType>(_status)
9908 #if FW_AMPCS_COMPATIBLE 9911 static_cast<U8>(
sizeof(U32))
9915 static_cast<FwAssertArgType>(_status)
9921 static_cast<FwAssertArgType>(_status)
9930 static_cast<FwAssertArgType>(_status)
9933 #if FW_AMPCS_COMPATIBLE 9936 static_cast<U8>(
sizeof(U32))
9940 static_cast<FwAssertArgType>(_status)
9946 static_cast<FwAssertArgType>(_status)
9955 static_cast<FwAssertArgType>(_status)
9958 #if FW_AMPCS_COMPATIBLE 9961 static_cast<U8>(
sizeof(
U8))
9965 static_cast<FwAssertArgType>(_status)
9971 static_cast<FwAssertArgType>(_status)
9984 #if FW_ENABLE_TEXT_LOGGING 9985 if (this->isConnected_logTextOut_OutputPort(0)) {
9986 #if FW_OBJECT_NAMES == 1 9987 const char* _formatString =
9988 "(%s) %s: TX %s transaction %" PRIu32
" FAILED, %" PRIu32
":%s -> %" PRIu32
":%s, error code %" PRIu8
"";
9990 const char* _formatString =
9991 "%s: TX %s transaction %" PRIu32
" FAILED, %" PRIu32
":%s -> %" PRIu32
":%s, error code %" PRIu8
"";
9995 cfdpClass.toString(cfdpClassStr);
9998 (void) _logString.
format(
10001 this->m_objName.toChar(),
10003 "TxFileTransferFailed ",
10013 this->logTextOut_out(
10038 this->timeCaller_out(0, _logTime);
10048 #if FW_AMPCS_COMPATIBLE 10053 static_cast<FwAssertArgType>(_status)
10057 #if FW_AMPCS_COMPATIBLE 10064 static_cast<FwAssertArgType>(_status)
10070 static_cast<FwAssertArgType>(_status)
10073 #if FW_AMPCS_COMPATIBLE 10076 static_cast<U8>(
sizeof(U32))
10080 static_cast<FwAssertArgType>(_status)
10086 static_cast<FwAssertArgType>(_status)
10089 #if FW_AMPCS_COMPATIBLE 10092 static_cast<U8>(
sizeof(U32))
10096 static_cast<FwAssertArgType>(_status)
10102 static_cast<FwAssertArgType>(_status)
10111 static_cast<FwAssertArgType>(_status)
10114 #if FW_AMPCS_COMPATIBLE 10117 static_cast<U8>(
sizeof(U32))
10121 static_cast<FwAssertArgType>(_status)
10127 static_cast<FwAssertArgType>(_status)
10136 static_cast<FwAssertArgType>(_status)
10139 #if FW_AMPCS_COMPATIBLE 10142 static_cast<U8>(
sizeof(U32))
10146 static_cast<FwAssertArgType>(_status)
10152 static_cast<FwAssertArgType>(_status)
10165 #if FW_ENABLE_TEXT_LOGGING 10166 if (this->isConnected_logTextOut_OutputPort(0)) {
10167 #if FW_OBJECT_NAMES == 1 10168 const char* _formatString =
10169 "(%s) %s: RX %s transaction %" PRIu32
" completed, %" PRIu32
":%s -> %" PRIu32
":%s, %" PRIu32
" bytes";
10171 const char* _formatString =
10172 "%s: RX %s transaction %" PRIu32
" completed, %" PRIu32
":%s -> %" PRIu32
":%s, %" PRIu32
" bytes";
10176 cfdpClass.toString(cfdpClassStr);
10179 (void) _logString.
format(
10182 this->m_objName.toChar(),
10184 "RxFileTransferCompleted ",
10194 this->logTextOut_out(
10219 this->timeCaller_out(0, _logTime);
10229 #if FW_AMPCS_COMPATIBLE 10234 static_cast<FwAssertArgType>(_status)
10238 #if FW_AMPCS_COMPATIBLE 10245 static_cast<FwAssertArgType>(_status)
10251 static_cast<FwAssertArgType>(_status)
10254 #if FW_AMPCS_COMPATIBLE 10257 static_cast<U8>(
sizeof(U32))
10261 static_cast<FwAssertArgType>(_status)
10267 static_cast<FwAssertArgType>(_status)
10270 #if FW_AMPCS_COMPATIBLE 10273 static_cast<U8>(
sizeof(U32))
10277 static_cast<FwAssertArgType>(_status)
10283 static_cast<FwAssertArgType>(_status)
10292 static_cast<FwAssertArgType>(_status)
10295 #if FW_AMPCS_COMPATIBLE 10298 static_cast<U8>(
sizeof(U32))
10302 static_cast<FwAssertArgType>(_status)
10308 static_cast<FwAssertArgType>(_status)
10317 static_cast<FwAssertArgType>(_status)
10320 #if FW_AMPCS_COMPATIBLE 10323 static_cast<U8>(
sizeof(
U8))
10327 static_cast<FwAssertArgType>(_status)
10333 static_cast<FwAssertArgType>(_status)
10346 #if FW_ENABLE_TEXT_LOGGING 10347 if (this->isConnected_logTextOut_OutputPort(0)) {
10348 #if FW_OBJECT_NAMES == 1 10349 const char* _formatString =
10350 "(%s) %s: RX %s transaction %" PRIu32
" FAILED, %" PRIu32
":%s -> %" PRIu32
":%s, error code %" PRIu8
"";
10352 const char* _formatString =
10353 "%s: RX %s transaction %" PRIu32
" FAILED, %" PRIu32
":%s -> %" PRIu32
":%s, error code %" PRIu8
"";
10357 cfdpClass.toString(cfdpClassStr);
10360 (void) _logString.
format(
10363 this->m_objName.toChar(),
10365 "RxFileTransferFailed ",
10375 this->logTextOut_out(
10396 this->timeCaller_out(0, _logTime);
10406 #if FW_AMPCS_COMPATIBLE 10411 static_cast<FwAssertArgType>(_status)
10421 static_cast<FwAssertArgType>(_status)
10430 static_cast<FwAssertArgType>(_status)
10433 #if FW_AMPCS_COMPATIBLE 10436 static_cast<U8>(
sizeof(U32))
10440 static_cast<FwAssertArgType>(_status)
10446 static_cast<FwAssertArgType>(_status)
10459 #if FW_ENABLE_TEXT_LOGGING 10460 if (this->isConnected_logTextOut_OutputPort(0)) {
10461 #if FW_OBJECT_NAMES == 1 10462 const char* _formatString =
10463 "(%s) %s: Metadata received for source: %s, dest: %s (transaction %" PRIu32
")";
10465 const char* _formatString =
10466 "%s: Metadata received for source: %s, dest: %s (transaction %" PRIu32
")";
10470 (void) _logString.
format(
10473 this->m_objName.toChar(),
10475 "MetadataReceived ",
10481 this->logTextOut_out(
10498 this->timeCaller_out(0, _logTime);
10507 #if FW_AMPCS_COMPATIBLE 10513 static_cast<FwAssertArgType>(_status)
10527 #if FW_ENABLE_TEXT_LOGGING 10528 if (this->isConnected_logTextOut_OutputPort(0)) {
10529 #if FW_OBJECT_NAMES == 1 10530 const char* _formatString =
10531 "(%s) %s: File data PDU with unsupported segment metadata received";
10533 const char* _formatString =
10534 "%s: File data PDU with unsupported segment metadata received";
10538 (void) _logString.
format(
10541 this->m_objName.toChar(),
10543 "FileDataSegmentMetadata " 10546 this->logTextOut_out(
10563 this->timeCaller_out(0, _logTime);
10573 #if FW_AMPCS_COMPATIBLE 10578 static_cast<FwAssertArgType>(_status)
10582 #if FW_AMPCS_COMPATIBLE 10585 static_cast<U8>(
sizeof(U32))
10589 static_cast<FwAssertArgType>(_status)
10595 static_cast<FwAssertArgType>(_status)
10608 #if FW_ENABLE_TEXT_LOGGING 10609 if (this->isConnected_logTextOut_OutputPort(0)) {
10610 #if FW_OBJECT_NAMES == 1 10611 const char* _formatString =
10612 "(%s) %s: Cannot get chunklist, abandoning transaction %" PRIu32
"";
10614 const char* _formatString =
10615 "%s: Cannot get chunklist, abandoning transaction %" PRIu32
"";
10619 (void) _logString.
format(
10622 this->m_objName.toChar(),
10624 "ChunklistUnavailable ",
10628 this->logTextOut_out(
10645 this->timeCaller_out(0, _logTime);
10654 #if FW_AMPCS_COMPATIBLE 10660 static_cast<FwAssertArgType>(_status)
10674 #if FW_ENABLE_TEXT_LOGGING 10675 if (this->isConnected_logTextOut_OutputPort(0)) {
10676 #if FW_OBJECT_NAMES == 1 10677 const char* _formatString =
10678 "(%s) %s: Unhandled PDU type received in idle state";
10680 const char* _formatString =
10681 "%s: Unhandled PDU type received in idle state";
10685 (void) _logString.
format(
10688 this->m_objName.toChar(),
10690 "UnhandledPduInIdleState " 10693 this->logTextOut_out(
10713 this->timeCaller_out(0, _logTime);
10723 #if FW_AMPCS_COMPATIBLE 10728 static_cast<FwAssertArgType>(_status)
10732 #if FW_AMPCS_COMPATIBLE 10735 static_cast<U8>(
sizeof(U32))
10739 static_cast<FwAssertArgType>(_status)
10745 static_cast<FwAssertArgType>(_status)
10748 #if FW_AMPCS_COMPATIBLE 10751 static_cast<U8>(
sizeof(U32))
10755 static_cast<FwAssertArgType>(_status)
10761 static_cast<FwAssertArgType>(_status)
10774 #if FW_ENABLE_TEXT_LOGGING 10775 if (this->isConnected_logTextOut_OutputPort(0)) {
10776 #if FW_OBJECT_NAMES == 1 10777 const char* _formatString =
10778 "(%s) %s: Dropping packet from %" PRIu32
" transaction %" PRIu32
" due to max RX transactions reached";
10780 const char* _formatString =
10781 "%s: Dropping packet from %" PRIu32
" transaction %" PRIu32
" due to max RX transactions reached";
10785 (void) _logString.
format(
10788 this->m_objName.toChar(),
10790 "RxTransactionLimitReached ",
10795 this->logTextOut_out(
10812 this->timeCaller_out(0, _logTime);
10822 #if FW_AMPCS_COMPATIBLE 10827 static_cast<FwAssertArgType>(_status)
10831 #if FW_AMPCS_COMPATIBLE 10834 static_cast<U8>(
sizeof(U32))
10838 static_cast<FwAssertArgType>(_status)
10844 static_cast<FwAssertArgType>(_status)
10857 #if FW_ENABLE_TEXT_LOGGING 10858 if (this->isConnected_logTextOut_OutputPort(0)) {
10859 #if FW_OBJECT_NAMES == 1 10860 const char* _formatString =
10861 "(%s) %s: Dropping packet for invalid destination EID %" PRIu32
"";
10863 const char* _formatString =
10864 "%s: Dropping packet for invalid destination EID %" PRIu32
"";
10868 (void) _logString.
format(
10871 this->m_objName.toChar(),
10873 "InvalidDestinationEid ",
10877 this->logTextOut_out(
10894 this->timeCaller_out(0, _logTime);
10903 #if FW_AMPCS_COMPATIBLE 10909 static_cast<FwAssertArgType>(_status)
10923 #if FW_ENABLE_TEXT_LOGGING 10924 if (this->isConnected_logTextOut_OutputPort(0)) {
10925 #if FW_OBJECT_NAMES == 1 10926 const char* _formatString =
10927 "(%s) %s: Maximum number of commanded TX files reached";
10929 const char* _formatString =
10930 "%s: Maximum number of commanded TX files reached";
10934 (void) _logString.
format(
10937 this->m_objName.toChar(),
10939 "MaxTxTransactionsReached " 10942 this->logTextOut_out(
10962 this->timeCaller_out(0, _logTime);
10972 #if FW_AMPCS_COMPATIBLE 10977 static_cast<FwAssertArgType>(_status)
10987 static_cast<FwAssertArgType>(_status)
10990 #if FW_AMPCS_COMPATIBLE 10993 static_cast<U8>(
sizeof(I32))
10997 static_cast<FwAssertArgType>(_status)
11003 static_cast<FwAssertArgType>(_status)
11016 #if FW_ENABLE_TEXT_LOGGING 11017 if (this->isConnected_logTextOut_OutputPort(0)) {
11018 #if FW_OBJECT_NAMES == 1 11019 const char* _formatString =
11020 "(%s) %s: Failed to open playback directory %s, error=%" PRIi32
"";
11022 const char* _formatString =
11023 "%s: Failed to open playback directory %s, error=%" PRIi32
"";
11027 (void) _logString.
format(
11030 this->m_objName.toChar(),
11032 "PlaybackDirOpenFailed ",
11037 this->logTextOut_out(
11054 this->timeCaller_out(0, _logTime);
11063 #if FW_AMPCS_COMPATIBLE 11069 static_cast<FwAssertArgType>(_status)
11083 #if FW_ENABLE_TEXT_LOGGING 11084 if (this->isConnected_logTextOut_OutputPort(0)) {
11085 #if FW_OBJECT_NAMES == 1 11086 const char* _formatString =
11087 "(%s) %s: No playback directory slot available";
11089 const char* _formatString =
11090 "%s: No playback directory slot available";
11094 (void) _logString.
format(
11097 this->m_objName.toChar(),
11099 "PlaybackDirSlotUnavailable " 11102 this->logTextOut_out(
11122 this->timeCaller_out(0, _logTime);
11132 #if FW_AMPCS_COMPATIBLE 11137 static_cast<FwAssertArgType>(_status)
11141 #if FW_AMPCS_COMPATIBLE 11144 static_cast<U8>(
sizeof(
U8))
11148 static_cast<FwAssertArgType>(_status)
11154 static_cast<FwAssertArgType>(_status)
11157 #if FW_AMPCS_COMPATIBLE 11160 static_cast<U8>(
sizeof(U32))
11164 static_cast<FwAssertArgType>(_status)
11170 static_cast<FwAssertArgType>(_status)
11183 #if FW_ENABLE_TEXT_LOGGING 11184 if (this->isConnected_logTextOut_OutputPort(0)) {
11185 #if FW_OBJECT_NAMES == 1 11186 const char* _formatString =
11187 "(%s) %s: Closed dangling file handle for channel %" PRIu8
" transaction %" PRIu32
"";
11189 const char* _formatString =
11190 "%s: Closed dangling file handle for channel %" PRIu8
" transaction %" PRIu32
"";
11194 (void) _logString.
format(
11197 this->m_objName.toChar(),
11199 "DanglingFileHandleClosed ",
11204 this->logTextOut_out(
11224 this->timeCaller_out(0, _logTime);
11234 #if FW_AMPCS_COMPATIBLE 11239 static_cast<FwAssertArgType>(_status)
11249 static_cast<FwAssertArgType>(_status)
11252 #if FW_AMPCS_COMPATIBLE 11255 static_cast<U8>(
sizeof(I32))
11259 static_cast<FwAssertArgType>(_status)
11265 static_cast<FwAssertArgType>(_status)
11278 #if FW_ENABLE_TEXT_LOGGING 11279 if (this->isConnected_logTextOut_OutputPort(0)) {
11280 #if FW_OBJECT_NAMES == 1 11281 const char* _formatString =
11282 "(%s) %s: Failed to read from playback directory %s, error=%" PRIi32
"";
11284 const char* _formatString =
11285 "%s: Failed to read from playback directory %s, error=%" PRIi32
"";
11289 (void) _logString.
format(
11292 this->m_objName.toChar(),
11294 "PlaybackDirReadFailed ",
11299 this->logTextOut_out(
11316 this->timeCaller_out(0, _logTime);
11325 #if FW_AMPCS_COMPATIBLE 11331 static_cast<FwAssertArgType>(_status)
11345 #if FW_ENABLE_TEXT_LOGGING 11346 if (this->isConnected_logTextOut_OutputPort(0)) {
11347 #if FW_OBJECT_NAMES == 1 11348 const char* _formatString =
11349 "(%s) %s: Attempt to reset a transaction that has already been freed";
11351 const char* _formatString =
11352 "%s: Attempt to reset a transaction that has already been freed";
11356 (void) _logString.
format(
11359 this->m_objName.toChar(),
11361 "ResetFreedTransaction " 11364 this->logTextOut_out(
11384 this->timeCaller_out(0, _logTime);
11394 #if FW_AMPCS_COMPATIBLE 11399 static_cast<FwAssertArgType>(_status)
11409 static_cast<FwAssertArgType>(_status)
11412 #if FW_AMPCS_COMPATIBLE 11415 static_cast<U8>(
sizeof(I32))
11419 static_cast<FwAssertArgType>(_status)
11425 static_cast<FwAssertArgType>(_status)
11438 #if FW_ENABLE_TEXT_LOGGING 11439 if (this->isConnected_logTextOut_OutputPort(0)) {
11440 #if FW_OBJECT_NAMES == 1 11441 const char* _formatString =
11442 "(%s) %s: Failed to remove file %s, error=%" PRIi32
"";
11444 const char* _formatString =
11445 "%s: Failed to remove file %s, error=%" PRIi32
"";
11449 (void) _logString.
format(
11452 this->m_objName.toChar(),
11454 "FileRemoveFailed ",
11459 this->logTextOut_out(
11479 this->timeCaller_out(0, _logTime);
11489 #if FW_AMPCS_COMPATIBLE 11494 static_cast<FwAssertArgType>(_status)
11498 #if FW_AMPCS_COMPATIBLE 11505 static_cast<FwAssertArgType>(_status)
11511 static_cast<FwAssertArgType>(_status)
11514 #if FW_AMPCS_COMPATIBLE 11521 static_cast<FwAssertArgType>(_status)
11527 static_cast<FwAssertArgType>(_status)
11540 #if FW_ENABLE_TEXT_LOGGING 11541 if (this->isConnected_logTextOut_OutputPort(0)) {
11542 #if FW_OBJECT_NAMES == 1 11543 const char* _formatString =
11544 "(%s) %s: Transaction (%" PRIu32
", %" PRIu32
") suspended";
11546 const char* _formatString =
11547 "%s: Transaction (%" PRIu32
", %" PRIu32
") suspended";
11551 (void) _logString.
format(
11554 this->m_objName.toChar(),
11556 "TransactionSuspended ",
11561 this->logTextOut_out(
11581 this->timeCaller_out(0, _logTime);
11591 #if FW_AMPCS_COMPATIBLE 11596 static_cast<FwAssertArgType>(_status)
11600 #if FW_AMPCS_COMPATIBLE 11607 static_cast<FwAssertArgType>(_status)
11613 static_cast<FwAssertArgType>(_status)
11616 #if FW_AMPCS_COMPATIBLE 11623 static_cast<FwAssertArgType>(_status)
11629 static_cast<FwAssertArgType>(_status)
11642 #if FW_ENABLE_TEXT_LOGGING 11643 if (this->isConnected_logTextOut_OutputPort(0)) {
11644 #if FW_OBJECT_NAMES == 1 11645 const char* _formatString =
11646 "(%s) %s: Transaction (%" PRIu32
", %" PRIu32
") resumed";
11648 const char* _formatString =
11649 "%s: Transaction (%" PRIu32
", %" PRIu32
") resumed";
11653 (void) _logString.
format(
11656 this->m_objName.toChar(),
11658 "TransactionResumed ",
11663 this->logTextOut_out(
11683 this->timeCaller_out(0, _logTime);
11693 #if FW_AMPCS_COMPATIBLE 11698 static_cast<FwAssertArgType>(_status)
11702 #if FW_AMPCS_COMPATIBLE 11709 static_cast<FwAssertArgType>(_status)
11715 static_cast<FwAssertArgType>(_status)
11718 #if FW_AMPCS_COMPATIBLE 11725 static_cast<FwAssertArgType>(_status)
11731 static_cast<FwAssertArgType>(_status)
11744 #if FW_ENABLE_TEXT_LOGGING 11745 if (this->isConnected_logTextOut_OutputPort(0)) {
11746 #if FW_OBJECT_NAMES == 1 11747 const char* _formatString =
11748 "(%s) %s: Transaction (%" PRIu32
", %" PRIu32
") canceled";
11750 const char* _formatString =
11751 "%s: Transaction (%" PRIu32
", %" PRIu32
") canceled";
11755 (void) _logString.
format(
11758 this->m_objName.toChar(),
11760 "TransactionCanceled ",
11765 this->logTextOut_out(
11785 this->timeCaller_out(0, _logTime);
11795 #if FW_AMPCS_COMPATIBLE 11800 static_cast<FwAssertArgType>(_status)
11804 #if FW_AMPCS_COMPATIBLE 11811 static_cast<FwAssertArgType>(_status)
11817 static_cast<FwAssertArgType>(_status)
11820 #if FW_AMPCS_COMPATIBLE 11827 static_cast<FwAssertArgType>(_status)
11833 static_cast<FwAssertArgType>(_status)
11846 #if FW_ENABLE_TEXT_LOGGING 11847 if (this->isConnected_logTextOut_OutputPort(0)) {
11848 #if FW_OBJECT_NAMES == 1 11849 const char* _formatString =
11850 "(%s) %s: Transaction (%" PRIu32
", %" PRIu32
") abandoned";
11852 const char* _formatString =
11853 "%s: Transaction (%" PRIu32
", %" PRIu32
") abandoned";
11857 (void) _logString.
format(
11860 this->m_objName.toChar(),
11862 "TransactionAbandoned ",
11867 this->logTextOut_out(
11887 this->timeCaller_out(0, _logTime);
11897 #if FW_AMPCS_COMPATIBLE 11902 static_cast<FwAssertArgType>(_status)
11906 #if FW_AMPCS_COMPATIBLE 11913 static_cast<FwAssertArgType>(_status)
11919 static_cast<FwAssertArgType>(_status)
11922 #if FW_AMPCS_COMPATIBLE 11929 static_cast<FwAssertArgType>(_status)
11935 static_cast<FwAssertArgType>(_status)
11948 #if FW_ENABLE_TEXT_LOGGING 11949 if (this->isConnected_logTextOut_OutputPort(0)) {
11950 #if FW_OBJECT_NAMES == 1 11951 const char* _formatString =
11952 "(%s) %s: Transaction (%" PRIu32
", %" PRIu32
") not found";
11954 const char* _formatString =
11955 "%s: Transaction (%" PRIu32
", %" PRIu32
") not found";
11959 (void) _logString.
format(
11962 this->m_objName.toChar(),
11964 "TransactionNotFound ",
11969 this->logTextOut_out(
11986 this->timeCaller_out(0, _logTime);
11996 #if FW_AMPCS_COMPATIBLE 12001 static_cast<FwAssertArgType>(_status)
12005 #if FW_AMPCS_COMPATIBLE 12008 static_cast<U8>(
sizeof(
U8))
12012 static_cast<FwAssertArgType>(_status)
12018 static_cast<FwAssertArgType>(_status)
12031 #if FW_ENABLE_TEXT_LOGGING 12032 if (this->isConnected_logTextOut_OutputPort(0)) {
12033 #if FW_OBJECT_NAMES == 1 12034 const char* _formatString =
12035 "(%s) %s: Reset telemetry counters for channel %" PRIu8
"";
12037 const char* _formatString =
12038 "%s: Reset telemetry counters for channel %" PRIu8
"";
12042 (void) _logString.
format(
12045 this->m_objName.toChar(),
12051 this->logTextOut_out(
12071 this->timeCaller_out(0, _logTime);
12081 #if FW_AMPCS_COMPATIBLE 12086 static_cast<FwAssertArgType>(_status)
12090 #if FW_AMPCS_COMPATIBLE 12097 static_cast<FwAssertArgType>(_status)
12103 static_cast<FwAssertArgType>(_status)
12106 #if FW_AMPCS_COMPATIBLE 12113 static_cast<FwAssertArgType>(_status)
12119 static_cast<FwAssertArgType>(_status)
12132 #if FW_ENABLE_TEXT_LOGGING 12133 if (this->isConnected_logTextOut_OutputPort(0)) {
12134 #if FW_OBJECT_NAMES == 1 12135 const char* _formatString =
12136 "(%s) %s: Acknowledged late FIN for transaction %" PRIu32
":%" PRIu32
"";
12138 const char* _formatString =
12139 "%s: Acknowledged late FIN for transaction %" PRIu32
":%" PRIu32
"";
12143 (void) _logString.
format(
12146 this->m_objName.toChar(),
12153 this->logTextOut_out(
12180 this->timeCaller_out(0, _tlmTime);
12210 static_cast<FwAssertArgType>(_stat)
12228 if (not this->m_first_update_PRM_LOCAL_EID) {
12230 if (arg == this->m_last_PRM_LOCAL_EID) {
12234 this->m_last_PRM_LOCAL_EID = arg;
12238 this->m_first_update_PRM_LOCAL_EID =
false;
12239 this->m_last_PRM_LOCAL_EID = arg;
12247 static_cast<FwAssertArgType>(_stat)
12265 if (not this->m_first_update_PRM_OUTGOING_FILE_CHUNK_SIZE) {
12267 if (arg == this->m_last_PRM_OUTGOING_FILE_CHUNK_SIZE) {
12271 this->m_last_PRM_OUTGOING_FILE_CHUNK_SIZE = arg;
12275 this->m_first_update_PRM_OUTGOING_FILE_CHUNK_SIZE =
false;
12276 this->m_last_PRM_OUTGOING_FILE_CHUNK_SIZE = arg;
12284 static_cast<FwAssertArgType>(_stat)
12302 if (not this->m_first_update_PRM_RX_CRC_CALC_BYTES_PER_CYCLE) {
12304 if (arg == this->m_last_PRM_RX_CRC_CALC_BYTES_PER_CYCLE) {
12308 this->m_last_PRM_RX_CRC_CALC_BYTES_PER_CYCLE = arg;
12312 this->m_first_update_PRM_RX_CRC_CALC_BYTES_PER_CYCLE =
false;
12313 this->m_last_PRM_RX_CRC_CALC_BYTES_PER_CYCLE = arg;
12321 static_cast<FwAssertArgType>(_stat)
12339 if (not this->m_first_update_PRM_POST_INACTIVITY_SEND_RETRIES) {
12341 if (arg == this->m_last_PRM_POST_INACTIVITY_SEND_RETRIES) {
12345 this->m_last_PRM_POST_INACTIVITY_SEND_RETRIES = arg;
12349 this->m_first_update_PRM_POST_INACTIVITY_SEND_RETRIES =
false;
12350 this->m_last_PRM_POST_INACTIVITY_SEND_RETRIES = arg;
12358 static_cast<FwAssertArgType>(_stat)
12376 if (not this->m_first_update_PRM_FILE_IN_DEFAULT_CHANNEL) {
12378 if (arg == this->m_last_PRM_FILE_IN_DEFAULT_CHANNEL) {
12382 this->m_last_PRM_FILE_IN_DEFAULT_CHANNEL = arg;
12386 this->m_first_update_PRM_FILE_IN_DEFAULT_CHANNEL =
false;
12387 this->m_last_PRM_FILE_IN_DEFAULT_CHANNEL = arg;
12395 static_cast<FwAssertArgType>(_stat)
12413 if (not this->m_first_update_PRM_FILE_IN_DEFAULT_DEST_ENTITY_ID) {
12415 if (arg == this->m_last_PRM_FILE_IN_DEFAULT_DEST_ENTITY_ID) {
12419 this->m_last_PRM_FILE_IN_DEFAULT_DEST_ENTITY_ID = arg;
12423 this->m_first_update_PRM_FILE_IN_DEFAULT_DEST_ENTITY_ID =
false;
12424 this->m_last_PRM_FILE_IN_DEFAULT_DEST_ENTITY_ID = arg;
12432 static_cast<FwAssertArgType>(_stat)
12450 if (not this->m_first_update_PRM_FILE_IN_DEFAULT_CLASS) {
12452 if (arg == this->m_last_PRM_FILE_IN_DEFAULT_CLASS) {
12456 this->m_last_PRM_FILE_IN_DEFAULT_CLASS = arg;
12460 this->m_first_update_PRM_FILE_IN_DEFAULT_CLASS =
false;
12461 this->m_last_PRM_FILE_IN_DEFAULT_CLASS = arg;
12469 static_cast<FwAssertArgType>(_stat)
12487 if (not this->m_first_update_PRM_FILE_IN_DEFAULT_KEEP) {
12489 if (arg == this->m_last_PRM_FILE_IN_DEFAULT_KEEP) {
12493 this->m_last_PRM_FILE_IN_DEFAULT_KEEP = arg;
12497 this->m_first_update_PRM_FILE_IN_DEFAULT_KEEP =
false;
12498 this->m_last_PRM_FILE_IN_DEFAULT_KEEP = arg;
12506 static_cast<FwAssertArgType>(_stat)
12524 if (not this->m_first_update_PRM_FILE_IN_DEFAULT_PRIORITY) {
12526 if (arg == this->m_last_PRM_FILE_IN_DEFAULT_PRIORITY) {
12530 this->m_last_PRM_FILE_IN_DEFAULT_PRIORITY = arg;
12534 this->m_first_update_PRM_FILE_IN_DEFAULT_PRIORITY =
false;
12535 this->m_last_PRM_FILE_IN_DEFAULT_PRIORITY = arg;
12543 static_cast<FwAssertArgType>(_stat)
12561 if (not this->m_first_update_PRM_CHANNEL_CONFIG) {
12563 if (arg == this->m_last_PRM_CHANNEL_CONFIG) {
12567 this->m_last_PRM_CHANNEL_CONFIG = arg;
12571 this->m_first_update_PRM_CHANNEL_CONFIG =
false;
12572 this->m_last_PRM_CHANNEL_CONFIG = arg;
12580 static_cast<FwAssertArgType>(_stat)
12626 this->m_paramLock.
lock();
12627 valid = this->m_param_LocalEid_valid;
12629 _local = this->m_LocalEid;
12631 this->m_paramLock.
unlock();
12639 this->m_paramLock.
lock();
12640 valid = this->m_param_OutgoingFileChunkSize_valid;
12642 _local = this->m_OutgoingFileChunkSize;
12644 this->m_paramLock.
unlock();
12652 this->m_paramLock.
lock();
12653 valid = this->m_param_RxCrcCalcBytesPerCycle_valid;
12655 _local = this->m_RxCrcCalcBytesPerCycle;
12657 this->m_paramLock.
unlock();
12665 this->m_paramLock.
lock();
12666 valid = this->m_param_PostInactivitySendRetries_valid;
12668 _local = this->m_PostInactivitySendRetries;
12670 this->m_paramLock.
unlock();
12678 this->m_paramLock.
lock();
12679 valid = this->m_param_FileInDefaultChannel_valid;
12681 _local = this->m_FileInDefaultChannel;
12683 this->m_paramLock.
unlock();
12691 this->m_paramLock.
lock();
12692 valid = this->m_param_FileInDefaultDestEntityId_valid;
12694 _local = this->m_FileInDefaultDestEntityId;
12696 this->m_paramLock.
unlock();
12704 this->m_paramLock.
lock();
12705 valid = this->m_param_FileInDefaultClass_valid;
12707 _local = this->m_FileInDefaultClass;
12709 this->m_paramLock.
unlock();
12717 this->m_paramLock.
lock();
12718 valid = this->m_param_FileInDefaultKeep_valid;
12720 _local = this->m_FileInDefaultKeep;
12722 this->m_paramLock.
unlock();
12730 this->m_paramLock.
lock();
12731 valid = this->m_param_FileInDefaultPriority_valid;
12733 _local = this->m_FileInDefaultPriority;
12735 this->m_paramLock.
unlock();
12743 this->m_paramLock.
lock();
12744 valid = this->m_param_ChannelConfig_valid;
12746 _local = this->m_ChannelConfig;
12748 this->m_paramLock.
unlock();
12761 this->timeCaller_out(0, _time);
12779 this->m_guardedPortMutex.
lock();
12785 this->m_guardedPortMutex.
unLock();
12795 ComponentIpcSerializableBuffer _msg;
12805 static_cast<FwAssertArgType>(_msgStatus)
12815 static_cast<FwAssertArgType>(_deserStatus)
12818 MsgTypeEnum _msgType =
static_cast<MsgTypeEnum
>(_desMsg);
12820 if (_msgType == CFDPMANAGER_COMPONENT_EXIT) {
12825 _deserStatus = _msg.deserializeTo(portNum);
12828 static_cast<FwAssertArgType>(_deserStatus)
12831 switch (_msgType) {
12833 case DATAIN_BUFFERSEND: {
12836 _deserStatus = _msg.deserializeTo(fwBuffer);
12839 static_cast<FwAssertArgType>(_deserStatus)
12851 case DATARETURNIN_BUFFERSEND: {
12854 _deserStatus = _msg.deserializeTo(fwBuffer);
12857 static_cast<FwAssertArgType>(_deserStatus)
12869 case PINGIN_PING: {
12872 _deserStatus = _msg.deserializeTo(key);
12875 static_cast<FwAssertArgType>(_deserStatus)
12887 case RUN1HZ_SCHED: {
12890 _deserStatus = _msg.deserializeTo(context);
12893 static_cast<FwAssertArgType>(_deserStatus)
12905 case CMD_SENDFILE: {
12908 _deserStatus = _msg.deserializeTo(_opCode);
12911 static_cast<FwAssertArgType>(_deserStatus)
12916 _deserStatus = _msg.deserializeTo(_cmdSeq);
12919 static_cast<FwAssertArgType>(_deserStatus)
12924 _deserStatus = _msg.deserializeTo(args);
12927 static_cast<FwAssertArgType>(_deserStatus)
13040 #if FW_CMD_CHECK_RESIDUAL 13066 case CMD_PLAYBACKDIRECTORY: {
13069 _deserStatus = _msg.deserializeTo(_opCode);
13072 static_cast<FwAssertArgType>(_deserStatus)
13077 _deserStatus = _msg.deserializeTo(_cmdSeq);
13080 static_cast<FwAssertArgType>(_deserStatus)
13085 _deserStatus = _msg.deserializeTo(args);
13088 static_cast<FwAssertArgType>(_deserStatus)
13201 #if FW_CMD_CHECK_RESIDUAL 13227 case CMD_POLLDIRECTORY: {
13230 _deserStatus = _msg.deserializeTo(_opCode);
13233 static_cast<FwAssertArgType>(_deserStatus)
13238 _deserStatus = _msg.deserializeTo(_cmdSeq);
13241 static_cast<FwAssertArgType>(_deserStatus)
13246 _deserStatus = _msg.deserializeTo(args);
13249 static_cast<FwAssertArgType>(_deserStatus)
13377 #if FW_CMD_CHECK_RESIDUAL 13404 case CMD_STOPPOLLDIRECTORY: {
13407 _deserStatus = _msg.deserializeTo(_opCode);
13410 static_cast<FwAssertArgType>(_deserStatus)
13415 _deserStatus = _msg.deserializeTo(_cmdSeq);
13418 static_cast<FwAssertArgType>(_deserStatus)
13423 _deserStatus = _msg.deserializeTo(args);
13426 static_cast<FwAssertArgType>(_deserStatus)
13464 #if FW_CMD_CHECK_RESIDUAL 13485 case CMD_SETCHANNELFLOW: {
13488 _deserStatus = _msg.deserializeTo(_opCode);
13491 static_cast<FwAssertArgType>(_deserStatus)
13496 _deserStatus = _msg.deserializeTo(_cmdSeq);
13499 static_cast<FwAssertArgType>(_deserStatus)
13504 _deserStatus = _msg.deserializeTo(args);
13507 static_cast<FwAssertArgType>(_deserStatus)
13545 #if FW_CMD_CHECK_RESIDUAL 13566 case CMD_SUSPENDRESUMETRANSACTION: {
13569 _deserStatus = _msg.deserializeTo(_opCode);
13572 static_cast<FwAssertArgType>(_deserStatus)
13577 _deserStatus = _msg.deserializeTo(_cmdSeq);
13580 static_cast<FwAssertArgType>(_deserStatus)
13585 _deserStatus = _msg.deserializeTo(args);
13588 static_cast<FwAssertArgType>(_deserStatus)
13656 #if FW_CMD_CHECK_RESIDUAL 13679 case CMD_CANCELTRANSACTION: {
13682 _deserStatus = _msg.deserializeTo(_opCode);
13685 static_cast<FwAssertArgType>(_deserStatus)
13690 _deserStatus = _msg.deserializeTo(_cmdSeq);
13693 static_cast<FwAssertArgType>(_deserStatus)
13698 _deserStatus = _msg.deserializeTo(args);
13701 static_cast<FwAssertArgType>(_deserStatus)
13754 #if FW_CMD_CHECK_RESIDUAL 13776 case CMD_ABANDONTRANSACTION: {
13779 _deserStatus = _msg.deserializeTo(_opCode);
13782 static_cast<FwAssertArgType>(_deserStatus)
13787 _deserStatus = _msg.deserializeTo(_cmdSeq);
13790 static_cast<FwAssertArgType>(_deserStatus)
13795 _deserStatus = _msg.deserializeTo(args);
13798 static_cast<FwAssertArgType>(_deserStatus)
13851 #if FW_CMD_CHECK_RESIDUAL 13873 case CMD_RESETCOUNTERS: {
13876 _deserStatus = _msg.deserializeTo(_opCode);
13879 static_cast<FwAssertArgType>(_deserStatus)
13884 _deserStatus = _msg.deserializeTo(_cmdSeq);
13887 static_cast<FwAssertArgType>(_deserStatus)
13892 _deserStatus = _msg.deserializeTo(args);
13895 static_cast<FwAssertArgType>(_deserStatus)
13918 #if FW_CMD_CHECK_RESIDUAL 13948 void CfdpManagerComponentBase ::
13959 compPtr->cmdIn_handlerBase(
13971 void CfdpManagerComponentBase ::
13980 compPtr->dataIn_handlerBase(
13986 void CfdpManagerComponentBase ::
13987 m_p_dataReturnIn_in(
13995 compPtr->dataReturnIn_handlerBase(
14013 return compPtr->fileIn_handlerBase(
14022 void CfdpManagerComponentBase ::
14031 compPtr->pingIn_handlerBase(
14037 void CfdpManagerComponentBase ::
14046 compPtr->run1Hz_handlerBase(
14052 #if !FW_DIRECT_PORT_CALLS 14058 void CfdpManagerComponentBase ::
14066 static_cast<FwAssertArgType>(portNum)
14070 this->m_cmdRegOut_OutputPort[portNum].isConnected(),
14071 static_cast<FwAssertArgType>(portNum)
14073 this->m_cmdRegOut_OutputPort[portNum].
invoke(
14078 void CfdpManagerComponentBase ::
14079 cmdResponseOut_out(
14088 static_cast<FwAssertArgType>(portNum)
14092 this->m_cmdResponseOut_OutputPort[portNum].isConnected(),
14093 static_cast<FwAssertArgType>(portNum)
14095 this->m_cmdResponseOut_OutputPort[portNum].
invoke(
14102 void CfdpManagerComponentBase ::
14113 static_cast<FwAssertArgType>(portNum)
14117 this->m_logOut_OutputPort[portNum].isConnected(),
14118 static_cast<FwAssertArgType>(portNum)
14120 this->m_logOut_OutputPort[portNum].
invoke(
14128 #if FW_ENABLE_TEXT_LOGGING 14130 void CfdpManagerComponentBase ::
14140 (0 <= portNum) && (portNum < this->getNum_logTextOut_OutputPorts()),
14141 static_cast<FwAssertArgType>(portNum)
14145 this->m_logTextOut_OutputPort[portNum].isConnected(),
14146 static_cast<FwAssertArgType>(portNum)
14148 this->m_logTextOut_OutputPort[portNum].invoke(
14167 static_cast<FwAssertArgType>(portNum)
14171 this->m_prmGetOut_OutputPort[portNum].isConnected(),
14172 static_cast<FwAssertArgType>(portNum)
14174 return this->m_prmGetOut_OutputPort[portNum].
invoke(
14180 void CfdpManagerComponentBase ::
14189 static_cast<FwAssertArgType>(portNum)
14193 this->m_prmSetOut_OutputPort[portNum].isConnected(),
14194 static_cast<FwAssertArgType>(portNum)
14196 this->m_prmSetOut_OutputPort[portNum].
invoke(
14202 void CfdpManagerComponentBase ::
14210 static_cast<FwAssertArgType>(portNum)
14214 this->m_timeCaller_OutputPort[portNum].isConnected(),
14215 static_cast<FwAssertArgType>(portNum)
14217 this->m_timeCaller_OutputPort[portNum].
invoke(
14222 void CfdpManagerComponentBase ::
14232 static_cast<FwAssertArgType>(portNum)
14236 this->m_tlmOut_OutputPort[portNum].isConnected(),
14237 static_cast<FwAssertArgType>(portNum)
14239 this->m_tlmOut_OutputPort[portNum].
invoke(
14262 this->m_paramLock.
lock();
14263 this->m_LocalEid = _localVal;
14265 this->m_paramLock.
unlock();
14282 this->m_paramLock.
lock();
14283 this->m_OutgoingFileChunkSize = _localVal;
14285 this->m_paramLock.
unlock();
14302 this->m_paramLock.
lock();
14303 this->m_RxCrcCalcBytesPerCycle = _localVal;
14305 this->m_paramLock.
unlock();
14322 this->m_paramLock.
lock();
14323 this->m_PostInactivitySendRetries = _localVal;
14325 this->m_paramLock.
unlock();
14342 this->m_paramLock.
lock();
14343 this->m_FileInDefaultChannel = _localVal;
14345 this->m_paramLock.
unlock();
14362 this->m_paramLock.
lock();
14363 this->m_FileInDefaultDestEntityId = _localVal;
14365 this->m_paramLock.
unlock();
14382 this->m_paramLock.
lock();
14383 this->m_FileInDefaultClass = _localVal;
14385 this->m_paramLock.
unlock();
14402 this->m_paramLock.
lock();
14403 this->m_FileInDefaultKeep = _localVal;
14405 this->m_paramLock.
unlock();
14422 this->m_paramLock.
lock();
14423 this->m_FileInDefaultPriority = _localVal;
14425 this->m_paramLock.
unlock();
14442 this->m_paramLock.
lock();
14443 this->m_ChannelConfig = _localVal;
14445 this->m_paramLock.
unlock();
14457 paramSave_LocalEid()
14466 this->m_paramLock.
lock();
14470 this->m_paramLock.
unlock();
14475 this->prmSetOut_out(
14485 paramSave_OutgoingFileChunkSize()
14494 this->m_paramLock.
lock();
14496 _stat = _paramBuffer.
serializeFrom(m_OutgoingFileChunkSize);
14498 this->m_paramLock.
unlock();
14503 this->prmSetOut_out(
14513 paramSave_RxCrcCalcBytesPerCycle()
14522 this->m_paramLock.
lock();
14524 _stat = _paramBuffer.
serializeFrom(m_RxCrcCalcBytesPerCycle);
14526 this->m_paramLock.
unlock();
14531 this->prmSetOut_out(
14541 paramSave_PostInactivitySendRetries()
14550 this->m_paramLock.
lock();
14552 _stat = _paramBuffer.
serializeFrom(m_PostInactivitySendRetries);
14554 this->m_paramLock.
unlock();
14559 this->prmSetOut_out(
14569 paramSave_FileInDefaultChannel()
14578 this->m_paramLock.
lock();
14580 _stat = _paramBuffer.
serializeFrom(m_FileInDefaultChannel);
14582 this->m_paramLock.
unlock();
14587 this->prmSetOut_out(
14597 paramSave_FileInDefaultDestEntityId()
14606 this->m_paramLock.
lock();
14608 _stat = _paramBuffer.
serializeFrom(m_FileInDefaultDestEntityId);
14610 this->m_paramLock.
unlock();
14615 this->prmSetOut_out(
14625 paramSave_FileInDefaultClass()
14634 this->m_paramLock.
lock();
14638 this->m_paramLock.
unlock();
14643 this->prmSetOut_out(
14653 paramSave_FileInDefaultKeep()
14662 this->m_paramLock.
lock();
14666 this->m_paramLock.
unlock();
14671 this->prmSetOut_out(
14681 paramSave_FileInDefaultPriority()
14690 this->m_paramLock.
lock();
14692 _stat = _paramBuffer.
serializeFrom(m_FileInDefaultPriority);
14694 this->m_paramLock.
unlock();
14699 this->prmSetOut_out(
14709 paramSave_ChannelConfig()
14718 this->m_paramLock.
lock();
14722 this->m_paramLock.
unlock();
14727 this->prmSetOut_out(
U32 paramGet_OutgoingFileChunkSize(Fw::ParamValid &valid)
Serialization/Deserialization operation was successful.
void tlmWrite(FwChanIdType id, Fw::TlmBuffer &_tlmBuff, Fw::Time _tlmTime=Fw::Time()) const
void tlmWrite_PRM_FILE_IN_DEFAULT_CHANNEL(U8 arg, Fw::Time _tlmTime=Fw::Time())
Write telemetry channel PRM_FILE_IN_DEFAULT_CHANNEL.
Svc::Ccsds::Cfdp::Keep paramGet_FileInDefaultKeep(Fw::ParamValid &valid)
void dataReturnIn_handlerBase(FwIndexType portNum, Fw::Buffer &fwBuffer)
Handler base-class function for input port dataReturnIn.
void log_ACTIVITY_LO_TransactionResumed(Svc::Ccsds::Cfdp::TransactionSeq transactionSeq, Svc::Ccsds::Cfdp::EntityId entityId) const
void addCallPort(InputTimePort *callPort)
Register an input port.
Channel ID for PRM_FILE_IN_DEFAULT_PRIORITY.
static constexpr FwIndexType getNum_cmdResponseOut_OutputPorts()
virtual void run1Hz_preMsgHook(FwIndexType portNum, U32 context)
Pre-message hook for async input port run1Hz.
bool isConnected_prmGetOut_OutputPort(FwIndexType portNum) const
Command to set channel's flow status.
static constexpr FwSizeType CAPACITY
Enum used to determine if a file should be kept or deleted after a CFDP transaction.
virtual void run1Hz_handler(FwIndexType portNum, U32 context)=0
Handler for input port run1Hz.
void log_WARNING_LO_FailAckPduDeserialization(U8 channelId, I32 status) const
Log event FailAckPduDeserialization.
bool isConnected_cmdRegOut_OutputPort(FwIndexType portNum) const
static constexpr FwIndexType getNum_bufferDeallocate_OutputPorts()
void log_WARNING_LO_FailFileDataPduDeserialization(U8 channelId, I32 status) const
Log event FailFileDataPduDeserialization.
FwIdType FwOpcodeType
The type of a command opcode.
void log_WARNING_LO_TxFileSeekFailed(const Svc::Ccsds::Cfdp::Class &cfdpClass, U32 srcEid, U32 seqNum, I32 status) const
Log event TxFileSeekFailed.
void log_WARNING_LO_FailPollFileMove(const Fw::StringBase &srcFile, const Fw::StringBase &failDir, I32 status) const
Log event FailPollFileMove.
The size of the serial representation.
Opcode to set parameter FileInDefaultChannel.
void log_WARNING_LO_RxEofWithError(const Svc::Ccsds::Cfdp::Class &cfdpClass, U32 srcEid, U32 seqNum, U8 conditionCode) const
Log event RxEofWithError.
#define FW_PARAM_OK(paramValid)
FwIdType getIdBase() const
PlatformSizeType FwSizeType
void PlaybackDirectory_cmdHandlerBase(FwOpcodeType opCode, U32 cmdSeq, Fw::CmdArgBuffer &args)
Status receive(U8 *destination, FwSizeType capacity, BlockingType blockType, FwSizeType &actualSize, FwQueuePriorityType &priority) override
receive a message from the queue through delegate
void log_ACTIVITY_LO_RxTempFileCreated(const Svc::Ccsds::Cfdp::Class &cfdpClass, U32 srcEid, U32 seqNum, const Fw::StringBase &filename) const
Log event RxTempFileCreated.
virtual void dataReturnIn_handler(FwIndexType portNum, Fw::Buffer &fwBuffer)=0
Handler for input port dataReturnIn.
void regCommands()
Register commands with the Command Dispatcher.
void log_WARNING_LO_TxSendMetadataFailed(const Svc::Ccsds::Cfdp::Class &cfdpClass, U32 srcEid, U32 seqNum) const
Log event TxSendMetadataFailed.
Status
status returned from the queue send function
Svc::SendFileResponse fileIn_handlerBase(FwIndexType portNum, const Fw::StringBase &sourceFileName, const Fw::StringBase &destFileName, U32 offset, U32 length)
Handler base-class function for input port fileIn.
void pingOut_out(FwIndexType portNum, U32 key) const
Invoke output port pingOut.
virtual void CancelTransaction_preMsgHook(FwOpcodeType opCode, U32 cmdSeq)
Pre-message hook for command CancelTransaction.
Command to suspend or resume a transaction.
virtual Svc::SendFileResponse fileIn_handler(FwIndexType portNum, const Fw::StringBase &sourceFileName, const Fw::StringBase &destFileName, U32 offset, U32 length)=0
Handler for input port fileIn.
Channel ID for PRM_FILE_IN_DEFAULT_KEEP.
void set_dataOut_OutputPort(FwIndexType portNum, Fw::InputBufferSendPort *port)
Connect port to dataOut[portNum].
virtual void parametersLoaded()
Called whenever parameters are loaded.
void log_WARNING_LO_TxInactivityTimeout(const Svc::Ccsds::Cfdp::Class &cfdpClass, U32 srcEid, U32 seqNum) const
Log event TxInactivityTimeout.
U32 EntityId
Entity id size.
void log_ACTIVITY_LO_TransactionSuspended(Svc::Ccsds::Cfdp::TransactionSeq transactionSeq, Svc::Ccsds::Cfdp::EntityId entityId) const
void log_WARNING_LO_RxAckLimitReached(const Svc::Ccsds::Cfdp::Class &cfdpClass, U32 srcEid, U32 seqNum) const
Log event RxAckLimitReached.
void dataInReturn_out(FwIndexType portNum, Fw::Buffer &fwBuffer) const
Invoke output port dataInReturn.
BYTE pingInPortSize[Svc::PingPortBuffer::CAPACITY]
virtual void SetChannelFlow_cmdHandler(FwOpcodeType opCode, U32 cmdSeq, U8 channelId, const Svc::Ccsds::Cfdp::Flow &freeze)=0
bool isConnected_pingOut_OutputPort(FwIndexType portNum) const
void set_bufferDeallocate_OutputPort(FwIndexType portNum, Fw::InputBufferSendPort *port)
Connect port to bufferDeallocate[portNum].
static constexpr FwIndexType getNum_fileIn_InputPorts()
void tlmWrite_PRM_POST_INACTIVITY_SEND_RETRIES(U8 arg, Fw::Time _tlmTime=Fw::Time())
Write telemetry channel PRM_POST_INACTIVITY_SEND_RETRIES.
Transaction was suspended.
virtual void AbandonTransaction_cmdHandler(FwOpcodeType opCode, U32 cmdSeq, U8 channelId, Svc::Ccsds::Cfdp::TransactionSeq transactionSeq, Svc::Ccsds::Cfdp::EntityId entityId)=0
SerializeStatus deserializeTo(U8 &val, Endianness mode=Endianness::BIG) override
Deserialize an 8-bit unsigned integer value.
void set_prmGetOut_OutputPort(FwIndexType portNum, Fw::InputPrmGetPort *port)
Connect port to prmGetOut[portNum].
void log_WARNING_LO_InvalidDestinationEid(U32 destEid) const
Log event InvalidDestinationEid.
FwIdType FwPrmIdType
The type of a parameter identifier.
static constexpr FwSizeType CAPACITY
static constexpr FwIndexType getNum_dataInReturn_OutputPorts()
void log_WARNING_LO_TxAckLimitReached(const Svc::Ccsds::Cfdp::Class &cfdpClass, U32 srcEid, U32 seqNum) const
Log event TxAckLimitReached.
void log_WARNING_LO_RxSeekCrcFailed(const Svc::Ccsds::Cfdp::Class &cfdpClass, U32 srcEid, U32 seqNum, U32 offset, I32 status) const
Log event RxSeekCrcFailed.
Default file retention policy for fileIn port-initiated file transfers.
virtual void CancelTransaction_cmdHandler(FwOpcodeType opCode, U32 cmdSeq, U8 channelId, Svc::Ccsds::Cfdp::TransactionSeq transactionSeq, Svc::Ccsds::Cfdp::EntityId entityId)=0
void addCallPort(InputPrmSetPort *callPort)
Register an input port.
void log_WARNING_LO_TxFileTransferFailed(const Svc::Ccsds::Cfdp::Class &cfdpClass, U32 seqNum, U32 srcEid, const Fw::StringBase &srcFile, U32 destEid, const Fw::StringBase &destFile, U8 conditionCode) const
Log event TxFileTransferFailed.
Opcode to save parameter ChannelConfig.
virtual void parameterUpdated(FwPrmIdType id)
Called whenever a parameter is updated.
static constexpr FwIndexType getNum_timeCaller_OutputPorts()
void fileDoneOut_out(FwIndexType portNum, const Svc::SendFileResponse &resp) const
Invoke output port fileDoneOut.
void invoke(U32 key) const
Invoke a port connection.
Channel ID for PRM_FILE_IN_DEFAULT_DEST_ENTITY_ID.
virtual const CHAR * toChar() const =0
Convert to a C-style char*.
void tlmWrite_ChannelTelemetry(const Svc::Ccsds::Cfdp::ChannelTelemetryArray &arg, Fw::Time _tlmTime=Fw::Time()) const
void SetChannelFlow_cmdHandlerBase(FwOpcodeType opCode, U32 cmdSeq, Fw::CmdArgBuffer &args)
void log_WARNING_LO_RxFileSizeMismatch(const Svc::Ccsds::Cfdp::Class &cfdpClass, U32 srcEid, U32 seqNum, U32 expected, U32 actual) const
Log event RxFileSizeMismatch.
U32 paramGet_RxCrcCalcBytesPerCycle(Fw::ParamValid &valid)
void log_WARNING_LO_ChunklistUnavailable(U32 transactionSeq) const
Log event ChunklistUnavailable.
Channel ID for PRM_RX_CRC_CALC_BYTES_PER_CYCLE.
void log_WARNING_LO_RxWriteFailed(const Svc::Ccsds::Cfdp::Class &cfdpClass, U32 srcEid, U32 seqNum, U32 expected, I32 actual) const
Log event RxWriteFailed.
Command to abandon a transaction immediately.
virtual void dataIn_preMsgHook(FwIndexType portNum, Fw::Buffer &fwBuffer)
Pre-message hook for async input port dataIn.
void cmdResponse_out(FwOpcodeType opCode, U32 cmdSeq, Fw::CmdResponse response)
Emit command response.
File will be deleted after the CFDP transaction.
CFDP class 2 - Reliable transfer (Acknowledged)
BYTE run1HzPortSize[Svc::SchedPortBuffer::CAPACITY]
void log_ACTIVITY_HI_TransactionAbandoned(Svc::Ccsds::Cfdp::TransactionSeq transactionSeq, Svc::Ccsds::Cfdp::EntityId entityId) const
void init()
Initialization function.
Enum representing a command response.
No time base has been established (Required)
void CancelTransaction_cmdHandlerBase(FwOpcodeType opCode, U32 cmdSeq, Fw::CmdArgBuffer &args)
virtual void ResetCounters_preMsgHook(FwOpcodeType opCode, U32 cmdSeq)
Pre-message hook for command ResetCounters.
SerializeStatus serializeFrom(U8 val, Endianness mode=Endianness::BIG) override
Serialize an 8-bit unsigned integer value.
void addCallPort(InputCmdRegPort *callPort)
Register an input port.
void log_ACTIVITY_HI_ResetCounters(U8 channelId) const
Log event ResetCounters.
Parameter configuration for an array CFDP channels.
virtual void lock()
Lock the guarded mutex.
void set_cmdResponseOut_OutputPort(FwIndexType portNum, Fw::InputCmdResponsePort *port)
Connect port to cmdResponseOut[portNum].
void set_bufferAllocate_OutputPort(FwIndexType portNum, Fw::InputBufferGetPort *port)
Connect port to bufferAllocate[portNum].
void init()
Initialization function.
Command to start a CFDP file transaction.
void log_WARNING_LO_RxNakLimitReached(const Svc::Ccsds::Cfdp::Class &cfdpClass, U32 srcEid, U32 seqNum) const
Log event RxNakLimitReached.
Os::Queue m_queue
queue object for active component
void SendFile_cmdHandlerBase(FwOpcodeType opCode, U32 cmdSeq, Fw::CmdArgBuffer &args)
void set_pingOut_OutputPort(FwIndexType portNum, Svc::InputPingPort *port)
Connect port to pingOut[portNum].
void set_dataInReturn_OutputPort(FwIndexType portNum, Fw::InputBufferSendPort *port)
Connect port to dataInReturn[portNum].
Software diagnostic events.
void log_ACTIVITY_HI_TxFileTransferCompleted(const Svc::Ccsds::Cfdp::Class &cfdpClass, U32 seqNum, U32 srcEid, const Fw::StringBase &srcFile, U32 destEid, const Fw::StringBase &destFile, U32 fileSize) const
Log event TxFileTransferCompleted.
void SuspendResumeTransaction_cmdHandlerBase(FwOpcodeType opCode, U32 cmdSeq, Fw::CmdArgBuffer &args)
void addCallPort(InputTlmPort *callPort)
Register an input port.
void set_prmSetOut_OutputPort(FwIndexType portNum, Fw::InputPrmSetPort *port)
Connect port to prmSetOut[portNum].
void addCallPort(InputPrmGetPort *callPort)
Register an input port.
void init()
Object initializer.
virtual void dataIn_handler(FwIndexType portNum, Fw::Buffer &fwBuffer)=0
Handler for input port dataIn.
static constexpr FwIndexType getNum_logOut_OutputPorts()
SerializeStatus
forward declaration for string
CFDP ID to denote the current node when sending PDUs.
void log_WARNING_LO_SendFileInitiateFail(const Fw::StringBase &sourceFileName) const
Log event SendFileInitiateFail.
virtual void parameterLoaded(FwPrmIdType id, Fw::ParamValid valid)
Called for each parameter when parameters are loaded.
void addCallPort(InputBufferGetPort *callPort)
Register an input port.
virtual SerializeStatus deserializeTo(U8 &val, Endianness mode=Endianness::BIG)=0
Deserialize an 8-bit unsigned integer value.
Message will block until space is available.
Channel ID for PRM_POST_INACTIVITY_SEND_RETRIES.
void log_ACTIVITY_LO_MetadataReceived(const Fw::StringBase &srcFile, const Fw::StringBase &destFile, U32 transactionSeq) const
Log event MetadataReceived.
static constexpr FwIndexType getNum_tlmOut_OutputPorts()
void log_WARNING_LO_TxInvalidSegmentRequests(const Svc::Ccsds::Cfdp::Class &cfdpClass, U32 srcEid, U32 seqNum, U32 badCount) const
Log event TxInvalidSegmentRequests.
void dataIn_handlerBase(FwIndexType portNum, Fw::Buffer &fwBuffer)
Handler base-class function for input port dataIn.
virtual void ResetCounters_cmdHandler(FwOpcodeType opCode, U32 cmdSeq, U8 channelId)=0
U32 TransactionSeq
transaction sequence number size
Fw::InputBufferSendPort * get_dataIn_InputPort(FwIndexType portNum)
virtual void PlaybackDirectory_cmdHandler(FwOpcodeType opCode, U32 cmdSeq, U8 channelId, Svc::Ccsds::Cfdp::EntityId destId, const Svc::Ccsds::Cfdp::Class &cfdpClass, const Svc::Ccsds::Cfdp::Keep &keep, U8 priority, const Fw::CmdStringArg &sourceDirectory, const Fw::CmdStringArg &destDirectory)=0
FwIdType FwEventIdType
The type of an event identifier.
The maximum number of received bytes to calculate a CRC for in a single scheduler cycle...
Opcode to save parameter RxCrcCalcBytesPerCycle.
void log_WARNING_LO_MaxTxTransactionsReached() const
Log event MaxTxTransactionsReached.
static constexpr FwIndexType getNum_prmGetOut_OutputPorts()
void invoke(FwOpcodeType opCode) const
Invoke a port connection.
static constexpr FwSizeType CAPACITY
CfdpManagerComponentBase(const char *compName="")
Construct CfdpManagerComponentBase object.
bool isConnected_fileDoneOut_OutputPort(FwIndexType portNum) const
Opcode to save parameter LocalEid.
void log_ACTIVITY_LO_PlaybackInitiated(const Fw::StringBase &sourceDirectory) const
Log event PlaybackInitiated.
#define FW_OBJECT_NAMES
Indicates whether or not object names are stored (more memory, can be used for tracking objects) ...
Channel ID for PRM_OUTGOING_FILE_CHUNK_SIZE.
Default CFDP channel for fileIn port-initiated file transfers.
static constexpr FwIndexType getNum_cmdRegOut_OutputPorts()
Svc::Ccsds::Cfdp::Class paramGet_FileInDefaultClass(Fw::ParamValid &valid)
void init()
Initialization function.
virtual void AbandonTransaction_preMsgHook(FwOpcodeType opCode, U32 cmdSeq)
Pre-message hook for command AbandonTransaction.
Transaction not found for command.
void PollDirectory_cmdHandlerBase(FwOpcodeType opCode, U32 cmdSeq, Fw::CmdArgBuffer &args)
Data was the wrong format (e.g. wrong packet type)
Fw::InputBufferSendPort * get_dataReturnIn_InputPort(FwIndexType portNum)
void set_cmdRegOut_OutputPort(FwIndexType portNum, Fw::InputCmdRegPort *port)
Connect port to cmdRegOut[portNum].
void tlmWrite_PRM_LOCAL_EID(Svc::Ccsds::Cfdp::EntityId arg, Fw::Time _tlmTime=Fw::Time())
Write telemetry channel PRM_LOCAL_EID.
void log_WARNING_LO_TxZeroLengthFile(const Svc::Ccsds::Cfdp::Class &cfdpClass, U32 srcEid, U32 seqNum, const Fw::StringBase &filename) const
Log event TxZeroLengthFile.
Less important informational events.
Os::Queue::Status createQueue(FwSizeType depth, FwSizeType msgSize)
void set_tlmOut_OutputPort(FwIndexType portNum, Fw::InputTlmPort *port)
Connect port to tlmOut[portNum].
#define FW_MIN(a, b)
MIN macro (deprecated in C++, use std::min)
A less serious but recoverable event.
void log_ACTIVITY_HI_TxFileTransferStarted(const Svc::Ccsds::Cfdp::Class &cfdpClass, U32 seqNum, U32 srcEid, const Fw::StringBase &srcFile, U32 destEid, const Fw::StringBase &destFile, U32 fileSize) const
Log event TxFileTransferStarted.
void invoke(Fw::Buffer &fwBuffer) const
Invoke a port connection.
Fw::ParamValid invoke(FwPrmIdType id, Fw::ParamBuffer &val) const
void pingIn_handlerBase(FwIndexType portNum, U32 key)
Handler base-class function for input port pingIn.
virtual void unLock()
Unlock the guarded mutex.
void log_WARNING_LO_FileDataSegmentMetadata() const
Log event FileDataSegmentMetadata.
Command to reset telemetry counters.
virtual void SuspendResumeTransaction_preMsgHook(FwOpcodeType opCode, U32 cmdSeq)
Pre-message hook for command SuspendResumeTransaction.
Opcode to set parameter ChannelConfig.
Svc::Ccsds::Cfdp::EntityId paramGet_LocalEid(Fw::ParamValid &valid)
void log_WARNING_LO_InvalidChannelPoll(U8 pollId, U8 maxPollId) const
Log event InvalidChannelPoll.
void init()
Initialization function.
virtual void StopPollDirectory_preMsgHook(FwOpcodeType opCode, U32 cmdSeq)
Pre-message hook for command StopPollDirectory.
Channel ID for PRM_FILE_IN_DEFAULT_CHANNEL.
void addCallPort(InputBufferSendPort *callPort)
Register an input port.
static constexpr FwIndexType getNum_pingOut_OutputPorts()
static constexpr FwIndexType getNum_dataReturnIn_InputPorts()
bool isConnected_tlmOut_OutputPort(FwIndexType portNum) const
void invoke(Fw::Time &time) const
Invoke a port connection.
void log_WARNING_LO_RxFileTransferFailed(const Svc::Ccsds::Cfdp::Class &cfdpClass, U32 seqNum, U32 srcEid, const Fw::StringBase &srcFile, U32 destEid, const Fw::StringBase &destFile, U8 conditionCode) const
Log event RxFileTransferFailed.
void cmdIn_handlerBase(FwIndexType portNum, FwOpcodeType opCode, U32 cmdSeq, Fw::CmdArgBuffer &args)
Handler base-class function for input port cmdIn.
Opcode to save parameter FileInDefaultChannel.
void tlmWrite_PRM_FILE_IN_DEFAULT_PRIORITY(U8 arg, Fw::Time _tlmTime=Fw::Time())
Write telemetry channel PRM_FILE_IN_DEFAULT_PRIORITY.
void log_WARNING_LO_RxFileCreateFailed(const Svc::Ccsds::Cfdp::Class &cfdpClass, U32 srcEid, U32 seqNum, const Fw::StringBase &filename, I32 status) const
Log event RxFileCreateFailed.
Opcode to set parameter LocalEid.
Serializable::SizeType getDeserializeSizeLeft() const override
Get remaining deserialization buffer size.
void log_WARNING_LO_TxInvalidNakPdu(const Svc::Ccsds::Cfdp::Class &cfdpClass, U32 srcEid, U32 seqNum) const
Log event TxInvalidNakPdu.
void log_ACTIVITY_HI_TransactionCanceled(Svc::Ccsds::Cfdp::TransactionSeq transactionSeq, Svc::Ccsds::Cfdp::EntityId entityId) const
void invoke(FwOpcodeType opCode, U32 cmdSeq, const Fw::CmdResponse &response) const
Invoke a port connection.
void unLock()
unlock the mutex and assert success
void set_logOut_OutputPort(FwIndexType portNum, Fw::InputLogPort *port)
Connect port to logOut[portNum].
FwIdType FwChanIdType
The type of a telemetry channel identifier.
bool isConnected_dataOut_OutputPort(FwIndexType portNum) const
void log_WARNING_LO_RxFileReopenFailed(const Svc::Ccsds::Cfdp::Class &cfdpClass, U32 srcEid, U32 seqNum, const Fw::StringBase &filename, I32 status) const
Log event RxFileReopenFailed.
void addCallPort(InputPingPort *callPort)
Register an input port.
void log_WARNING_LO_InvalidChannel(U8 channelId, U8 maxChannelId) const
Log event InvalidChannel.
Opcode to set parameter FileInDefaultKeep.
void log_WARNING_LO_TransactionNotFound(Svc::Ccsds::Cfdp::TransactionSeq transactionSeq, Svc::Ccsds::Cfdp::EntityId entityId) const
virtual ~CfdpManagerComponentBase()
Destroy CfdpManagerComponentBase object.
Status send(const U8 *buffer, FwSizeType size, FwQueuePriorityType priority, BlockingType blockType) override
send a message into the queue through delegate
Default destination entity ID for fileIn port-initiated file transfers.
virtual void SendFile_cmdHandler(FwOpcodeType opCode, U32 cmdSeq, U8 channelId, Svc::Ccsds::Cfdp::EntityId destId, const Svc::Ccsds::Cfdp::Class &cfdpClass, const Svc::Ccsds::Cfdp::Keep &keep, U8 priority, const Fw::CmdStringArg &sourceFileName, const Fw::CmdStringArg &destFileName)=0
Default CFDP class for fileIn port-initiated file transfers.
static constexpr FwIndexType getNum_prmSetOut_OutputPorts()
void resetDeser() override
Reset deserialization pointer to beginning of buffer.
Opcode to set parameter OutgoingFileChunkSize.
virtual void SetChannelFlow_preMsgHook(FwOpcodeType opCode, U32 cmdSeq)
Pre-message hook for command SetChannelFlow.
void log_WARNING_LO_UnsupportedSendFileArguments(U32 offset, U32 length) const
Log event UnsupportedSendFileArguments.
static constexpr FwIndexType getNum_cmdIn_InputPorts()
Errors dispatching messages.
void log_WARNING_LO_FailEofPduDeserialization(U8 channelId, I32 status) const
Log event FailEofPduDeserialization.
void log_ACTIVITY_LO_PollDirInitiated(const Fw::StringBase &sourceDirectory, U8 pollId) const
Log event PollDirInitiated.
static constexpr FwIndexType getNum_run1Hz_InputPorts()
Opcode to set parameter FileInDefaultDestEntityId.
void tlmWrite_PRM_CHANNEL_CONFIG(const Svc::Ccsds::Cfdp::ChannelArrayParams &arg, Fw::Time _tlmTime=Fw::Time())
Write telemetry channel PRM_CHANNEL_CONFIG.
void invoke(FwChanIdType id, Fw::Time &timeTag, Fw::TlmBuffer &val) const
Invoke a port connection.
Channel ID for PRM_FILE_IN_DEFAULT_CLASS.
const char * toChar() const
Convert to a C-style char*.
virtual void dataReturnIn_preMsgHook(FwIndexType portNum, Fw::Buffer &fwBuffer)
Pre-message hook for async input port dataReturnIn.
Enum representing event severity.
virtual void PollDirectory_preMsgHook(FwOpcodeType opCode, U32 cmdSeq)
Pre-message hook for command PollDirectory.
Opcode to save parameter FileInDefaultClass.
void log_WARNING_LO_RxSeekFailed(const Svc::Ccsds::Cfdp::Class &cfdpClass, U32 srcEid, U32 seqNum, U32 offset, I32 status) const
Log event RxSeekFailed.
virtual void pingIn_preMsgHook(FwIndexType portNum, U32 key)
Pre-message hook for async input port pingIn.
FormatStatus format(const CHAR *formatString,...)
write formatted string to buffer
void init()
Initialization function.
Command successfully executed.
void log_WARNING_LO_TxNonFileDirectivePduReceived(const Svc::Ccsds::Cfdp::Class &cfdpClass, U32 srcEid, U32 seqNum) const
Log event TxNonFileDirectivePduReceived.
virtual void SuspendResumeTransaction_cmdHandler(FwOpcodeType opCode, U32 cmdSeq, U8 channelId, Svc::Ccsds::Cfdp::TransactionSeq transactionSeq, Svc::Ccsds::Cfdp::EntityId entityId, const Svc::Ccsds::Cfdp::SuspendResume &action)=0
void tlmWrite_PRM_OUTGOING_FILE_CHUNK_SIZE(U32 arg, Fw::Time _tlmTime=Fw::Time())
Write telemetry channel PRM_OUTGOING_FILE_CHUNK_SIZE.
Svc::InputSendFileRequestPort * get_fileIn_InputPort(FwIndexType portNum)
void log_WARNING_LO_RxTransactionLimitReached(U32 srcEid, U32 transactionSeq) const
Log event RxTransactionLimitReached.
void loadParameters()
Load the parameters from a parameter source.
void log_WARNING_LO_FailKeepFileMove(const Fw::StringBase &srcFile, const Fw::StringBase &moveDir, I32 status) const
Log event FailKeepFileMove.
Channel ID for PRM_CHANNEL_CONFIG.
Svc::InputSchedPort * get_run1Hz_InputPort(FwIndexType portNum)
Opcode to save parameter FileInDefaultDestEntityId.
Default priority for fileIn port-initiated file transfers.
The size of the serial representation.
uint8_t U8
8-bit unsigned integer
void log_WARNING_LO_RxEofMdSizeMismatch(const Svc::Ccsds::Cfdp::Class &cfdpClass, U32 srcEid, U32 seqNum, U32 mdSize, U32 eofSize) const
Log event RxEofMdSizeMismatch.
Structure for the configured array of CFDP channels.
Opcode to save parameter PostInactivitySendRetries.
void dataOut_out(FwIndexType portNum, Fw::Buffer &fwBuffer) const
Invoke output port dataOut.
void tlmWrite_PRM_RX_CRC_CALC_BYTES_PER_CYCLE(U32 arg, Fw::Time _tlmTime=Fw::Time())
Write telemetry channel PRM_RX_CRC_CALC_BYTES_PER_CYCLE.
void init()
Initialization function.
Channel ID for ChannelTelemetry.
void log_ACTIVITY_HI_RxEofCancelReceived(const Svc::Ccsds::Cfdp::Class &cfdpClass, U32 srcEid, U32 seqNum) const
Log event RxEofCancelReceived.
Fw::Buffer invoke(FwSizeType size) const
void bufferDeallocate_out(FwIndexType portNum, Fw::Buffer &fwBuffer) const
Invoke output port bufferDeallocate.
U8 paramGet_FileInDefaultPriority(Fw::ParamValid &valid)
Command to cancel a transaction with graceful close-out.
bool isConnected_prmSetOut_OutputPort(FwIndexType portNum) const
void log_ACTIVITY_LO_SetFlowState(U8 channelId, const Svc::Ccsds::Cfdp::Flow &flowState) const
Log event SetFlowState.
Command failed to deserialize.
Fw::Buffer bufferAllocate_out(FwIndexType portNum, FwSizeType size) const
Invoke output port bufferAllocate.
BYTE dataReturnInPortSize[Fw::BufferSendPortBuffer::CAPACITY]
void lock()
lock the mutex and assert success
PlatformQueuePriorityType FwQueuePriorityType
The type of queue priorities used.
void log_WARNING_LO_RxFileRenameFailed(const Svc::Ccsds::Cfdp::Class &cfdpClass, U32 srcEid, U32 seqNum, const Fw::StringBase &tempFile, const Fw::StringBase &finalFile, I32 status) const
Log event RxFileRenameFailed.
Command had execution error.
Structure for telemetry counters for a single CFDP channel.
Important informational events.
void init()
Initialization function.
void AbandonTransaction_cmdHandlerBase(FwOpcodeType opCode, U32 cmdSeq, Fw::CmdArgBuffer &args)
virtual void pingIn_handler(FwIndexType portNum, U32 key)=0
Handler for input port pingIn.
void tlmWrite_PRM_FILE_IN_DEFAULT_DEST_ENTITY_ID(Svc::Ccsds::Cfdp::EntityId arg, Fw::Time _tlmTime=Fw::Time())
Write telemetry channel PRM_FILE_IN_DEFAULT_DEST_ENTITY_ID.
bool isConnected_bufferAllocate_OutputPort(FwIndexType portNum) const
void log_WARNING_LO_TxFileOpenFailed(const Svc::Ccsds::Cfdp::Class &cfdpClass, U32 srcEid, U32 seqNum, const Fw::StringBase &filename, I32 status) const
Log event TxFileOpenFailed.
void invoke(FwEventIdType id, Fw::Time &timeTag, const Fw::LogSeverity &severity, Fw::LogBuffer &args) const
Invoke a port connection.
void log_WARNING_LO_TxInvalidDirectiveCode(const Svc::Ccsds::Cfdp::Class &cfdpClass, U32 srcEid, U32 seqNum, U8 directiveCode, U8 substate) const
Log event TxInvalidDirectiveCode.
Command to start a directory poll.
Opcode to set parameter RxCrcCalcBytesPerCycle.
Fw::InputCmdPort * get_cmdIn_InputPort(FwIndexType portNum)
static constexpr FwIndexType getNum_dataIn_InputPorts()
void tlmWrite_PRM_FILE_IN_DEFAULT_CLASS(const Svc::Ccsds::Cfdp::Class &arg, Fw::Time _tlmTime=Fw::Time())
Write telemetry channel PRM_FILE_IN_DEFAULT_CLASS.
message to exit active component task
void log_WARNING_LO_PlaybackDirReadFailed(const Fw::StringBase &directory, I32 status) const
Log event PlaybackDirReadFailed.
void log_ACTIVITY_LO_TxFileQueued(const Fw::StringBase &sourceFileName, U32 transactionSeq) const
Log event TxFileQueued.
A message was sent requesting an exit of the loop.
void log_WARNING_LO_PlaybackDirSlotUnavailable() const
Log event PlaybackDirSlotUnavailable.
void log_WARNING_LO_UnhandledPduInIdleState() const
Log event UnhandledPduInIdleState.
BYTE dataInPortSize[Fw::BufferSendPortBuffer::CAPACITY]
bool isConnected_logOut_OutputPort(FwIndexType portNum) const
void log_WARNING_LO_BuffersExhausted() const
Log event BuffersExhausted.
PlatformIndexType FwIndexType
void log_WARNING_LO_RxCrcMismatch(const Svc::Ccsds::Cfdp::Class &cfdpClass, U32 srcEid, U32 seqNum, U32 expected, U32 actual) const
Log event RxCrcMismatch.
Maximum number of bytes to put into a file PDU.
void log_WARNING_LO_RxFileDataOutOfBounds(const Svc::Ccsds::Cfdp::Class &cfdpClass, U32 srcEid, U32 seqNum, U32 offset, U32 dataSize, U32 fileSize) const
Log event RxFileDataOutOfBounds.
Opcode to save parameter FileInDefaultPriority.
Send file response struct.
void log_WARNING_LO_FailPduSerialization(U8 channelId, const Svc::Ccsds::Cfdp::PduTypeEnum &pduType, I32 status) const
Log event FailPduSerialization.
void addCallPort(InputLogPort *callPort)
Register an input port.
void log_ACTIVITY_HI_RxFileTransferCompleted(const Svc::Ccsds::Cfdp::Class &cfdpClass, U32 seqNum, U32 srcEid, const Fw::StringBase &srcFile, U32 destEid, const Fw::StringBase &destFile, U32 fileSize) const
Log event RxFileTransferCompleted.
bool isConnected_dataInReturn_OutputPort(FwIndexType portNum) const
void init()
Initialization function.
virtual void StopPollDirectory_cmdHandler(FwOpcodeType opCode, U32 cmdSeq, U8 channelId, U8 pollId)=0
void incNumMsgDropped()
increment the number of messages dropped
void log_WARNING_LO_InvalidPollInterval(U32 interval) const
Log event InvalidPollInterval.
void unlock()
alias for unLock to meet BasicLockable requirements
void init()
Initialization function.
Command to stop a directory poll.
void set_timeCaller_OutputPort(FwIndexType portNum, Fw::InputTimePort *port)
Connect port to timeCaller[portNum].
Command failed validation.
RateGroupDivider component implementation.
static constexpr FwIndexType getNum_dataOut_OutputPorts()
void run1Hz_handlerBase(FwIndexType portNum, U32 context)
Handler base-class function for input port run1Hz.
void log_WARNING_LO_RxInvalidDirectiveCode(const Svc::Ccsds::Cfdp::Class &cfdpClass, U32 srcEid, U32 seqNum, U8 directiveCode, U8 substate) const
Log event RxInvalidDirectiveCode.
Svc::InputPingPort * get_pingIn_InputPort(FwIndexType portNum)
virtual void SendFile_preMsgHook(FwOpcodeType opCode, U32 cmdSeq)
Pre-message hook for command SendFile.
message sent/received okay
Svc::Ccsds::Cfdp::EntityId paramGet_FileInDefaultDestEntityId(Fw::ParamValid &valid)
Enum representing parameter validity.
Opcode to set parameter FileInDefaultClass.
static constexpr FwIndexType getNum_fileDoneOut_OutputPorts()
virtual void PlaybackDirectory_preMsgHook(FwOpcodeType opCode, U32 cmdSeq)
Pre-message hook for command PlaybackDirectory.
void invoke(FwPrmIdType id, Fw::ParamBuffer &val) const
Invoke a port connection.
static constexpr FwIndexType getNum_pingIn_InputPorts()
bool isConnected_timeCaller_OutputPort(FwIndexType portNum) const
void log_WARNING_LO_RxReadCrcFailed(const Svc::Ccsds::Cfdp::Class &cfdpClass, U32 srcEid, U32 seqNum, U32 expected, I32 actual) const
Log event RxReadCrcFailed.
void log_WARNING_LO_FileRemoveFailed(const Fw::StringBase &filename, I32 status) const
Log event FileRemoveFailed.
void log_WARNING_LO_PlaybackDirOpenFailed(const Fw::StringBase &directory, I32 status) const
Log event PlaybackDirOpenFailed.
void log_WARNING_LO_DanglingFileHandleClosed(U8 channelId, U32 transactionSeq) const
Log event DanglingFileHandleClosed.
void invoke(const Svc::SendFileResponse &resp) const
Invoke a port connection.
Command to start a directory playback.
void log_WARNING_LO_RxInactivityTimeout(const Svc::Ccsds::Cfdp::Class &cfdpClass, U32 srcEid, U32 seqNum) const
Log event RxInactivityTimeout.
void log_WARNING_LO_PollDirNotActive(U8 channelId, U8 pollId) const
Log event PollDirNotActive.
Svc::Ccsds::Cfdp::ChannelArrayParams paramGet_ChannelConfig(Fw::ParamValid &valid)
void log_WARNING_LO_FailPduHeaderDeserialization(U8 channelId, I32 status) const
Log event FailPduHeaderDeserialization.
Message will return with status when space is unavailable.
Implementation of malloc based allocator.
void log_DIAGNOSTIC_ResetFreedTransaction() const
Log event ResetFreedTransaction.
virtual void PollDirectory_cmdHandler(FwOpcodeType opCode, U32 cmdSeq, U8 channelId, U8 pollId, Svc::Ccsds::Cfdp::EntityId destId, const Svc::Ccsds::Cfdp::Class &cfdpClass, U8 priority, U32 interval, const Fw::CmdStringArg &sourceDirectory, const Fw::CmdStringArg &destDirectory)=0
void init()
Initialization function.
void log_WARNING_LO_PollDirBusy(U8 channelId, U8 pollId) const
Log event PollDirBusy.
void init()
Initialization function.
Opcode to set parameter FileInDefaultPriority.
Opcode to set parameter PostInactivitySendRetries.
void StopPollDirectory_cmdHandlerBase(FwOpcodeType opCode, U32 cmdSeq, Fw::CmdArgBuffer &args)
void ResetCounters_cmdHandlerBase(FwOpcodeType opCode, U32 cmdSeq, Fw::CmdArgBuffer &args)
U8 paramGet_PostInactivitySendRetries(Fw::ParamValid &valid)
static constexpr FwIndexType getNum_bufferAllocate_OutputPorts()
Opcode to save parameter FileInDefaultKeep.
void addCallPort(InputSendFileCompletePort *callPort)
Register an input port.
bool isConnected_bufferDeallocate_OutputPort(FwIndexType portNum) const
Channel ID for PRM_LOCAL_EID.
void set_fileDoneOut_OutputPort(FwIndexType portNum, Svc::InputSendFileCompletePort *port)
Connect port to fileDoneOut[portNum].
void log_DIAGNOSTIC_TxLateFinAcked(Svc::Ccsds::Cfdp::EntityId srcEid, Svc::Ccsds::Cfdp::TransactionSeq seqNum) const
Opcode to save parameter OutgoingFileChunkSize.
void tlmWrite_PRM_FILE_IN_DEFAULT_KEEP(const Svc::Ccsds::Cfdp::Keep &arg, Fw::Time _tlmTime=Fw::Time())
Write telemetry channel PRM_FILE_IN_DEFAULT_KEEP.
static constexpr FwSizeType CAPACITY
void log_WARNING_LO_TxEarlyFinReceived(const Svc::Ccsds::Cfdp::Class &cfdpClass, U32 srcEid, U32 seqNum) const
Log event TxEarlyFinReceived.
void log_WARNING_LO_FailFinPduDeserialization(U8 channelId, I32 status) const
Log event FailFinPduDeserialization.
U8 paramGet_FileInDefaultChannel(Fw::ParamValid &valid)
void addCallPort(InputCmdResponsePort *callPort)
Register an input port.
void log_ACTIVITY_LO_PollDirStopped(U8 channelId, U8 pollId) const
Log event PollDirStopped.
bool isConnected_cmdResponseOut_OutputPort(FwIndexType portNum) const
The size of the serial representation.
void log_WARNING_LO_FailNakPduDeserialization(U8 channelId, I32 status) const
Log event FailNakPduDeserialization.
SerializeStatus serializeTo(SerialBufferBase &buffer, Endianness mode=Endianness::BIG) const override
Serialize the contents of this object to a buffer.
void log_WARNING_LO_FailMetadataPduDeserialization(U8 channelId, I32 status) const
Log event FailMetadataPduDeserialization.
BYTE cmdPortSize[Fw::CmdPortBuffer::CAPACITY]