9 #if FW_ENABLE_TEXT_LOGGING 24 DATARETURNIN_BUFFERSEND,
28 CMD_PLAYBACKDIRECTORY,
30 CMD_STOPPOLLDIRECTORY,
32 CMD_SUSPENDRESUMETRANSACTION,
33 CMD_CANCELTRANSACTION,
34 CMD_ABANDONTRANSACTION,
50 class ComponentIpcSerializableBuffer :
60 MAX_DATA_SIZE =
sizeof(BuffUnion),
62 SERIALIZATION_SIZE = DATA_OFFSET + MAX_DATA_SIZE
65 ComponentIpcSerializableBuffer() :
Fw::LinearBufferBase(m_buff, sizeof(m_buff)) {
71 U8 m_buff[SERIALIZATION_SIZE];
89 #if !FW_DIRECT_PORT_CALLS 96 this->m_cmdIn_InputPort[port].
init();
101 this->m_cmdIn_InputPort[port].
setPortNum(port);
103 #if FW_OBJECT_NAMES == 1 107 this->m_objName.toChar(),
110 this->m_cmdIn_InputPort[port].setObjName(portName.
toChar());
115 #if !FW_DIRECT_PORT_CALLS 122 this->m_dataIn_InputPort[port].
init();
127 this->m_dataIn_InputPort[port].
setPortNum(port);
129 #if FW_OBJECT_NAMES == 1 133 this->m_objName.toChar(),
136 this->m_dataIn_InputPort[port].setObjName(portName.
toChar());
141 #if !FW_DIRECT_PORT_CALLS 148 this->m_dataReturnIn_InputPort[port].
init();
153 this->m_dataReturnIn_InputPort[port].
setPortNum(port);
155 #if FW_OBJECT_NAMES == 1 159 this->m_objName.toChar(),
162 this->m_dataReturnIn_InputPort[port].setObjName(portName.
toChar());
167 #if !FW_DIRECT_PORT_CALLS 174 this->m_fileIn_InputPort[port].
init();
179 this->m_fileIn_InputPort[port].
setPortNum(port);
181 #if FW_OBJECT_NAMES == 1 185 this->m_objName.toChar(),
188 this->m_fileIn_InputPort[port].setObjName(portName.
toChar());
193 #if !FW_DIRECT_PORT_CALLS 200 this->m_pingIn_InputPort[port].
init();
205 this->m_pingIn_InputPort[port].
setPortNum(port);
207 #if FW_OBJECT_NAMES == 1 211 this->m_objName.toChar(),
214 this->m_pingIn_InputPort[port].setObjName(portName.
toChar());
219 #if !FW_DIRECT_PORT_CALLS 226 this->m_run1Hz_InputPort[port].
init();
231 this->m_run1Hz_InputPort[port].
setPortNum(port);
233 #if FW_OBJECT_NAMES == 1 237 this->m_objName.toChar(),
240 this->m_run1Hz_InputPort[port].setObjName(portName.
toChar());
245 #if !FW_DIRECT_PORT_CALLS 252 this->m_cmdRegOut_OutputPort[port].
init();
254 #if FW_OBJECT_NAMES == 1 258 this->m_objName.toChar(),
261 this->m_cmdRegOut_OutputPort[port].setObjName(portName.
toChar());
266 #if !FW_DIRECT_PORT_CALLS 273 this->m_cmdResponseOut_OutputPort[port].
init();
275 #if FW_OBJECT_NAMES == 1 279 this->m_objName.toChar(),
282 this->m_cmdResponseOut_OutputPort[port].setObjName(portName.
toChar());
287 #if !FW_DIRECT_PORT_CALLS 294 this->m_logOut_OutputPort[port].
init();
296 #if FW_OBJECT_NAMES == 1 300 this->m_objName.toChar(),
303 this->m_logOut_OutputPort[port].setObjName(portName.
toChar());
308 #if !FW_DIRECT_PORT_CALLS && FW_ENABLE_TEXT_LOGGING 312 port < static_cast<FwIndexType>(this->getNum_logTextOut_OutputPorts());
315 this->m_logTextOut_OutputPort[port].
init();
317 #if FW_OBJECT_NAMES == 1 321 this->m_objName.toChar(),
324 this->m_logTextOut_OutputPort[port].setObjName(portName.
toChar());
329 #if !FW_DIRECT_PORT_CALLS 336 this->m_prmGetOut_OutputPort[port].
init();
338 #if FW_OBJECT_NAMES == 1 342 this->m_objName.toChar(),
345 this->m_prmGetOut_OutputPort[port].setObjName(portName.
toChar());
350 #if !FW_DIRECT_PORT_CALLS 357 this->m_prmSetOut_OutputPort[port].
init();
359 #if FW_OBJECT_NAMES == 1 363 this->m_objName.toChar(),
366 this->m_prmSetOut_OutputPort[port].setObjName(portName.
toChar());
371 #if !FW_DIRECT_PORT_CALLS 378 this->m_timeCaller_OutputPort[port].
init();
380 #if FW_OBJECT_NAMES == 1 384 this->m_objName.toChar(),
387 this->m_timeCaller_OutputPort[port].setObjName(portName.
toChar());
392 #if !FW_DIRECT_PORT_CALLS 399 this->m_tlmOut_OutputPort[port].
init();
401 #if FW_OBJECT_NAMES == 1 405 this->m_objName.toChar(),
408 this->m_tlmOut_OutputPort[port].setObjName(portName.
toChar());
413 #if !FW_DIRECT_PORT_CALLS 420 this->m_bufferAllocate_OutputPort[port].
init();
422 #if FW_OBJECT_NAMES == 1 426 this->m_objName.toChar(),
429 this->m_bufferAllocate_OutputPort[port].setObjName(portName.
toChar());
434 #if !FW_DIRECT_PORT_CALLS 441 this->m_bufferDeallocate_OutputPort[port].
init();
443 #if FW_OBJECT_NAMES == 1 447 this->m_objName.toChar(),
450 this->m_bufferDeallocate_OutputPort[port].setObjName(portName.
toChar());
455 #if !FW_DIRECT_PORT_CALLS 462 this->m_dataInReturn_OutputPort[port].
init();
464 #if FW_OBJECT_NAMES == 1 468 this->m_objName.toChar(),
471 this->m_dataInReturn_OutputPort[port].setObjName(portName.
toChar());
476 #if !FW_DIRECT_PORT_CALLS 483 this->m_dataOut_OutputPort[port].
init();
485 #if FW_OBJECT_NAMES == 1 489 this->m_objName.toChar(),
492 this->m_dataOut_OutputPort[port].setObjName(portName.
toChar());
497 #if !FW_DIRECT_PORT_CALLS 504 this->m_fileDoneOut_OutputPort[port].
init();
506 #if FW_OBJECT_NAMES == 1 510 this->m_objName.toChar(),
513 this->m_fileDoneOut_OutputPort[port].setObjName(portName.
toChar());
518 #if !FW_DIRECT_PORT_CALLS 525 this->m_pingOut_OutputPort[port].
init();
527 #if FW_OBJECT_NAMES == 1 531 this->m_objName.toChar(),
534 this->m_pingOut_OutputPort[port].setObjName(portName.
toChar());
542 static_cast<FwSizeType>(ComponentIpcSerializableBuffer::SERIALIZATION_SIZE)
546 static_cast<FwAssertArgType>(qStat)
550 #if !FW_DIRECT_PORT_CALLS 561 static_cast<FwAssertArgType>(portNum)
564 return &this->m_cmdIn_InputPort[portNum];
569 #if !FW_DIRECT_PORT_CALLS 580 static_cast<FwAssertArgType>(portNum)
583 return &this->m_dataIn_InputPort[portNum];
591 static_cast<FwAssertArgType>(portNum)
594 return &this->m_dataReturnIn_InputPort[portNum];
602 static_cast<FwAssertArgType>(portNum)
605 return &this->m_fileIn_InputPort[portNum];
613 static_cast<FwAssertArgType>(portNum)
616 return &this->m_pingIn_InputPort[portNum];
624 static_cast<FwAssertArgType>(portNum)
627 return &this->m_run1Hz_InputPort[portNum];
632 #if !FW_DIRECT_PORT_CALLS 646 static_cast<FwAssertArgType>(portNum)
649 this->m_cmdRegOut_OutputPort[portNum].
addCallPort(port);
660 static_cast<FwAssertArgType>(portNum)
663 this->m_cmdResponseOut_OutputPort[portNum].
addCallPort(port);
674 static_cast<FwAssertArgType>(portNum)
677 this->m_logOut_OutputPort[portNum].
addCallPort(port);
680 #if FW_ENABLE_TEXT_LOGGING == 1 682 void CfdpManagerComponentBase ::
683 set_logTextOut_OutputPort(
689 (0 <= portNum) && (portNum < this->getNum_logTextOut_OutputPorts()),
690 static_cast<FwAssertArgType>(portNum)
693 this->m_logTextOut_OutputPort[portNum].addCallPort(port);
706 static_cast<FwAssertArgType>(portNum)
709 this->m_prmGetOut_OutputPort[portNum].
addCallPort(port);
720 static_cast<FwAssertArgType>(portNum)
723 this->m_prmSetOut_OutputPort[portNum].
addCallPort(port);
734 static_cast<FwAssertArgType>(portNum)
737 this->m_timeCaller_OutputPort[portNum].
addCallPort(port);
748 static_cast<FwAssertArgType>(portNum)
751 this->m_tlmOut_OutputPort[portNum].
addCallPort(port);
756 #if !FW_DIRECT_PORT_CALLS 770 static_cast<FwAssertArgType>(portNum)
773 this->m_bufferAllocate_OutputPort[portNum].
addCallPort(port);
784 static_cast<FwAssertArgType>(portNum)
787 this->m_bufferDeallocate_OutputPort[portNum].
addCallPort(port);
798 static_cast<FwAssertArgType>(portNum)
801 this->m_dataInReturn_OutputPort[portNum].
addCallPort(port);
812 static_cast<FwAssertArgType>(portNum)
815 this->m_dataOut_OutputPort[portNum].
addCallPort(port);
826 static_cast<FwAssertArgType>(portNum)
829 this->m_fileDoneOut_OutputPort[portNum].
addCallPort(port);
840 static_cast<FwAssertArgType>(portNum)
843 this->m_pingOut_OutputPort[portNum].
addCallPort(port);
848 #if !FW_DIRECT_PORT_CALLS && FW_PORT_SERIALIZATION 857 Fw::InputSerializePort* port
862 static_cast<FwAssertArgType>(portNum)
865 this->m_cmdRegOut_OutputPort[portNum].registerSerialPort(port);
871 Fw::InputSerializePort* port
876 static_cast<FwAssertArgType>(portNum)
879 this->m_cmdResponseOut_OutputPort[portNum].registerSerialPort(port);
885 Fw::InputSerializePort* port
890 static_cast<FwAssertArgType>(portNum)
893 this->m_logOut_OutputPort[portNum].registerSerialPort(port);
896 #if FW_ENABLE_TEXT_LOGGING == 1 898 void CfdpManagerComponentBase ::
899 set_logTextOut_OutputPort(
901 Fw::InputSerializePort* port
905 (0 <= portNum) && (portNum < this->getNum_logTextOut_OutputPorts()),
906 static_cast<FwAssertArgType>(portNum)
909 this->m_logTextOut_OutputPort[portNum].registerSerialPort(port);
917 Fw::InputSerializePort* port
922 static_cast<FwAssertArgType>(portNum)
925 this->m_prmSetOut_OutputPort[portNum].registerSerialPort(port);
931 Fw::InputSerializePort* port
936 static_cast<FwAssertArgType>(portNum)
939 this->m_timeCaller_OutputPort[portNum].registerSerialPort(port);
945 Fw::InputSerializePort* port
950 static_cast<FwAssertArgType>(portNum)
953 this->m_tlmOut_OutputPort[portNum].registerSerialPort(port);
958 #if !FW_DIRECT_PORT_CALLS && FW_PORT_SERIALIZATION 967 Fw::InputSerializePort* port
972 static_cast<FwAssertArgType>(portNum)
975 this->m_bufferDeallocate_OutputPort[portNum].registerSerialPort(port);
981 Fw::InputSerializePort* port
986 static_cast<FwAssertArgType>(portNum)
989 this->m_dataInReturn_OutputPort[portNum].registerSerialPort(port);
995 Fw::InputSerializePort* port
1000 static_cast<FwAssertArgType>(portNum)
1003 this->m_dataOut_OutputPort[portNum].registerSerialPort(port);
1009 Fw::InputSerializePort* port
1014 static_cast<FwAssertArgType>(portNum)
1017 this->m_fileDoneOut_OutputPort[portNum].registerSerialPort(port);
1023 Fw::InputSerializePort* port
1028 static_cast<FwAssertArgType>(portNum)
1031 this->m_pingOut_OutputPort[portNum].registerSerialPort(port);
1045 this->cmdRegOut_out(
1050 this->cmdRegOut_out(
1055 this->cmdRegOut_out(
1060 this->cmdRegOut_out(
1065 this->cmdRegOut_out(
1070 this->cmdRegOut_out(
1075 this->cmdRegOut_out(
1080 this->cmdRegOut_out(
1085 this->cmdRegOut_out(
1090 this->cmdRegOut_out(
1095 this->cmdRegOut_out(
1100 this->cmdRegOut_out(
1105 this->cmdRegOut_out(
1110 this->cmdRegOut_out(
1115 this->cmdRegOut_out(
1120 this->cmdRegOut_out(
1125 this->cmdRegOut_out(
1130 this->cmdRegOut_out(
1135 this->cmdRegOut_out(
1140 this->cmdRegOut_out(
1145 this->cmdRegOut_out(
1150 this->cmdRegOut_out(
1155 this->cmdRegOut_out(
1160 this->cmdRegOut_out(
1165 this->cmdRegOut_out(
1170 this->cmdRegOut_out(
1175 this->cmdRegOut_out(
1180 this->cmdRegOut_out(
1185 this->cmdRegOut_out(
1208 this->m_param_LocalEid_valid = this->prmGetOut_out(
1214 this->m_paramLock.
lock();
1227 this->m_LocalEid = 42;
1230 this->m_paramLock.
unlock();
1235 this->m_param_OutgoingFileChunkSize_valid = this->prmGetOut_out(
1241 this->m_paramLock.
lock();
1245 _stat = _paramBuffer.
deserializeTo(this->m_OutgoingFileChunkSize);
1254 this->m_OutgoingFileChunkSize = 992;
1257 this->m_paramLock.
unlock();
1262 this->m_param_RxCrcCalcBytesPerCycle_valid = this->prmGetOut_out(
1268 this->m_paramLock.
lock();
1272 _stat = _paramBuffer.
deserializeTo(this->m_RxCrcCalcBytesPerCycle);
1281 this->m_RxCrcCalcBytesPerCycle = 65536;
1284 this->m_paramLock.
unlock();
1289 this->m_param_PostInactivitySendRetries_valid = this->prmGetOut_out(
1295 this->m_paramLock.
lock();
1299 _stat = _paramBuffer.
deserializeTo(this->m_PostInactivitySendRetries);
1308 this->m_PostInactivitySendRetries = 3;
1311 this->m_paramLock.
unlock();
1316 this->m_param_FileInDefaultChannel_valid = this->prmGetOut_out(
1322 this->m_paramLock.
lock();
1326 _stat = _paramBuffer.
deserializeTo(this->m_FileInDefaultChannel);
1335 this->m_FileInDefaultChannel = 0;
1338 this->m_paramLock.
unlock();
1343 this->m_param_FileInDefaultDestEntityId_valid = this->prmGetOut_out(
1349 this->m_paramLock.
lock();
1353 _stat = _paramBuffer.
deserializeTo(this->m_FileInDefaultDestEntityId);
1362 this->m_FileInDefaultDestEntityId = 100;
1365 this->m_paramLock.
unlock();
1370 this->m_param_FileInDefaultClass_valid = this->prmGetOut_out(
1376 this->m_paramLock.
lock();
1380 _stat = _paramBuffer.
deserializeTo(this->m_FileInDefaultClass);
1392 this->m_paramLock.
unlock();
1397 this->m_param_FileInDefaultKeep_valid = this->prmGetOut_out(
1403 this->m_paramLock.
lock();
1407 _stat = _paramBuffer.
deserializeTo(this->m_FileInDefaultKeep);
1419 this->m_paramLock.
unlock();
1424 this->m_param_FileInDefaultPriority_valid = this->prmGetOut_out(
1430 this->m_paramLock.
lock();
1434 _stat = _paramBuffer.
deserializeTo(this->m_FileInDefaultPriority);
1443 this->m_FileInDefaultPriority = 0;
1446 this->m_paramLock.
unlock();
1451 this->m_param_ChannelConfig_valid = this->prmGetOut_out(
1457 this->m_paramLock.
lock();
1473 this->m_paramLock.
unlock();
1485 Fw::ActiveComponentBase(compName)
1496 #if !FW_DIRECT_PORT_CALLS 1507 static_cast<FwAssertArgType>(portNum)
1510 return this->m_cmdRegOut_OutputPort[portNum].
isConnected();
1518 static_cast<FwAssertArgType>(portNum)
1521 return this->m_cmdResponseOut_OutputPort[portNum].
isConnected();
1529 static_cast<FwAssertArgType>(portNum)
1532 return this->m_logOut_OutputPort[portNum].
isConnected();
1535 #if FW_ENABLE_TEXT_LOGGING == 1 1537 bool CfdpManagerComponentBase ::
1538 isConnected_logTextOut_OutputPort(
FwIndexType portNum)
const 1541 (0 <= portNum) && (portNum < this->getNum_logTextOut_OutputPorts()),
1542 static_cast<FwAssertArgType>(portNum)
1545 return this->m_logTextOut_OutputPort[portNum].isConnected();
1555 static_cast<FwAssertArgType>(portNum)
1558 return this->m_prmGetOut_OutputPort[portNum].
isConnected();
1566 static_cast<FwAssertArgType>(portNum)
1569 return this->m_prmSetOut_OutputPort[portNum].
isConnected();
1577 static_cast<FwAssertArgType>(portNum)
1580 return this->m_timeCaller_OutputPort[portNum].
isConnected();
1588 static_cast<FwAssertArgType>(portNum)
1591 return this->m_tlmOut_OutputPort[portNum].
isConnected();
1596 #if !FW_DIRECT_PORT_CALLS 1607 static_cast<FwAssertArgType>(portNum)
1610 return this->m_bufferAllocate_OutputPort[portNum].
isConnected();
1618 static_cast<FwAssertArgType>(portNum)
1621 return this->m_bufferDeallocate_OutputPort[portNum].
isConnected();
1629 static_cast<FwAssertArgType>(portNum)
1632 return this->m_dataInReturn_OutputPort[portNum].
isConnected();
1640 static_cast<FwAssertArgType>(portNum)
1643 return this->m_dataOut_OutputPort[portNum].
isConnected();
1651 static_cast<FwAssertArgType>(portNum)
1654 return this->m_fileDoneOut_OutputPort[portNum].
isConnected();
1662 static_cast<FwAssertArgType>(portNum)
1665 return this->m_pingOut_OutputPort[portNum].
isConnected();
1686 FW_ASSERT(opCode >= idBase, static_cast<FwAssertArgType>(opCode), static_cast<FwAssertArgType>(idBase));
1689 switch (opCode - idBase) {
1832 Fw::CmdResponse _cstat = this->paramSet_PostInactivitySendRetries(args);
1872 Fw::CmdResponse _cstat = this->paramSet_FileInDefaultDestEntityId(args);
1991 static_cast<FwAssertArgType>(portNum)
1999 ComponentIpcSerializableBuffer msg;
2003 _status = msg.serializeFrom(
2004 static_cast<FwEnumStoreType>(DATAIN_BUFFERSEND)
2008 static_cast<FwAssertArgType>(_status)
2012 _status = msg.serializeFrom(portNum);
2015 static_cast<FwAssertArgType>(_status)
2019 _status = msg.serializeFrom(fwBuffer);
2022 static_cast<FwAssertArgType>(_status)
2031 static_cast<FwAssertArgType>(qStatus)
2044 static_cast<FwAssertArgType>(portNum)
2052 ComponentIpcSerializableBuffer msg;
2056 _status = msg.serializeFrom(
2057 static_cast<FwEnumStoreType>(DATARETURNIN_BUFFERSEND)
2061 static_cast<FwAssertArgType>(_status)
2065 _status = msg.serializeFrom(portNum);
2068 static_cast<FwAssertArgType>(_status)
2072 _status = msg.serializeFrom(fwBuffer);
2075 static_cast<FwAssertArgType>(_status)
2084 static_cast<FwAssertArgType>(qStatus)
2100 static_cast<FwAssertArgType>(portNum)
2132 static_cast<FwAssertArgType>(portNum)
2140 ComponentIpcSerializableBuffer msg;
2144 _status = msg.serializeFrom(
2145 static_cast<FwEnumStoreType>(PINGIN_PING)
2149 static_cast<FwAssertArgType>(_status)
2153 _status = msg.serializeFrom(portNum);
2156 static_cast<FwAssertArgType>(_status)
2160 _status = msg.serializeFrom(key);
2163 static_cast<FwAssertArgType>(_status)
2170 if (qStatus == Os::Queue::Status::FULL) {
2177 static_cast<FwAssertArgType>(qStatus)
2190 static_cast<FwAssertArgType>(portNum)
2198 ComponentIpcSerializableBuffer msg;
2202 _status = msg.serializeFrom(
2203 static_cast<FwEnumStoreType>(RUN1HZ_SCHED)
2207 static_cast<FwAssertArgType>(_status)
2211 _status = msg.serializeFrom(portNum);
2214 static_cast<FwAssertArgType>(_status)
2218 _status = msg.serializeFrom(context);
2221 static_cast<FwAssertArgType>(_status)
2230 static_cast<FwAssertArgType>(qStatus)
2278 #if !FW_DIRECT_PORT_CALLS 2292 static_cast<FwAssertArgType>(portNum)
2296 this->m_bufferAllocate_OutputPort[portNum].isConnected(),
2297 static_cast<FwAssertArgType>(portNum)
2299 return this->m_bufferAllocate_OutputPort[portNum].
invoke(
2312 static_cast<FwAssertArgType>(portNum)
2316 this->m_bufferDeallocate_OutputPort[portNum].isConnected(),
2317 static_cast<FwAssertArgType>(portNum)
2319 this->m_bufferDeallocate_OutputPort[portNum].
invoke(
2332 static_cast<FwAssertArgType>(portNum)
2336 this->m_dataInReturn_OutputPort[portNum].isConnected(),
2337 static_cast<FwAssertArgType>(portNum)
2339 this->m_dataInReturn_OutputPort[portNum].
invoke(
2352 static_cast<FwAssertArgType>(portNum)
2356 this->m_dataOut_OutputPort[portNum].isConnected(),
2357 static_cast<FwAssertArgType>(portNum)
2359 this->m_dataOut_OutputPort[portNum].
invoke(
2372 static_cast<FwAssertArgType>(portNum)
2376 this->m_fileDoneOut_OutputPort[portNum].isConnected(),
2377 static_cast<FwAssertArgType>(portNum)
2379 this->m_fileDoneOut_OutputPort[portNum].
invoke(
2392 static_cast<FwAssertArgType>(portNum)
2396 this->m_pingOut_OutputPort[portNum].isConnected(),
2397 static_cast<FwAssertArgType>(portNum)
2399 this->m_pingOut_OutputPort[portNum].
invoke(
2418 this->cmdResponseOut_out(0, opCode, cmdSeq, response);
2439 ComponentIpcSerializableBuffer msg;
2443 _status = msg.serializeFrom(static_cast<FwEnumStoreType>(CMD_SENDFILE));
2446 static_cast<FwAssertArgType>(_status)
2452 _status = msg.serializeFrom(port);
2455 static_cast<FwAssertArgType>(_status)
2458 _status = msg.serializeFrom(opCode);
2461 static_cast<FwAssertArgType>(_status)
2464 _status = msg.serializeFrom(cmdSeq);
2467 static_cast<FwAssertArgType>(_status)
2470 _status = msg.serializeFrom(args);
2473 static_cast<FwAssertArgType>(_status)
2482 static_cast<FwAssertArgType>(qStatus)
2498 ComponentIpcSerializableBuffer msg;
2502 _status = msg.serializeFrom(static_cast<FwEnumStoreType>(CMD_PLAYBACKDIRECTORY));
2505 static_cast<FwAssertArgType>(_status)
2511 _status = msg.serializeFrom(port);
2514 static_cast<FwAssertArgType>(_status)
2517 _status = msg.serializeFrom(opCode);
2520 static_cast<FwAssertArgType>(_status)
2523 _status = msg.serializeFrom(cmdSeq);
2526 static_cast<FwAssertArgType>(_status)
2529 _status = msg.serializeFrom(args);
2532 static_cast<FwAssertArgType>(_status)
2541 static_cast<FwAssertArgType>(qStatus)
2557 ComponentIpcSerializableBuffer msg;
2561 _status = msg.serializeFrom(static_cast<FwEnumStoreType>(CMD_POLLDIRECTORY));
2564 static_cast<FwAssertArgType>(_status)
2570 _status = msg.serializeFrom(port);
2573 static_cast<FwAssertArgType>(_status)
2576 _status = msg.serializeFrom(opCode);
2579 static_cast<FwAssertArgType>(_status)
2582 _status = msg.serializeFrom(cmdSeq);
2585 static_cast<FwAssertArgType>(_status)
2588 _status = msg.serializeFrom(args);
2591 static_cast<FwAssertArgType>(_status)
2600 static_cast<FwAssertArgType>(qStatus)
2616 ComponentIpcSerializableBuffer msg;
2620 _status = msg.serializeFrom(static_cast<FwEnumStoreType>(CMD_STOPPOLLDIRECTORY));
2623 static_cast<FwAssertArgType>(_status)
2629 _status = msg.serializeFrom(port);
2632 static_cast<FwAssertArgType>(_status)
2635 _status = msg.serializeFrom(opCode);
2638 static_cast<FwAssertArgType>(_status)
2641 _status = msg.serializeFrom(cmdSeq);
2644 static_cast<FwAssertArgType>(_status)
2647 _status = msg.serializeFrom(args);
2650 static_cast<FwAssertArgType>(_status)
2659 static_cast<FwAssertArgType>(qStatus)
2675 ComponentIpcSerializableBuffer msg;
2679 _status = msg.serializeFrom(static_cast<FwEnumStoreType>(CMD_SETCHANNELFLOW));
2682 static_cast<FwAssertArgType>(_status)
2688 _status = msg.serializeFrom(port);
2691 static_cast<FwAssertArgType>(_status)
2694 _status = msg.serializeFrom(opCode);
2697 static_cast<FwAssertArgType>(_status)
2700 _status = msg.serializeFrom(cmdSeq);
2703 static_cast<FwAssertArgType>(_status)
2706 _status = msg.serializeFrom(args);
2709 static_cast<FwAssertArgType>(_status)
2718 static_cast<FwAssertArgType>(qStatus)
2734 ComponentIpcSerializableBuffer msg;
2738 _status = msg.serializeFrom(static_cast<FwEnumStoreType>(CMD_SUSPENDRESUMETRANSACTION));
2741 static_cast<FwAssertArgType>(_status)
2747 _status = msg.serializeFrom(port);
2750 static_cast<FwAssertArgType>(_status)
2753 _status = msg.serializeFrom(opCode);
2756 static_cast<FwAssertArgType>(_status)
2759 _status = msg.serializeFrom(cmdSeq);
2762 static_cast<FwAssertArgType>(_status)
2765 _status = msg.serializeFrom(args);
2768 static_cast<FwAssertArgType>(_status)
2777 static_cast<FwAssertArgType>(qStatus)
2793 ComponentIpcSerializableBuffer msg;
2797 _status = msg.serializeFrom(static_cast<FwEnumStoreType>(CMD_CANCELTRANSACTION));
2800 static_cast<FwAssertArgType>(_status)
2806 _status = msg.serializeFrom(port);
2809 static_cast<FwAssertArgType>(_status)
2812 _status = msg.serializeFrom(opCode);
2815 static_cast<FwAssertArgType>(_status)
2818 _status = msg.serializeFrom(cmdSeq);
2821 static_cast<FwAssertArgType>(_status)
2824 _status = msg.serializeFrom(args);
2827 static_cast<FwAssertArgType>(_status)
2836 static_cast<FwAssertArgType>(qStatus)
2852 ComponentIpcSerializableBuffer msg;
2856 _status = msg.serializeFrom(static_cast<FwEnumStoreType>(CMD_ABANDONTRANSACTION));
2859 static_cast<FwAssertArgType>(_status)
2865 _status = msg.serializeFrom(port);
2868 static_cast<FwAssertArgType>(_status)
2871 _status = msg.serializeFrom(opCode);
2874 static_cast<FwAssertArgType>(_status)
2877 _status = msg.serializeFrom(cmdSeq);
2880 static_cast<FwAssertArgType>(_status)
2883 _status = msg.serializeFrom(args);
2886 static_cast<FwAssertArgType>(_status)
2895 static_cast<FwAssertArgType>(qStatus)
2911 ComponentIpcSerializableBuffer msg;
2915 _status = msg.serializeFrom(static_cast<FwEnumStoreType>(CMD_RESETCOUNTERS));
2918 static_cast<FwAssertArgType>(_status)
2924 _status = msg.serializeFrom(port);
2927 static_cast<FwAssertArgType>(_status)
2930 _status = msg.serializeFrom(opCode);
2933 static_cast<FwAssertArgType>(_status)
2936 _status = msg.serializeFrom(cmdSeq);
2939 static_cast<FwAssertArgType>(_status)
2942 _status = msg.serializeFrom(args);
2945 static_cast<FwAssertArgType>(_status)
2954 static_cast<FwAssertArgType>(qStatus)
3075 this->timeCaller_out(0, _logTime);
3084 #if FW_AMPCS_COMPATIBLE 3090 static_cast<FwAssertArgType>(_status)
3104 #if FW_ENABLE_TEXT_LOGGING 3105 if (this->isConnected_logTextOut_OutputPort(0)) {
3106 #if FW_OBJECT_NAMES == 1 3107 const char* _formatString =
3108 "(%s) %s: Unable to allocate a PDU buffer";
3110 const char* _formatString =
3111 "%s: Unable to allocate a PDU buffer";
3115 (void) _logString.
format(
3118 this->m_objName.toChar(),
3123 this->logTextOut_out(
3143 this->timeCaller_out(0, _logTime);
3153 #if FW_AMPCS_COMPATIBLE 3158 static_cast<FwAssertArgType>(_status)
3162 #if FW_AMPCS_COMPATIBLE 3165 static_cast<U8>(
sizeof(
U8))
3169 static_cast<FwAssertArgType>(_status)
3175 static_cast<FwAssertArgType>(_status)
3178 #if FW_AMPCS_COMPATIBLE 3181 static_cast<U8>(
sizeof(
U8))
3185 static_cast<FwAssertArgType>(_status)
3191 static_cast<FwAssertArgType>(_status)
3204 #if FW_ENABLE_TEXT_LOGGING 3205 if (this->isConnected_logTextOut_OutputPort(0)) {
3206 #if FW_OBJECT_NAMES == 1 3207 const char* _formatString =
3208 "(%s) %s: Invalid channel ID %" PRIu8
", maximum channel ID is %" PRIu8
"";
3210 const char* _formatString =
3211 "%s: Invalid channel ID %" PRIu8
", maximum channel ID is %" PRIu8
"";
3215 (void) _logString.
format(
3218 this->m_objName.toChar(),
3225 this->logTextOut_out(
3245 this->timeCaller_out(0, _logTime);
3255 #if FW_AMPCS_COMPATIBLE 3260 static_cast<FwAssertArgType>(_status)
3270 static_cast<FwAssertArgType>(_status)
3273 #if FW_AMPCS_COMPATIBLE 3276 static_cast<U8>(
sizeof(U32))
3280 static_cast<FwAssertArgType>(_status)
3286 static_cast<FwAssertArgType>(_status)
3299 #if FW_ENABLE_TEXT_LOGGING 3300 if (this->isConnected_logTextOut_OutputPort(0)) {
3301 #if FW_OBJECT_NAMES == 1 3302 const char* _formatString =
3303 "(%s) %s: TX file queued for %s (transaction %" PRIu32
")";
3305 const char* _formatString =
3306 "%s: TX file queued for %s (transaction %" PRIu32
")";
3310 (void) _logString.
format(
3313 this->m_objName.toChar(),
3320 this->logTextOut_out(
3340 this->timeCaller_out(0, _logTime);
3350 #if FW_AMPCS_COMPATIBLE 3355 static_cast<FwAssertArgType>(_status)
3359 #if FW_AMPCS_COMPATIBLE 3362 static_cast<U8>(
sizeof(U32))
3366 static_cast<FwAssertArgType>(_status)
3372 static_cast<FwAssertArgType>(_status)
3375 #if FW_AMPCS_COMPATIBLE 3378 static_cast<U8>(
sizeof(U32))
3382 static_cast<FwAssertArgType>(_status)
3388 static_cast<FwAssertArgType>(_status)
3401 #if FW_ENABLE_TEXT_LOGGING 3402 if (this->isConnected_logTextOut_OutputPort(0)) {
3403 #if FW_OBJECT_NAMES == 1 3404 const char* _formatString =
3405 "(%s) %s: Invalid send file port request with offset %" PRIu32
", length %" PRIu32
"";
3407 const char* _formatString =
3408 "%s: Invalid send file port request with offset %" PRIu32
", length %" PRIu32
"";
3412 (void) _logString.
format(
3415 this->m_objName.toChar(),
3417 "UnsupportedSendFileArguments ",
3422 this->logTextOut_out(
3439 this->timeCaller_out(0, _logTime);
3449 #if FW_AMPCS_COMPATIBLE 3454 static_cast<FwAssertArgType>(_status)
3464 static_cast<FwAssertArgType>(_status)
3477 #if FW_ENABLE_TEXT_LOGGING 3478 if (this->isConnected_logTextOut_OutputPort(0)) {
3479 #if FW_OBJECT_NAMES == 1 3480 const char* _formatString =
3481 "(%s) %s: Failed to initiate file send transfer for %s";
3483 const char* _formatString =
3484 "%s: Failed to initiate file send transfer for %s";
3488 (void) _logString.
format(
3491 this->m_objName.toChar(),
3493 "SendFileInitiateFail ",
3497 this->logTextOut_out(
3514 this->timeCaller_out(0, _logTime);
3524 #if FW_AMPCS_COMPATIBLE 3529 static_cast<FwAssertArgType>(_status)
3539 static_cast<FwAssertArgType>(_status)
3552 #if FW_ENABLE_TEXT_LOGGING 3553 if (this->isConnected_logTextOut_OutputPort(0)) {
3554 #if FW_OBJECT_NAMES == 1 3555 const char* _formatString =
3556 "(%s) %s: Successfully initiated directory playback for %s";
3558 const char* _formatString =
3559 "%s: Successfully initiated directory playback for %s";
3563 (void) _logString.
format(
3566 this->m_objName.toChar(),
3568 "PlaybackInitiated ",
3572 this->logTextOut_out(
3592 this->timeCaller_out(0, _logTime);
3602 #if FW_AMPCS_COMPATIBLE 3607 static_cast<FwAssertArgType>(_status)
3617 static_cast<FwAssertArgType>(_status)
3620 #if FW_AMPCS_COMPATIBLE 3623 static_cast<U8>(
sizeof(
U8))
3627 static_cast<FwAssertArgType>(_status)
3633 static_cast<FwAssertArgType>(_status)
3646 #if FW_ENABLE_TEXT_LOGGING 3647 if (this->isConnected_logTextOut_OutputPort(0)) {
3648 #if FW_OBJECT_NAMES == 1 3649 const char* _formatString =
3650 "(%s) %s: Successfully initiated directory poll for %s (index %" PRIu8
")";
3652 const char* _formatString =
3653 "%s: Successfully initiated directory poll for %s (index %" PRIu8
")";
3657 (void) _logString.
format(
3660 this->m_objName.toChar(),
3662 "PollDirInitiated ",
3663 sourceDirectory.
toChar(),
3667 this->logTextOut_out(
3687 this->timeCaller_out(0, _logTime);
3697 #if FW_AMPCS_COMPATIBLE 3702 static_cast<FwAssertArgType>(_status)
3706 #if FW_AMPCS_COMPATIBLE 3709 static_cast<U8>(
sizeof(
U8))
3713 static_cast<FwAssertArgType>(_status)
3719 static_cast<FwAssertArgType>(_status)
3722 #if FW_AMPCS_COMPATIBLE 3725 static_cast<U8>(
sizeof(
U8))
3729 static_cast<FwAssertArgType>(_status)
3735 static_cast<FwAssertArgType>(_status)
3748 #if FW_ENABLE_TEXT_LOGGING 3749 if (this->isConnected_logTextOut_OutputPort(0)) {
3750 #if FW_OBJECT_NAMES == 1 3751 const char* _formatString =
3752 "(%s) %s: Successfully stopped directory poll for channel %" PRIu8
", index %" PRIu8
"";
3754 const char* _formatString =
3755 "%s: Successfully stopped directory poll for channel %" PRIu8
", index %" PRIu8
"";
3759 (void) _logString.
format(
3762 this->m_objName.toChar(),
3769 this->logTextOut_out(
3789 this->timeCaller_out(0, _logTime);
3799 #if FW_AMPCS_COMPATIBLE 3804 static_cast<FwAssertArgType>(_status)
3808 #if FW_AMPCS_COMPATIBLE 3811 static_cast<U8>(
sizeof(
U8))
3815 static_cast<FwAssertArgType>(_status)
3821 static_cast<FwAssertArgType>(_status)
3824 #if FW_AMPCS_COMPATIBLE 3827 static_cast<U8>(
sizeof(
U8))
3831 static_cast<FwAssertArgType>(_status)
3837 static_cast<FwAssertArgType>(_status)
3850 #if FW_ENABLE_TEXT_LOGGING 3851 if (this->isConnected_logTextOut_OutputPort(0)) {
3852 #if FW_OBJECT_NAMES == 1 3853 const char* _formatString =
3854 "(%s) %s: Cannot start directory poll - channel %" PRIu8
" poll %" PRIu8
" already in use";
3856 const char* _formatString =
3857 "%s: Cannot start directory poll - channel %" PRIu8
" poll %" PRIu8
" already in use";
3861 (void) _logString.
format(
3864 this->m_objName.toChar(),
3871 this->logTextOut_out(
3891 this->timeCaller_out(0, _logTime);
3901 #if FW_AMPCS_COMPATIBLE 3906 static_cast<FwAssertArgType>(_status)
3910 #if FW_AMPCS_COMPATIBLE 3913 static_cast<U8>(
sizeof(
U8))
3917 static_cast<FwAssertArgType>(_status)
3923 static_cast<FwAssertArgType>(_status)
3926 #if FW_AMPCS_COMPATIBLE 3929 static_cast<U8>(
sizeof(
U8))
3933 static_cast<FwAssertArgType>(_status)
3939 static_cast<FwAssertArgType>(_status)
3952 #if FW_ENABLE_TEXT_LOGGING 3953 if (this->isConnected_logTextOut_OutputPort(0)) {
3954 #if FW_OBJECT_NAMES == 1 3955 const char* _formatString =
3956 "(%s) %s: Cannot stop directory poll - channel %" PRIu8
" poll %" PRIu8
" is not active";
3958 const char* _formatString =
3959 "%s: Cannot stop directory poll - channel %" PRIu8
" poll %" PRIu8
" is not active";
3963 (void) _logString.
format(
3966 this->m_objName.toChar(),
3968 "PollDirNotActive ",
3973 this->logTextOut_out(
3993 this->timeCaller_out(0, _logTime);
4003 #if FW_AMPCS_COMPATIBLE 4008 static_cast<FwAssertArgType>(_status)
4012 #if FW_AMPCS_COMPATIBLE 4015 static_cast<U8>(
sizeof(
U8))
4019 static_cast<FwAssertArgType>(_status)
4025 static_cast<FwAssertArgType>(_status)
4028 #if FW_AMPCS_COMPATIBLE 4035 static_cast<FwAssertArgType>(_status)
4041 static_cast<FwAssertArgType>(_status)
4054 #if FW_ENABLE_TEXT_LOGGING 4055 if (this->isConnected_logTextOut_OutputPort(0)) {
4056 #if FW_OBJECT_NAMES == 1 4057 const char* _formatString =
4058 "(%s) %s: Set channel %" PRIu8
" to %s";
4060 const char* _formatString =
4061 "%s: Set channel %" PRIu8
" to %s";
4065 flowState.toString(flowStateStr);
4068 (void) _logString.
format(
4071 this->m_objName.toChar(),
4078 this->logTextOut_out(
4098 this->timeCaller_out(0, _logTime);
4108 #if FW_AMPCS_COMPATIBLE 4113 static_cast<FwAssertArgType>(_status)
4117 #if FW_AMPCS_COMPATIBLE 4120 static_cast<U8>(
sizeof(
U8))
4124 static_cast<FwAssertArgType>(_status)
4130 static_cast<FwAssertArgType>(_status)
4133 #if FW_AMPCS_COMPATIBLE 4136 static_cast<U8>(
sizeof(
U8))
4140 static_cast<FwAssertArgType>(_status)
4146 static_cast<FwAssertArgType>(_status)
4159 #if FW_ENABLE_TEXT_LOGGING 4160 if (this->isConnected_logTextOut_OutputPort(0)) {
4161 #if FW_OBJECT_NAMES == 1 4162 const char* _formatString =
4163 "(%s) %s: Invalid poll ID %" PRIu8
", maximum poll ID is %" PRIu8
"";
4165 const char* _formatString =
4166 "%s: Invalid poll ID %" PRIu8
", maximum poll ID is %" PRIu8
"";
4170 (void) _logString.
format(
4173 this->m_objName.toChar(),
4175 "InvalidChannelPoll ",
4180 this->logTextOut_out(
4197 this->timeCaller_out(0, _logTime);
4207 #if FW_AMPCS_COMPATIBLE 4212 static_cast<FwAssertArgType>(_status)
4216 #if FW_AMPCS_COMPATIBLE 4219 static_cast<U8>(
sizeof(U32))
4223 static_cast<FwAssertArgType>(_status)
4229 static_cast<FwAssertArgType>(_status)
4242 #if FW_ENABLE_TEXT_LOGGING 4243 if (this->isConnected_logTextOut_OutputPort(0)) {
4244 #if FW_OBJECT_NAMES == 1 4245 const char* _formatString =
4246 "(%s) %s: Invalid poll interval %" PRIu32
" seconds, must be non-zero";
4248 const char* _formatString =
4249 "%s: Invalid poll interval %" PRIu32
" seconds, must be non-zero";
4253 (void) _logString.
format(
4256 this->m_objName.toChar(),
4258 "InvalidPollInterval ",
4262 this->logTextOut_out(
4283 this->timeCaller_out(0, _logTime);
4293 #if FW_AMPCS_COMPATIBLE 4298 static_cast<FwAssertArgType>(_status)
4308 static_cast<FwAssertArgType>(_status)
4317 static_cast<FwAssertArgType>(_status)
4320 #if FW_AMPCS_COMPATIBLE 4323 static_cast<U8>(
sizeof(I32))
4327 static_cast<FwAssertArgType>(_status)
4333 static_cast<FwAssertArgType>(_status)
4346 #if FW_ENABLE_TEXT_LOGGING 4347 if (this->isConnected_logTextOut_OutputPort(0)) {
4348 #if FW_OBJECT_NAMES == 1 4349 const char* _formatString =
4350 "(%s) %s: Failed to move %s to %s error %" PRIi32
"";
4352 const char* _formatString =
4353 "%s: Failed to move %s to %s error %" PRIi32
"";
4357 (void) _logString.
format(
4360 this->m_objName.toChar(),
4362 "FailKeepFileMove ",
4368 this->logTextOut_out(
4389 this->timeCaller_out(0, _logTime);
4399 #if FW_AMPCS_COMPATIBLE 4404 static_cast<FwAssertArgType>(_status)
4414 static_cast<FwAssertArgType>(_status)
4423 static_cast<FwAssertArgType>(_status)
4426 #if FW_AMPCS_COMPATIBLE 4429 static_cast<U8>(
sizeof(I32))
4433 static_cast<FwAssertArgType>(_status)
4439 static_cast<FwAssertArgType>(_status)
4452 #if FW_ENABLE_TEXT_LOGGING 4453 if (this->isConnected_logTextOut_OutputPort(0)) {
4454 #if FW_OBJECT_NAMES == 1 4455 const char* _formatString =
4456 "(%s) %s: Failed to move %s to %s error %" PRIi32
"";
4458 const char* _formatString =
4459 "%s: Failed to move %s to %s error %" PRIi32
"";
4463 (void) _logString.
format(
4466 this->m_objName.toChar(),
4468 "FailPollFileMove ",
4474 this->logTextOut_out(
4494 this->timeCaller_out(0, _logTime);
4504 #if FW_AMPCS_COMPATIBLE 4509 static_cast<FwAssertArgType>(_status)
4513 #if FW_AMPCS_COMPATIBLE 4516 static_cast<U8>(
sizeof(
U8))
4520 static_cast<FwAssertArgType>(_status)
4526 static_cast<FwAssertArgType>(_status)
4529 #if FW_AMPCS_COMPATIBLE 4532 static_cast<U8>(
sizeof(I32))
4536 static_cast<FwAssertArgType>(_status)
4542 static_cast<FwAssertArgType>(_status)
4555 #if FW_ENABLE_TEXT_LOGGING 4556 if (this->isConnected_logTextOut_OutputPort(0)) {
4557 #if FW_OBJECT_NAMES == 1 4558 const char* _formatString =
4559 "(%s) %s: Failed to deserialize PDU header on channel %" PRIu8
", status %" PRIi32
"";
4561 const char* _formatString =
4562 "%s: Failed to deserialize PDU header on channel %" PRIu8
", status %" PRIi32
"";
4566 (void) _logString.
format(
4569 this->m_objName.toChar(),
4571 "FailPduHeaderDeserialization ",
4576 this->logTextOut_out(
4597 this->timeCaller_out(0, _logTime);
4607 #if FW_AMPCS_COMPATIBLE 4612 static_cast<FwAssertArgType>(_status)
4616 #if FW_AMPCS_COMPATIBLE 4619 static_cast<U8>(
sizeof(
U8))
4623 static_cast<FwAssertArgType>(_status)
4629 static_cast<FwAssertArgType>(_status)
4632 #if FW_AMPCS_COMPATIBLE 4639 static_cast<FwAssertArgType>(_status)
4645 static_cast<FwAssertArgType>(_status)
4648 #if FW_AMPCS_COMPATIBLE 4651 static_cast<U8>(
sizeof(I32))
4655 static_cast<FwAssertArgType>(_status)
4661 static_cast<FwAssertArgType>(_status)
4674 #if FW_ENABLE_TEXT_LOGGING 4675 if (this->isConnected_logTextOut_OutputPort(0)) {
4676 #if FW_OBJECT_NAMES == 1 4677 const char* _formatString =
4678 "(%s) %s: Failed to serialize %" PRIu8
" PDU on channel %s, status %" PRIi32
"";
4680 const char* _formatString =
4681 "%s: Failed to serialize %" PRIu8
" PDU on channel %s, status %" PRIi32
"";
4685 pduType.toString(pduTypeStr);
4688 (void) _logString.
format(
4691 this->m_objName.toChar(),
4693 "FailPduSerialization ",
4699 this->logTextOut_out(
4719 this->timeCaller_out(0, _logTime);
4729 #if FW_AMPCS_COMPATIBLE 4734 static_cast<FwAssertArgType>(_status)
4738 #if FW_AMPCS_COMPATIBLE 4741 static_cast<U8>(
sizeof(
U8))
4745 static_cast<FwAssertArgType>(_status)
4751 static_cast<FwAssertArgType>(_status)
4754 #if FW_AMPCS_COMPATIBLE 4757 static_cast<U8>(
sizeof(I32))
4761 static_cast<FwAssertArgType>(_status)
4767 static_cast<FwAssertArgType>(_status)
4780 #if FW_ENABLE_TEXT_LOGGING 4781 if (this->isConnected_logTextOut_OutputPort(0)) {
4782 #if FW_OBJECT_NAMES == 1 4783 const char* _formatString =
4784 "(%s) %s: Failed to deserialize Metadata PDU on channel %" PRIu8
", status %" PRIi32
"";
4786 const char* _formatString =
4787 "%s: Failed to deserialize Metadata PDU on channel %" PRIu8
", status %" PRIi32
"";
4791 (void) _logString.
format(
4794 this->m_objName.toChar(),
4796 "FailMetadataPduDeserialization ",
4801 this->logTextOut_out(
4821 this->timeCaller_out(0, _logTime);
4831 #if FW_AMPCS_COMPATIBLE 4836 static_cast<FwAssertArgType>(_status)
4840 #if FW_AMPCS_COMPATIBLE 4843 static_cast<U8>(
sizeof(
U8))
4847 static_cast<FwAssertArgType>(_status)
4853 static_cast<FwAssertArgType>(_status)
4856 #if FW_AMPCS_COMPATIBLE 4859 static_cast<U8>(
sizeof(I32))
4863 static_cast<FwAssertArgType>(_status)
4869 static_cast<FwAssertArgType>(_status)
4882 #if FW_ENABLE_TEXT_LOGGING 4883 if (this->isConnected_logTextOut_OutputPort(0)) {
4884 #if FW_OBJECT_NAMES == 1 4885 const char* _formatString =
4886 "(%s) %s: Failed to deserialize File Data PDU on channel %" PRIu8
", status %" PRIi32
"";
4888 const char* _formatString =
4889 "%s: Failed to deserialize File Data PDU on channel %" PRIu8
", status %" PRIi32
"";
4893 (void) _logString.
format(
4896 this->m_objName.toChar(),
4898 "FailFileDataPduDeserialization ",
4903 this->logTextOut_out(
4923 this->timeCaller_out(0, _logTime);
4933 #if FW_AMPCS_COMPATIBLE 4938 static_cast<FwAssertArgType>(_status)
4942 #if FW_AMPCS_COMPATIBLE 4945 static_cast<U8>(
sizeof(
U8))
4949 static_cast<FwAssertArgType>(_status)
4955 static_cast<FwAssertArgType>(_status)
4958 #if FW_AMPCS_COMPATIBLE 4961 static_cast<U8>(
sizeof(I32))
4965 static_cast<FwAssertArgType>(_status)
4971 static_cast<FwAssertArgType>(_status)
4984 #if FW_ENABLE_TEXT_LOGGING 4985 if (this->isConnected_logTextOut_OutputPort(0)) {
4986 #if FW_OBJECT_NAMES == 1 4987 const char* _formatString =
4988 "(%s) %s: Failed to deserialize EOF PDU on channel %" PRIu8
", status %" PRIi32
"";
4990 const char* _formatString =
4991 "%s: Failed to deserialize EOF PDU on channel %" PRIu8
", status %" PRIi32
"";
4995 (void) _logString.
format(
4998 this->m_objName.toChar(),
5000 "FailEofPduDeserialization ",
5005 this->logTextOut_out(
5025 this->timeCaller_out(0, _logTime);
5035 #if FW_AMPCS_COMPATIBLE 5040 static_cast<FwAssertArgType>(_status)
5044 #if FW_AMPCS_COMPATIBLE 5047 static_cast<U8>(
sizeof(
U8))
5051 static_cast<FwAssertArgType>(_status)
5057 static_cast<FwAssertArgType>(_status)
5060 #if FW_AMPCS_COMPATIBLE 5063 static_cast<U8>(
sizeof(I32))
5067 static_cast<FwAssertArgType>(_status)
5073 static_cast<FwAssertArgType>(_status)
5086 #if FW_ENABLE_TEXT_LOGGING 5087 if (this->isConnected_logTextOut_OutputPort(0)) {
5088 #if FW_OBJECT_NAMES == 1 5089 const char* _formatString =
5090 "(%s) %s: Failed to deserialize ACK PDU on channel %" PRIu8
", status %" PRIi32
"";
5092 const char* _formatString =
5093 "%s: Failed to deserialize ACK PDU on channel %" PRIu8
", status %" PRIi32
"";
5097 (void) _logString.
format(
5100 this->m_objName.toChar(),
5102 "FailAckPduDeserialization ",
5107 this->logTextOut_out(
5127 this->timeCaller_out(0, _logTime);
5137 #if FW_AMPCS_COMPATIBLE 5142 static_cast<FwAssertArgType>(_status)
5146 #if FW_AMPCS_COMPATIBLE 5149 static_cast<U8>(
sizeof(
U8))
5153 static_cast<FwAssertArgType>(_status)
5159 static_cast<FwAssertArgType>(_status)
5162 #if FW_AMPCS_COMPATIBLE 5165 static_cast<U8>(
sizeof(I32))
5169 static_cast<FwAssertArgType>(_status)
5175 static_cast<FwAssertArgType>(_status)
5188 #if FW_ENABLE_TEXT_LOGGING 5189 if (this->isConnected_logTextOut_OutputPort(0)) {
5190 #if FW_OBJECT_NAMES == 1 5191 const char* _formatString =
5192 "(%s) %s: Failed to deserialize FIN PDU on channel %" PRIu8
", status %" PRIi32
"";
5194 const char* _formatString =
5195 "%s: Failed to deserialize FIN PDU on channel %" PRIu8
", status %" PRIi32
"";
5199 (void) _logString.
format(
5202 this->m_objName.toChar(),
5204 "FailFinPduDeserialization ",
5209 this->logTextOut_out(
5229 this->timeCaller_out(0, _logTime);
5239 #if FW_AMPCS_COMPATIBLE 5244 static_cast<FwAssertArgType>(_status)
5248 #if FW_AMPCS_COMPATIBLE 5251 static_cast<U8>(
sizeof(
U8))
5255 static_cast<FwAssertArgType>(_status)
5261 static_cast<FwAssertArgType>(_status)
5264 #if FW_AMPCS_COMPATIBLE 5267 static_cast<U8>(
sizeof(I32))
5271 static_cast<FwAssertArgType>(_status)
5277 static_cast<FwAssertArgType>(_status)
5290 #if FW_ENABLE_TEXT_LOGGING 5291 if (this->isConnected_logTextOut_OutputPort(0)) {
5292 #if FW_OBJECT_NAMES == 1 5293 const char* _formatString =
5294 "(%s) %s: Failed to deserialize NAK PDU on channel %" PRIu8
", status %" PRIi32
"";
5296 const char* _formatString =
5297 "%s: Failed to deserialize NAK PDU on channel %" PRIu8
", status %" PRIi32
"";
5301 (void) _logString.
format(
5304 this->m_objName.toChar(),
5306 "FailNakPduDeserialization ",
5311 this->logTextOut_out(
5332 this->timeCaller_out(0, _logTime);
5342 #if FW_AMPCS_COMPATIBLE 5347 static_cast<FwAssertArgType>(_status)
5351 #if FW_AMPCS_COMPATIBLE 5358 static_cast<FwAssertArgType>(_status)
5364 static_cast<FwAssertArgType>(_status)
5367 #if FW_AMPCS_COMPATIBLE 5370 static_cast<U8>(
sizeof(U32))
5374 static_cast<FwAssertArgType>(_status)
5380 static_cast<FwAssertArgType>(_status)
5383 #if FW_AMPCS_COMPATIBLE 5386 static_cast<U8>(
sizeof(U32))
5390 static_cast<FwAssertArgType>(_status)
5396 static_cast<FwAssertArgType>(_status)
5409 #if FW_ENABLE_TEXT_LOGGING 5410 if (this->isConnected_logTextOut_OutputPort(0)) {
5411 #if FW_OBJECT_NAMES == 1 5412 const char* _formatString =
5413 "(%s) %s: RX class %s ACK limit reached for transaction %" PRIu32
":%" PRIu32
", no fin-ack sent";
5415 const char* _formatString =
5416 "%s: RX class %s ACK limit reached for transaction %" PRIu32
":%" PRIu32
", no fin-ack sent";
5420 cfdpClass.toString(cfdpClassStr);
5423 (void) _logString.
format(
5426 this->m_objName.toChar(),
5428 "RxAckLimitReached ",
5434 this->logTextOut_out(
5456 this->timeCaller_out(0, _logTime);
5466 #if FW_AMPCS_COMPATIBLE 5471 static_cast<FwAssertArgType>(_status)
5475 #if FW_AMPCS_COMPATIBLE 5482 static_cast<FwAssertArgType>(_status)
5488 static_cast<FwAssertArgType>(_status)
5491 #if FW_AMPCS_COMPATIBLE 5494 static_cast<U8>(
sizeof(U32))
5498 static_cast<FwAssertArgType>(_status)
5504 static_cast<FwAssertArgType>(_status)
5507 #if FW_AMPCS_COMPATIBLE 5510 static_cast<U8>(
sizeof(U32))
5514 static_cast<FwAssertArgType>(_status)
5520 static_cast<FwAssertArgType>(_status)
5529 static_cast<FwAssertArgType>(_status)
5542 #if FW_ENABLE_TEXT_LOGGING 5543 if (this->isConnected_logTextOut_OutputPort(0)) {
5544 #if FW_OBJECT_NAMES == 1 5545 const char* _formatString =
5546 "(%s) %s: RX class %s transaction %" PRIu32
":%" PRIu32
" creating temp file %s without metadata";
5548 const char* _formatString =
5549 "%s: RX class %s transaction %" PRIu32
":%" PRIu32
" creating temp file %s without metadata";
5553 cfdpClass.toString(cfdpClassStr);
5556 (void) _logString.
format(
5559 this->m_objName.toChar(),
5561 "RxTempFileCreated ",
5568 this->logTextOut_out(
5591 this->timeCaller_out(0, _logTime);
5601 #if FW_AMPCS_COMPATIBLE 5606 static_cast<FwAssertArgType>(_status)
5610 #if FW_AMPCS_COMPATIBLE 5617 static_cast<FwAssertArgType>(_status)
5623 static_cast<FwAssertArgType>(_status)
5626 #if FW_AMPCS_COMPATIBLE 5629 static_cast<U8>(
sizeof(U32))
5633 static_cast<FwAssertArgType>(_status)
5639 static_cast<FwAssertArgType>(_status)
5642 #if FW_AMPCS_COMPATIBLE 5645 static_cast<U8>(
sizeof(U32))
5649 static_cast<FwAssertArgType>(_status)
5655 static_cast<FwAssertArgType>(_status)
5664 static_cast<FwAssertArgType>(_status)
5667 #if FW_AMPCS_COMPATIBLE 5670 static_cast<U8>(
sizeof(I32))
5674 static_cast<FwAssertArgType>(_status)
5680 static_cast<FwAssertArgType>(_status)
5693 #if FW_ENABLE_TEXT_LOGGING 5694 if (this->isConnected_logTextOut_OutputPort(0)) {
5695 #if FW_OBJECT_NAMES == 1 5696 const char* _formatString =
5697 "(%s) %s: RX class %s transaction %" PRIu32
":%" PRIu32
" failed to create file %s, error=%" PRIi32
"";
5699 const char* _formatString =
5700 "%s: RX class %s transaction %" PRIu32
":%" PRIu32
" failed to create file %s, error=%" PRIi32
"";
5704 cfdpClass.toString(cfdpClassStr);
5707 (void) _logString.
format(
5710 this->m_objName.toChar(),
5712 "RxFileCreateFailed ",
5720 this->logTextOut_out(
5743 this->timeCaller_out(0, _logTime);
5753 #if FW_AMPCS_COMPATIBLE 5758 static_cast<FwAssertArgType>(_status)
5762 #if FW_AMPCS_COMPATIBLE 5769 static_cast<FwAssertArgType>(_status)
5775 static_cast<FwAssertArgType>(_status)
5778 #if FW_AMPCS_COMPATIBLE 5781 static_cast<U8>(
sizeof(U32))
5785 static_cast<FwAssertArgType>(_status)
5791 static_cast<FwAssertArgType>(_status)
5794 #if FW_AMPCS_COMPATIBLE 5797 static_cast<U8>(
sizeof(U32))
5801 static_cast<FwAssertArgType>(_status)
5807 static_cast<FwAssertArgType>(_status)
5810 #if FW_AMPCS_COMPATIBLE 5813 static_cast<U8>(
sizeof(U32))
5817 static_cast<FwAssertArgType>(_status)
5823 static_cast<FwAssertArgType>(_status)
5826 #if FW_AMPCS_COMPATIBLE 5829 static_cast<U8>(
sizeof(U32))
5833 static_cast<FwAssertArgType>(_status)
5839 static_cast<FwAssertArgType>(_status)
5852 #if FW_ENABLE_TEXT_LOGGING 5853 if (this->isConnected_logTextOut_OutputPort(0)) {
5854 #if FW_OBJECT_NAMES == 1 5855 const char* _formatString =
5856 "(%s) %s: RX class %s transaction %" PRIu32
":%" PRIu32
" CRC mismatch: expected 0x%" PRIx32
" actual 0x%" PRIx32
"";
5858 const char* _formatString =
5859 "%s: RX class %s transaction %" PRIu32
":%" PRIu32
" CRC mismatch: expected 0x%" PRIx32
" actual 0x%" PRIx32
"";
5863 cfdpClass.toString(cfdpClassStr);
5866 (void) _logString.
format(
5869 this->m_objName.toChar(),
5879 this->logTextOut_out(
5900 this->timeCaller_out(0, _logTime);
5910 #if FW_AMPCS_COMPATIBLE 5915 static_cast<FwAssertArgType>(_status)
5919 #if FW_AMPCS_COMPATIBLE 5926 static_cast<FwAssertArgType>(_status)
5932 static_cast<FwAssertArgType>(_status)
5935 #if FW_AMPCS_COMPATIBLE 5938 static_cast<U8>(
sizeof(U32))
5942 static_cast<FwAssertArgType>(_status)
5948 static_cast<FwAssertArgType>(_status)
5951 #if FW_AMPCS_COMPATIBLE 5954 static_cast<U8>(
sizeof(U32))
5958 static_cast<FwAssertArgType>(_status)
5964 static_cast<FwAssertArgType>(_status)
5977 #if FW_ENABLE_TEXT_LOGGING 5978 if (this->isConnected_logTextOut_OutputPort(0)) {
5979 #if FW_OBJECT_NAMES == 1 5980 const char* _formatString =
5981 "(%s) %s: RX class %s transaction %" PRIu32
":%" PRIu32
" NAK limit reached";
5983 const char* _formatString =
5984 "%s: RX class %s transaction %" PRIu32
":%" PRIu32
" NAK limit reached";
5988 cfdpClass.toString(cfdpClassStr);
5991 (void) _logString.
format(
5994 this->m_objName.toChar(),
5996 "RxNakLimitReached ",
6002 this->logTextOut_out(
6025 this->timeCaller_out(0, _logTime);
6035 #if FW_AMPCS_COMPATIBLE 6040 static_cast<FwAssertArgType>(_status)
6044 #if FW_AMPCS_COMPATIBLE 6051 static_cast<FwAssertArgType>(_status)
6057 static_cast<FwAssertArgType>(_status)
6060 #if FW_AMPCS_COMPATIBLE 6063 static_cast<U8>(
sizeof(U32))
6067 static_cast<FwAssertArgType>(_status)
6073 static_cast<FwAssertArgType>(_status)
6076 #if FW_AMPCS_COMPATIBLE 6079 static_cast<U8>(
sizeof(U32))
6083 static_cast<FwAssertArgType>(_status)
6089 static_cast<FwAssertArgType>(_status)
6092 #if FW_AMPCS_COMPATIBLE 6095 static_cast<U8>(
sizeof(U32))
6099 static_cast<FwAssertArgType>(_status)
6105 static_cast<FwAssertArgType>(_status)
6108 #if FW_AMPCS_COMPATIBLE 6111 static_cast<U8>(
sizeof(I32))
6115 static_cast<FwAssertArgType>(_status)
6121 static_cast<FwAssertArgType>(_status)
6134 #if FW_ENABLE_TEXT_LOGGING 6135 if (this->isConnected_logTextOut_OutputPort(0)) {
6136 #if FW_OBJECT_NAMES == 1 6137 const char* _formatString =
6138 "(%s) %s: RX class %s transaction %" PRIu32
":%" PRIu32
" failed to seek to offset %" PRIu32
", error=%" PRIi32
"";
6140 const char* _formatString =
6141 "%s: RX class %s transaction %" PRIu32
":%" PRIu32
" failed to seek to offset %" PRIu32
", error=%" PRIi32
"";
6145 cfdpClass.toString(cfdpClassStr);
6148 (void) _logString.
format(
6151 this->m_objName.toChar(),
6161 this->logTextOut_out(
6184 this->timeCaller_out(0, _logTime);
6194 #if FW_AMPCS_COMPATIBLE 6199 static_cast<FwAssertArgType>(_status)
6203 #if FW_AMPCS_COMPATIBLE 6210 static_cast<FwAssertArgType>(_status)
6216 static_cast<FwAssertArgType>(_status)
6219 #if FW_AMPCS_COMPATIBLE 6222 static_cast<U8>(
sizeof(U32))
6226 static_cast<FwAssertArgType>(_status)
6232 static_cast<FwAssertArgType>(_status)
6235 #if FW_AMPCS_COMPATIBLE 6238 static_cast<U8>(
sizeof(U32))
6242 static_cast<FwAssertArgType>(_status)
6248 static_cast<FwAssertArgType>(_status)
6251 #if FW_AMPCS_COMPATIBLE 6254 static_cast<U8>(
sizeof(U32))
6258 static_cast<FwAssertArgType>(_status)
6264 static_cast<FwAssertArgType>(_status)
6267 #if FW_AMPCS_COMPATIBLE 6270 static_cast<U8>(
sizeof(I32))
6274 static_cast<FwAssertArgType>(_status)
6280 static_cast<FwAssertArgType>(_status)
6293 #if FW_ENABLE_TEXT_LOGGING 6294 if (this->isConnected_logTextOut_OutputPort(0)) {
6295 #if FW_OBJECT_NAMES == 1 6296 const char* _formatString =
6297 "(%s) %s: RX class %s transaction %" PRIu32
":%" PRIu32
" write failed: expected %" PRIu32
" bytes, got %" PRIi32
"";
6299 const char* _formatString =
6300 "%s: RX class %s transaction %" PRIu32
":%" PRIu32
" write failed: expected %" PRIu32
" bytes, got %" PRIi32
"";
6304 cfdpClass.toString(cfdpClassStr);
6307 (void) _logString.
format(
6310 this->m_objName.toChar(),
6320 this->logTextOut_out(
6344 this->timeCaller_out(0, _logTime);
6354 #if FW_AMPCS_COMPATIBLE 6359 static_cast<FwAssertArgType>(_status)
6363 #if FW_AMPCS_COMPATIBLE 6370 static_cast<FwAssertArgType>(_status)
6376 static_cast<FwAssertArgType>(_status)
6379 #if FW_AMPCS_COMPATIBLE 6382 static_cast<U8>(
sizeof(U32))
6386 static_cast<FwAssertArgType>(_status)
6392 static_cast<FwAssertArgType>(_status)
6395 #if FW_AMPCS_COMPATIBLE 6398 static_cast<U8>(
sizeof(U32))
6402 static_cast<FwAssertArgType>(_status)
6408 static_cast<FwAssertArgType>(_status)
6411 #if FW_AMPCS_COMPATIBLE 6414 static_cast<U8>(
sizeof(U32))
6418 static_cast<FwAssertArgType>(_status)
6424 static_cast<FwAssertArgType>(_status)
6427 #if FW_AMPCS_COMPATIBLE 6430 static_cast<U8>(
sizeof(U32))
6434 static_cast<FwAssertArgType>(_status)
6440 static_cast<FwAssertArgType>(_status)
6443 #if FW_AMPCS_COMPATIBLE 6446 static_cast<U8>(
sizeof(U32))
6450 static_cast<FwAssertArgType>(_status)
6456 static_cast<FwAssertArgType>(_status)
6469 #if FW_ENABLE_TEXT_LOGGING 6470 if (this->isConnected_logTextOut_OutputPort(0)) {
6471 #if FW_OBJECT_NAMES == 1 6472 const char* _formatString =
6473 "(%s) %s: RX class %s transaction %" PRIu32
":%" PRIu32
" file data [%" PRIu32
", +%" PRIu32
"] exceeds file size bound %" PRIu32
", PDU rejected";
6475 const char* _formatString =
6476 "%s: RX class %s transaction %" PRIu32
":%" PRIu32
" file data [%" PRIu32
", +%" PRIu32
"] exceeds file size bound %" PRIu32
", PDU rejected";
6480 cfdpClass.toString(cfdpClassStr);
6483 (void) _logString.
format(
6486 this->m_objName.toChar(),
6488 "RxFileDataOutOfBounds ",
6497 this->logTextOut_out(
6520 this->timeCaller_out(0, _logTime);
6530 #if FW_AMPCS_COMPATIBLE 6535 static_cast<FwAssertArgType>(_status)
6539 #if FW_AMPCS_COMPATIBLE 6546 static_cast<FwAssertArgType>(_status)
6552 static_cast<FwAssertArgType>(_status)
6555 #if FW_AMPCS_COMPATIBLE 6558 static_cast<U8>(
sizeof(U32))
6562 static_cast<FwAssertArgType>(_status)
6568 static_cast<FwAssertArgType>(_status)
6571 #if FW_AMPCS_COMPATIBLE 6574 static_cast<U8>(
sizeof(U32))
6578 static_cast<FwAssertArgType>(_status)
6584 static_cast<FwAssertArgType>(_status)
6587 #if FW_AMPCS_COMPATIBLE 6590 static_cast<U8>(
sizeof(U32))
6594 static_cast<FwAssertArgType>(_status)
6600 static_cast<FwAssertArgType>(_status)
6603 #if FW_AMPCS_COMPATIBLE 6606 static_cast<U8>(
sizeof(U32))
6610 static_cast<FwAssertArgType>(_status)
6616 static_cast<FwAssertArgType>(_status)
6629 #if FW_ENABLE_TEXT_LOGGING 6630 if (this->isConnected_logTextOut_OutputPort(0)) {
6631 #if FW_OBJECT_NAMES == 1 6632 const char* _formatString =
6633 "(%s) %s: RX class %s transaction %" PRIu32
":%" PRIu32
" EOF file size mismatch: expected %" PRIu32
" got %" PRIu32
"";
6635 const char* _formatString =
6636 "%s: RX class %s transaction %" PRIu32
":%" PRIu32
" EOF file size mismatch: expected %" PRIu32
" got %" PRIu32
"";
6640 cfdpClass.toString(cfdpClassStr);
6643 (void) _logString.
format(
6646 this->m_objName.toChar(),
6648 "RxFileSizeMismatch ",
6656 this->logTextOut_out(
6677 this->timeCaller_out(0, _logTime);
6687 #if FW_AMPCS_COMPATIBLE 6692 static_cast<FwAssertArgType>(_status)
6696 #if FW_AMPCS_COMPATIBLE 6703 static_cast<FwAssertArgType>(_status)
6709 static_cast<FwAssertArgType>(_status)
6712 #if FW_AMPCS_COMPATIBLE 6715 static_cast<U8>(
sizeof(U32))
6719 static_cast<FwAssertArgType>(_status)
6725 static_cast<FwAssertArgType>(_status)
6728 #if FW_AMPCS_COMPATIBLE 6731 static_cast<U8>(
sizeof(U32))
6735 static_cast<FwAssertArgType>(_status)
6741 static_cast<FwAssertArgType>(_status)
6754 #if FW_ENABLE_TEXT_LOGGING 6755 if (this->isConnected_logTextOut_OutputPort(0)) {
6756 #if FW_OBJECT_NAMES == 1 6757 const char* _formatString =
6758 "(%s) %s: RX class %s transaction %" PRIu32
":%" PRIu32
" cancelled by sender";
6760 const char* _formatString =
6761 "%s: RX class %s transaction %" PRIu32
":%" PRIu32
" cancelled by sender";
6765 cfdpClass.toString(cfdpClassStr);
6768 (void) _logString.
format(
6771 this->m_objName.toChar(),
6773 "RxEofCancelReceived ",
6779 this->logTextOut_out(
6801 this->timeCaller_out(0, _logTime);
6811 #if FW_AMPCS_COMPATIBLE 6816 static_cast<FwAssertArgType>(_status)
6820 #if FW_AMPCS_COMPATIBLE 6827 static_cast<FwAssertArgType>(_status)
6833 static_cast<FwAssertArgType>(_status)
6836 #if FW_AMPCS_COMPATIBLE 6839 static_cast<U8>(
sizeof(U32))
6843 static_cast<FwAssertArgType>(_status)
6849 static_cast<FwAssertArgType>(_status)
6852 #if FW_AMPCS_COMPATIBLE 6855 static_cast<U8>(
sizeof(U32))
6859 static_cast<FwAssertArgType>(_status)
6865 static_cast<FwAssertArgType>(_status)
6868 #if FW_AMPCS_COMPATIBLE 6871 static_cast<U8>(
sizeof(
U8))
6875 static_cast<FwAssertArgType>(_status)
6881 static_cast<FwAssertArgType>(_status)
6894 #if FW_ENABLE_TEXT_LOGGING 6895 if (this->isConnected_logTextOut_OutputPort(0)) {
6896 #if FW_OBJECT_NAMES == 1 6897 const char* _formatString =
6898 "(%s) %s: RX class %s transaction %" PRIu32
":%" PRIu32
" received EOF with error condition code %" PRIu8
"";
6900 const char* _formatString =
6901 "%s: RX class %s transaction %" PRIu32
":%" PRIu32
" received EOF with error condition code %" PRIu8
"";
6905 cfdpClass.toString(cfdpClassStr);
6908 (void) _logString.
format(
6911 this->m_objName.toChar(),
6920 this->logTextOut_out(
6943 this->timeCaller_out(0, _logTime);
6953 #if FW_AMPCS_COMPATIBLE 6958 static_cast<FwAssertArgType>(_status)
6962 #if FW_AMPCS_COMPATIBLE 6969 static_cast<FwAssertArgType>(_status)
6975 static_cast<FwAssertArgType>(_status)
6978 #if FW_AMPCS_COMPATIBLE 6981 static_cast<U8>(
sizeof(U32))
6985 static_cast<FwAssertArgType>(_status)
6991 static_cast<FwAssertArgType>(_status)
6994 #if FW_AMPCS_COMPATIBLE 6997 static_cast<U8>(
sizeof(U32))
7001 static_cast<FwAssertArgType>(_status)
7007 static_cast<FwAssertArgType>(_status)
7010 #if FW_AMPCS_COMPATIBLE 7013 static_cast<U8>(
sizeof(U32))
7017 static_cast<FwAssertArgType>(_status)
7023 static_cast<FwAssertArgType>(_status)
7026 #if FW_AMPCS_COMPATIBLE 7029 static_cast<U8>(
sizeof(I32))
7033 static_cast<FwAssertArgType>(_status)
7039 static_cast<FwAssertArgType>(_status)
7052 #if FW_ENABLE_TEXT_LOGGING 7053 if (this->isConnected_logTextOut_OutputPort(0)) {
7054 #if FW_OBJECT_NAMES == 1 7055 const char* _formatString =
7056 "(%s) %s: RX class %s transaction %" PRIu32
":%" PRIu32
" failed to seek offset %" PRIu32
" during CRC calculation, error=%" PRIi32
"";
7058 const char* _formatString =
7059 "%s: RX class %s transaction %" PRIu32
":%" PRIu32
" failed to seek offset %" PRIu32
" during CRC calculation, error=%" PRIi32
"";
7063 cfdpClass.toString(cfdpClassStr);
7066 (void) _logString.
format(
7069 this->m_objName.toChar(),
7079 this->logTextOut_out(
7102 this->timeCaller_out(0, _logTime);
7112 #if FW_AMPCS_COMPATIBLE 7117 static_cast<FwAssertArgType>(_status)
7121 #if FW_AMPCS_COMPATIBLE 7128 static_cast<FwAssertArgType>(_status)
7134 static_cast<FwAssertArgType>(_status)
7137 #if FW_AMPCS_COMPATIBLE 7140 static_cast<U8>(
sizeof(U32))
7144 static_cast<FwAssertArgType>(_status)
7150 static_cast<FwAssertArgType>(_status)
7153 #if FW_AMPCS_COMPATIBLE 7156 static_cast<U8>(
sizeof(U32))
7160 static_cast<FwAssertArgType>(_status)
7166 static_cast<FwAssertArgType>(_status)
7169 #if FW_AMPCS_COMPATIBLE 7172 static_cast<U8>(
sizeof(U32))
7176 static_cast<FwAssertArgType>(_status)
7182 static_cast<FwAssertArgType>(_status)
7185 #if FW_AMPCS_COMPATIBLE 7188 static_cast<U8>(
sizeof(I32))
7192 static_cast<FwAssertArgType>(_status)
7198 static_cast<FwAssertArgType>(_status)
7211 #if FW_ENABLE_TEXT_LOGGING 7212 if (this->isConnected_logTextOut_OutputPort(0)) {
7213 #if FW_OBJECT_NAMES == 1 7214 const char* _formatString =
7215 "(%s) %s: RX class %s transaction %" PRIu32
":%" PRIu32
" failed to read during CRC calculation: expected %" PRIu32
" bytes, got %" PRIi32
"";
7217 const char* _formatString =
7218 "%s: RX class %s transaction %" PRIu32
":%" PRIu32
" failed to read during CRC calculation: expected %" PRIu32
" bytes, got %" PRIi32
"";
7222 cfdpClass.toString(cfdpClassStr);
7225 (void) _logString.
format(
7228 this->m_objName.toChar(),
7238 this->logTextOut_out(
7261 this->timeCaller_out(0, _logTime);
7271 #if FW_AMPCS_COMPATIBLE 7276 static_cast<FwAssertArgType>(_status)
7280 #if FW_AMPCS_COMPATIBLE 7287 static_cast<FwAssertArgType>(_status)
7293 static_cast<FwAssertArgType>(_status)
7296 #if FW_AMPCS_COMPATIBLE 7299 static_cast<U8>(
sizeof(U32))
7303 static_cast<FwAssertArgType>(_status)
7309 static_cast<FwAssertArgType>(_status)
7312 #if FW_AMPCS_COMPATIBLE 7315 static_cast<U8>(
sizeof(U32))
7319 static_cast<FwAssertArgType>(_status)
7325 static_cast<FwAssertArgType>(_status)
7328 #if FW_AMPCS_COMPATIBLE 7331 static_cast<U8>(
sizeof(U32))
7335 static_cast<FwAssertArgType>(_status)
7341 static_cast<FwAssertArgType>(_status)
7344 #if FW_AMPCS_COMPATIBLE 7347 static_cast<U8>(
sizeof(U32))
7351 static_cast<FwAssertArgType>(_status)
7357 static_cast<FwAssertArgType>(_status)
7370 #if FW_ENABLE_TEXT_LOGGING 7371 if (this->isConnected_logTextOut_OutputPort(0)) {
7372 #if FW_OBJECT_NAMES == 1 7373 const char* _formatString =
7374 "(%s) %s: RX class %s transaction %" PRIu32
":%" PRIu32
" EOF/metadata size mismatch: metadata=%" PRIu32
", EOF=%" PRIu32
"";
7376 const char* _formatString =
7377 "%s: RX class %s transaction %" PRIu32
":%" PRIu32
" EOF/metadata size mismatch: metadata=%" PRIu32
", EOF=%" PRIu32
"";
7381 cfdpClass.toString(cfdpClassStr);
7384 (void) _logString.
format(
7387 this->m_objName.toChar(),
7389 "RxEofMdSizeMismatch ",
7397 this->logTextOut_out(
7421 this->timeCaller_out(0, _logTime);
7431 #if FW_AMPCS_COMPATIBLE 7436 static_cast<FwAssertArgType>(_status)
7440 #if FW_AMPCS_COMPATIBLE 7447 static_cast<FwAssertArgType>(_status)
7453 static_cast<FwAssertArgType>(_status)
7456 #if FW_AMPCS_COMPATIBLE 7459 static_cast<U8>(
sizeof(U32))
7463 static_cast<FwAssertArgType>(_status)
7469 static_cast<FwAssertArgType>(_status)
7472 #if FW_AMPCS_COMPATIBLE 7475 static_cast<U8>(
sizeof(U32))
7479 static_cast<FwAssertArgType>(_status)
7485 static_cast<FwAssertArgType>(_status)
7494 static_cast<FwAssertArgType>(_status)
7503 static_cast<FwAssertArgType>(_status)
7506 #if FW_AMPCS_COMPATIBLE 7509 static_cast<U8>(
sizeof(I32))
7513 static_cast<FwAssertArgType>(_status)
7519 static_cast<FwAssertArgType>(_status)
7532 #if FW_ENABLE_TEXT_LOGGING 7533 if (this->isConnected_logTextOut_OutputPort(0)) {
7534 #if FW_OBJECT_NAMES == 1 7535 const char* _formatString =
7536 "(%s) %s: RX class %s transaction %" PRIu32
":%" PRIu32
" failed to rename %s to %s, error=%" PRIi32
"";
7538 const char* _formatString =
7539 "%s: RX class %s transaction %" PRIu32
":%" PRIu32
" failed to rename %s to %s, error=%" PRIi32
"";
7543 cfdpClass.toString(cfdpClassStr);
7546 (void) _logString.
format(
7549 this->m_objName.toChar(),
7551 "RxFileRenameFailed ",
7560 this->logTextOut_out(
7583 this->timeCaller_out(0, _logTime);
7593 #if FW_AMPCS_COMPATIBLE 7598 static_cast<FwAssertArgType>(_status)
7602 #if FW_AMPCS_COMPATIBLE 7609 static_cast<FwAssertArgType>(_status)
7615 static_cast<FwAssertArgType>(_status)
7618 #if FW_AMPCS_COMPATIBLE 7621 static_cast<U8>(
sizeof(U32))
7625 static_cast<FwAssertArgType>(_status)
7631 static_cast<FwAssertArgType>(_status)
7634 #if FW_AMPCS_COMPATIBLE 7637 static_cast<U8>(
sizeof(U32))
7641 static_cast<FwAssertArgType>(_status)
7647 static_cast<FwAssertArgType>(_status)
7656 static_cast<FwAssertArgType>(_status)
7659 #if FW_AMPCS_COMPATIBLE 7662 static_cast<U8>(
sizeof(I32))
7666 static_cast<FwAssertArgType>(_status)
7672 static_cast<FwAssertArgType>(_status)
7685 #if FW_ENABLE_TEXT_LOGGING 7686 if (this->isConnected_logTextOut_OutputPort(0)) {
7687 #if FW_OBJECT_NAMES == 1 7688 const char* _formatString =
7689 "(%s) %s: RX class %s transaction %" PRIu32
":%" PRIu32
" failed to reopen file %s after rename, error=%" PRIi32
"";
7691 const char* _formatString =
7692 "%s: RX class %s transaction %" PRIu32
":%" PRIu32
" failed to reopen file %s after rename, error=%" PRIi32
"";
7696 cfdpClass.toString(cfdpClassStr);
7699 (void) _logString.
format(
7702 this->m_objName.toChar(),
7704 "RxFileReopenFailed ",
7712 this->logTextOut_out(
7733 this->timeCaller_out(0, _logTime);
7743 #if FW_AMPCS_COMPATIBLE 7748 static_cast<FwAssertArgType>(_status)
7752 #if FW_AMPCS_COMPATIBLE 7759 static_cast<FwAssertArgType>(_status)
7765 static_cast<FwAssertArgType>(_status)
7768 #if FW_AMPCS_COMPATIBLE 7771 static_cast<U8>(
sizeof(U32))
7775 static_cast<FwAssertArgType>(_status)
7781 static_cast<FwAssertArgType>(_status)
7784 #if FW_AMPCS_COMPATIBLE 7787 static_cast<U8>(
sizeof(U32))
7791 static_cast<FwAssertArgType>(_status)
7797 static_cast<FwAssertArgType>(_status)
7810 #if FW_ENABLE_TEXT_LOGGING 7811 if (this->isConnected_logTextOut_OutputPort(0)) {
7812 #if FW_OBJECT_NAMES == 1 7813 const char* _formatString =
7814 "(%s) %s: RX class %s transaction %" PRIu32
":%" PRIu32
" inactivity timer expired";
7816 const char* _formatString =
7817 "%s: RX class %s transaction %" PRIu32
":%" PRIu32
" inactivity timer expired";
7821 cfdpClass.toString(cfdpClassStr);
7824 (void) _logString.
format(
7827 this->m_objName.toChar(),
7829 "RxInactivityTimeout ",
7835 this->logTextOut_out(
7858 this->timeCaller_out(0, _logTime);
7868 #if FW_AMPCS_COMPATIBLE 7873 static_cast<FwAssertArgType>(_status)
7877 #if FW_AMPCS_COMPATIBLE 7884 static_cast<FwAssertArgType>(_status)
7890 static_cast<FwAssertArgType>(_status)
7893 #if FW_AMPCS_COMPATIBLE 7896 static_cast<U8>(
sizeof(U32))
7900 static_cast<FwAssertArgType>(_status)
7906 static_cast<FwAssertArgType>(_status)
7909 #if FW_AMPCS_COMPATIBLE 7912 static_cast<U8>(
sizeof(U32))
7916 static_cast<FwAssertArgType>(_status)
7922 static_cast<FwAssertArgType>(_status)
7925 #if FW_AMPCS_COMPATIBLE 7928 static_cast<U8>(
sizeof(
U8))
7932 static_cast<FwAssertArgType>(_status)
7938 static_cast<FwAssertArgType>(_status)
7941 #if FW_AMPCS_COMPATIBLE 7944 static_cast<U8>(
sizeof(
U8))
7948 static_cast<FwAssertArgType>(_status)
7954 static_cast<FwAssertArgType>(_status)
7967 #if FW_ENABLE_TEXT_LOGGING 7968 if (this->isConnected_logTextOut_OutputPort(0)) {
7969 #if FW_OBJECT_NAMES == 1 7970 const char* _formatString =
7971 "(%s) %s: RX class %s transaction %" PRIu32
":%" PRIu32
" received invalid directive code %" PRIu8
" for substate %" PRIu8
"";
7973 const char* _formatString =
7974 "%s: RX class %s transaction %" PRIu32
":%" PRIu32
" received invalid directive code %" PRIu8
" for substate %" PRIu8
"";
7978 cfdpClass.toString(cfdpClassStr);
7981 (void) _logString.
format(
7984 this->m_objName.toChar(),
7986 "RxInvalidDirectiveCode ",
7994 this->logTextOut_out(
8015 this->timeCaller_out(0, _logTime);
8025 #if FW_AMPCS_COMPATIBLE 8030 static_cast<FwAssertArgType>(_status)
8034 #if FW_AMPCS_COMPATIBLE 8041 static_cast<FwAssertArgType>(_status)
8047 static_cast<FwAssertArgType>(_status)
8050 #if FW_AMPCS_COMPATIBLE 8053 static_cast<U8>(
sizeof(U32))
8057 static_cast<FwAssertArgType>(_status)
8063 static_cast<FwAssertArgType>(_status)
8066 #if FW_AMPCS_COMPATIBLE 8069 static_cast<U8>(
sizeof(U32))
8073 static_cast<FwAssertArgType>(_status)
8079 static_cast<FwAssertArgType>(_status)
8092 #if FW_ENABLE_TEXT_LOGGING 8093 if (this->isConnected_logTextOut_OutputPort(0)) {
8094 #if FW_OBJECT_NAMES == 1 8095 const char* _formatString =
8096 "(%s) %s: TX class %s transaction %" PRIu32
":%" PRIu32
" ACK limit reached, no eof-ack received";
8098 const char* _formatString =
8099 "%s: TX class %s transaction %" PRIu32
":%" PRIu32
" ACK limit reached, no eof-ack received";
8103 cfdpClass.toString(cfdpClassStr);
8106 (void) _logString.
format(
8109 this->m_objName.toChar(),
8111 "TxAckLimitReached ",
8117 this->logTextOut_out(
8138 this->timeCaller_out(0, _logTime);
8148 #if FW_AMPCS_COMPATIBLE 8153 static_cast<FwAssertArgType>(_status)
8157 #if FW_AMPCS_COMPATIBLE 8164 static_cast<FwAssertArgType>(_status)
8170 static_cast<FwAssertArgType>(_status)
8173 #if FW_AMPCS_COMPATIBLE 8176 static_cast<U8>(
sizeof(U32))
8180 static_cast<FwAssertArgType>(_status)
8186 static_cast<FwAssertArgType>(_status)
8189 #if FW_AMPCS_COMPATIBLE 8192 static_cast<U8>(
sizeof(U32))
8196 static_cast<FwAssertArgType>(_status)
8202 static_cast<FwAssertArgType>(_status)
8215 #if FW_ENABLE_TEXT_LOGGING 8216 if (this->isConnected_logTextOut_OutputPort(0)) {
8217 #if FW_OBJECT_NAMES == 1 8218 const char* _formatString =
8219 "(%s) %s: TX class %s transaction %" PRIu32
":%" PRIu32
" inactivity timer expired";
8221 const char* _formatString =
8222 "%s: TX class %s transaction %" PRIu32
":%" PRIu32
" inactivity timer expired";
8226 cfdpClass.toString(cfdpClassStr);
8229 (void) _logString.
format(
8232 this->m_objName.toChar(),
8234 "TxInactivityTimeout ",
8240 this->logTextOut_out(
8262 this->timeCaller_out(0, _logTime);
8272 #if FW_AMPCS_COMPATIBLE 8277 static_cast<FwAssertArgType>(_status)
8281 #if FW_AMPCS_COMPATIBLE 8288 static_cast<FwAssertArgType>(_status)
8294 static_cast<FwAssertArgType>(_status)
8297 #if FW_AMPCS_COMPATIBLE 8300 static_cast<U8>(
sizeof(U32))
8304 static_cast<FwAssertArgType>(_status)
8310 static_cast<FwAssertArgType>(_status)
8313 #if FW_AMPCS_COMPATIBLE 8316 static_cast<U8>(
sizeof(U32))
8320 static_cast<FwAssertArgType>(_status)
8326 static_cast<FwAssertArgType>(_status)
8335 static_cast<FwAssertArgType>(_status)
8348 #if FW_ENABLE_TEXT_LOGGING 8349 if (this->isConnected_logTextOut_OutputPort(0)) {
8350 #if FW_OBJECT_NAMES == 1 8351 const char* _formatString =
8352 "(%s) %s: TX class %s transaction %" PRIu32
":%" PRIu32
" cannot transfer zero-length file %s";
8354 const char* _formatString =
8355 "%s: TX class %s transaction %" PRIu32
":%" PRIu32
" cannot transfer zero-length file %s";
8359 cfdpClass.toString(cfdpClassStr);
8362 (void) _logString.
format(
8365 this->m_objName.toChar(),
8367 "TxZeroLengthFile ",
8374 this->logTextOut_out(
8397 this->timeCaller_out(0, _logTime);
8407 #if FW_AMPCS_COMPATIBLE 8412 static_cast<FwAssertArgType>(_status)
8416 #if FW_AMPCS_COMPATIBLE 8423 static_cast<FwAssertArgType>(_status)
8429 static_cast<FwAssertArgType>(_status)
8432 #if FW_AMPCS_COMPATIBLE 8435 static_cast<U8>(
sizeof(U32))
8439 static_cast<FwAssertArgType>(_status)
8445 static_cast<FwAssertArgType>(_status)
8448 #if FW_AMPCS_COMPATIBLE 8451 static_cast<U8>(
sizeof(U32))
8455 static_cast<FwAssertArgType>(_status)
8461 static_cast<FwAssertArgType>(_status)
8470 static_cast<FwAssertArgType>(_status)
8473 #if FW_AMPCS_COMPATIBLE 8476 static_cast<U8>(
sizeof(I32))
8480 static_cast<FwAssertArgType>(_status)
8486 static_cast<FwAssertArgType>(_status)
8499 #if FW_ENABLE_TEXT_LOGGING 8500 if (this->isConnected_logTextOut_OutputPort(0)) {
8501 #if FW_OBJECT_NAMES == 1 8502 const char* _formatString =
8503 "(%s) %s: TX class %s transaction %" PRIu32
":%" PRIu32
" failed to open file %s, error=%" PRIi32
"";
8505 const char* _formatString =
8506 "%s: TX class %s transaction %" PRIu32
":%" PRIu32
" failed to open file %s, error=%" PRIi32
"";
8510 cfdpClass.toString(cfdpClassStr);
8513 (void) _logString.
format(
8516 this->m_objName.toChar(),
8518 "TxFileOpenFailed ",
8526 this->logTextOut_out(
8548 this->timeCaller_out(0, _logTime);
8558 #if FW_AMPCS_COMPATIBLE 8563 static_cast<FwAssertArgType>(_status)
8567 #if FW_AMPCS_COMPATIBLE 8574 static_cast<FwAssertArgType>(_status)
8580 static_cast<FwAssertArgType>(_status)
8583 #if FW_AMPCS_COMPATIBLE 8586 static_cast<U8>(
sizeof(U32))
8590 static_cast<FwAssertArgType>(_status)
8596 static_cast<FwAssertArgType>(_status)
8599 #if FW_AMPCS_COMPATIBLE 8602 static_cast<U8>(
sizeof(U32))
8606 static_cast<FwAssertArgType>(_status)
8612 static_cast<FwAssertArgType>(_status)
8615 #if FW_AMPCS_COMPATIBLE 8618 static_cast<U8>(
sizeof(I32))
8622 static_cast<FwAssertArgType>(_status)
8628 static_cast<FwAssertArgType>(_status)
8641 #if FW_ENABLE_TEXT_LOGGING 8642 if (this->isConnected_logTextOut_OutputPort(0)) {
8643 #if FW_OBJECT_NAMES == 1 8644 const char* _formatString =
8645 "(%s) %s: TX class %s transaction %" PRIu32
":%" PRIu32
" failed to seek to beginning of file, error=%" PRIi32
"";
8647 const char* _formatString =
8648 "%s: TX class %s transaction %" PRIu32
":%" PRIu32
" failed to seek to beginning of file, error=%" PRIi32
"";
8652 cfdpClass.toString(cfdpClassStr);
8655 (void) _logString.
format(
8658 this->m_objName.toChar(),
8660 "TxFileSeekFailed ",
8667 this->logTextOut_out(
8688 this->timeCaller_out(0, _logTime);
8698 #if FW_AMPCS_COMPATIBLE 8703 static_cast<FwAssertArgType>(_status)
8707 #if FW_AMPCS_COMPATIBLE 8714 static_cast<FwAssertArgType>(_status)
8720 static_cast<FwAssertArgType>(_status)
8723 #if FW_AMPCS_COMPATIBLE 8726 static_cast<U8>(
sizeof(U32))
8730 static_cast<FwAssertArgType>(_status)
8736 static_cast<FwAssertArgType>(_status)
8739 #if FW_AMPCS_COMPATIBLE 8742 static_cast<U8>(
sizeof(U32))
8746 static_cast<FwAssertArgType>(_status)
8752 static_cast<FwAssertArgType>(_status)
8765 #if FW_ENABLE_TEXT_LOGGING 8766 if (this->isConnected_logTextOut_OutputPort(0)) {
8767 #if FW_OBJECT_NAMES == 1 8768 const char* _formatString =
8769 "(%s) %s: TX class %s transaction %" PRIu32
":%" PRIu32
" failed to send metadata PDU";
8771 const char* _formatString =
8772 "%s: TX class %s transaction %" PRIu32
":%" PRIu32
" failed to send metadata PDU";
8776 cfdpClass.toString(cfdpClassStr);
8779 (void) _logString.
format(
8782 this->m_objName.toChar(),
8784 "TxSendMetadataFailed ",
8790 this->logTextOut_out(
8811 this->timeCaller_out(0, _logTime);
8821 #if FW_AMPCS_COMPATIBLE 8826 static_cast<FwAssertArgType>(_status)
8830 #if FW_AMPCS_COMPATIBLE 8837 static_cast<FwAssertArgType>(_status)
8843 static_cast<FwAssertArgType>(_status)
8846 #if FW_AMPCS_COMPATIBLE 8849 static_cast<U8>(
sizeof(U32))
8853 static_cast<FwAssertArgType>(_status)
8859 static_cast<FwAssertArgType>(_status)
8862 #if FW_AMPCS_COMPATIBLE 8865 static_cast<U8>(
sizeof(U32))
8869 static_cast<FwAssertArgType>(_status)
8875 static_cast<FwAssertArgType>(_status)
8888 #if FW_ENABLE_TEXT_LOGGING 8889 if (this->isConnected_logTextOut_OutputPort(0)) {
8890 #if FW_OBJECT_NAMES == 1 8891 const char* _formatString =
8892 "(%s) %s: TX class %s transaction %" PRIu32
":%" PRIu32
" received early FIN, cancelling transfer";
8894 const char* _formatString =
8895 "%s: TX class %s transaction %" PRIu32
":%" PRIu32
" received early FIN, cancelling transfer";
8899 cfdpClass.toString(cfdpClassStr);
8902 (void) _logString.
format(
8905 this->m_objName.toChar(),
8907 "TxEarlyFinReceived ",
8913 this->logTextOut_out(
8934 this->timeCaller_out(0, _logTime);
8944 #if FW_AMPCS_COMPATIBLE 8949 static_cast<FwAssertArgType>(_status)
8953 #if FW_AMPCS_COMPATIBLE 8960 static_cast<FwAssertArgType>(_status)
8966 static_cast<FwAssertArgType>(_status)
8969 #if FW_AMPCS_COMPATIBLE 8972 static_cast<U8>(
sizeof(U32))
8976 static_cast<FwAssertArgType>(_status)
8982 static_cast<FwAssertArgType>(_status)
8985 #if FW_AMPCS_COMPATIBLE 8988 static_cast<U8>(
sizeof(U32))
8992 static_cast<FwAssertArgType>(_status)
8998 static_cast<FwAssertArgType>(_status)
9011 #if FW_ENABLE_TEXT_LOGGING 9012 if (this->isConnected_logTextOut_OutputPort(0)) {
9013 #if FW_OBJECT_NAMES == 1 9014 const char* _formatString =
9015 "(%s) %s: TX class %s transaction %" PRIu32
":%" PRIu32
" received invalid NAK PDU";
9017 const char* _formatString =
9018 "%s: TX class %s transaction %" PRIu32
":%" PRIu32
" received invalid NAK PDU";
9022 cfdpClass.toString(cfdpClassStr);
9025 (void) _logString.
format(
9028 this->m_objName.toChar(),
9036 this->logTextOut_out(
9058 this->timeCaller_out(0, _logTime);
9068 #if FW_AMPCS_COMPATIBLE 9073 static_cast<FwAssertArgType>(_status)
9077 #if FW_AMPCS_COMPATIBLE 9084 static_cast<FwAssertArgType>(_status)
9090 static_cast<FwAssertArgType>(_status)
9093 #if FW_AMPCS_COMPATIBLE 9096 static_cast<U8>(
sizeof(U32))
9100 static_cast<FwAssertArgType>(_status)
9106 static_cast<FwAssertArgType>(_status)
9109 #if FW_AMPCS_COMPATIBLE 9112 static_cast<U8>(
sizeof(U32))
9116 static_cast<FwAssertArgType>(_status)
9122 static_cast<FwAssertArgType>(_status)
9125 #if FW_AMPCS_COMPATIBLE 9128 static_cast<U8>(
sizeof(U32))
9132 static_cast<FwAssertArgType>(_status)
9138 static_cast<FwAssertArgType>(_status)
9151 #if FW_ENABLE_TEXT_LOGGING 9152 if (this->isConnected_logTextOut_OutputPort(0)) {
9153 #if FW_OBJECT_NAMES == 1 9154 const char* _formatString =
9155 "(%s) %s: TX class %s transaction %" PRIu32
":%" PRIu32
" received %" PRIu32
" invalid NAK segment requests";
9157 const char* _formatString =
9158 "%s: TX class %s transaction %" PRIu32
":%" PRIu32
" received %" PRIu32
" invalid NAK segment requests";
9162 cfdpClass.toString(cfdpClassStr);
9165 (void) _logString.
format(
9168 this->m_objName.toChar(),
9170 "TxInvalidSegmentRequests ",
9177 this->logTextOut_out(
9198 this->timeCaller_out(0, _logTime);
9208 #if FW_AMPCS_COMPATIBLE 9213 static_cast<FwAssertArgType>(_status)
9217 #if FW_AMPCS_COMPATIBLE 9224 static_cast<FwAssertArgType>(_status)
9230 static_cast<FwAssertArgType>(_status)
9233 #if FW_AMPCS_COMPATIBLE 9236 static_cast<U8>(
sizeof(U32))
9240 static_cast<FwAssertArgType>(_status)
9246 static_cast<FwAssertArgType>(_status)
9249 #if FW_AMPCS_COMPATIBLE 9252 static_cast<U8>(
sizeof(U32))
9256 static_cast<FwAssertArgType>(_status)
9262 static_cast<FwAssertArgType>(_status)
9275 #if FW_ENABLE_TEXT_LOGGING 9276 if (this->isConnected_logTextOut_OutputPort(0)) {
9277 #if FW_OBJECT_NAMES == 1 9278 const char* _formatString =
9279 "(%s) %s: TX class %s transaction %" PRIu32
":%" PRIu32
" received non-file-directive PDU";
9281 const char* _formatString =
9282 "%s: TX class %s transaction %" PRIu32
":%" PRIu32
" received non-file-directive PDU";
9286 cfdpClass.toString(cfdpClassStr);
9289 (void) _logString.
format(
9292 this->m_objName.toChar(),
9294 "TxNonFileDirectivePduReceived ",
9300 this->logTextOut_out(
9323 this->timeCaller_out(0, _logTime);
9333 #if FW_AMPCS_COMPATIBLE 9338 static_cast<FwAssertArgType>(_status)
9342 #if FW_AMPCS_COMPATIBLE 9349 static_cast<FwAssertArgType>(_status)
9355 static_cast<FwAssertArgType>(_status)
9358 #if FW_AMPCS_COMPATIBLE 9361 static_cast<U8>(
sizeof(U32))
9365 static_cast<FwAssertArgType>(_status)
9371 static_cast<FwAssertArgType>(_status)
9374 #if FW_AMPCS_COMPATIBLE 9377 static_cast<U8>(
sizeof(U32))
9381 static_cast<FwAssertArgType>(_status)
9387 static_cast<FwAssertArgType>(_status)
9390 #if FW_AMPCS_COMPATIBLE 9393 static_cast<U8>(
sizeof(
U8))
9397 static_cast<FwAssertArgType>(_status)
9403 static_cast<FwAssertArgType>(_status)
9406 #if FW_AMPCS_COMPATIBLE 9409 static_cast<U8>(
sizeof(
U8))
9413 static_cast<FwAssertArgType>(_status)
9419 static_cast<FwAssertArgType>(_status)
9432 #if FW_ENABLE_TEXT_LOGGING 9433 if (this->isConnected_logTextOut_OutputPort(0)) {
9434 #if FW_OBJECT_NAMES == 1 9435 const char* _formatString =
9436 "(%s) %s: TX class %s transaction %" PRIu32
":%" PRIu32
" received invalid directive code %" PRIu8
" for substate %" PRIu8
"";
9438 const char* _formatString =
9439 "%s: TX class %s transaction %" PRIu32
":%" PRIu32
" received invalid directive code %" PRIu8
" for substate %" PRIu8
"";
9443 cfdpClass.toString(cfdpClassStr);
9446 (void) _logString.
format(
9449 this->m_objName.toChar(),
9451 "TxInvalidDirectiveCode ",
9459 this->logTextOut_out(
9484 this->timeCaller_out(0, _logTime);
9494 #if FW_AMPCS_COMPATIBLE 9499 static_cast<FwAssertArgType>(_status)
9503 #if FW_AMPCS_COMPATIBLE 9510 static_cast<FwAssertArgType>(_status)
9516 static_cast<FwAssertArgType>(_status)
9519 #if FW_AMPCS_COMPATIBLE 9522 static_cast<U8>(
sizeof(U32))
9526 static_cast<FwAssertArgType>(_status)
9532 static_cast<FwAssertArgType>(_status)
9535 #if FW_AMPCS_COMPATIBLE 9538 static_cast<U8>(
sizeof(U32))
9542 static_cast<FwAssertArgType>(_status)
9548 static_cast<FwAssertArgType>(_status)
9557 static_cast<FwAssertArgType>(_status)
9560 #if FW_AMPCS_COMPATIBLE 9563 static_cast<U8>(
sizeof(U32))
9567 static_cast<FwAssertArgType>(_status)
9573 static_cast<FwAssertArgType>(_status)
9582 static_cast<FwAssertArgType>(_status)
9585 #if FW_AMPCS_COMPATIBLE 9588 static_cast<U8>(
sizeof(U32))
9592 static_cast<FwAssertArgType>(_status)
9598 static_cast<FwAssertArgType>(_status)
9611 #if FW_ENABLE_TEXT_LOGGING 9612 if (this->isConnected_logTextOut_OutputPort(0)) {
9613 #if FW_OBJECT_NAMES == 1 9614 const char* _formatString =
9615 "(%s) %s: TX %s transaction %" PRIu32
" transfer started, %" PRIu32
":%s -> %" PRIu32
":%s, %" PRIu32
" bytes";
9617 const char* _formatString =
9618 "%s: TX %s transaction %" PRIu32
" transfer started, %" PRIu32
":%s -> %" PRIu32
":%s, %" PRIu32
" bytes";
9622 cfdpClass.toString(cfdpClassStr);
9625 (void) _logString.
format(
9628 this->m_objName.toChar(),
9630 "TxFileTransferStarted ",
9640 this->logTextOut_out(
9665 this->timeCaller_out(0, _logTime);
9675 #if FW_AMPCS_COMPATIBLE 9680 static_cast<FwAssertArgType>(_status)
9684 #if FW_AMPCS_COMPATIBLE 9691 static_cast<FwAssertArgType>(_status)
9697 static_cast<FwAssertArgType>(_status)
9700 #if FW_AMPCS_COMPATIBLE 9703 static_cast<U8>(
sizeof(U32))
9707 static_cast<FwAssertArgType>(_status)
9713 static_cast<FwAssertArgType>(_status)
9716 #if FW_AMPCS_COMPATIBLE 9719 static_cast<U8>(
sizeof(U32))
9723 static_cast<FwAssertArgType>(_status)
9729 static_cast<FwAssertArgType>(_status)
9738 static_cast<FwAssertArgType>(_status)
9741 #if FW_AMPCS_COMPATIBLE 9744 static_cast<U8>(
sizeof(U32))
9748 static_cast<FwAssertArgType>(_status)
9754 static_cast<FwAssertArgType>(_status)
9763 static_cast<FwAssertArgType>(_status)
9766 #if FW_AMPCS_COMPATIBLE 9769 static_cast<U8>(
sizeof(U32))
9773 static_cast<FwAssertArgType>(_status)
9779 static_cast<FwAssertArgType>(_status)
9792 #if FW_ENABLE_TEXT_LOGGING 9793 if (this->isConnected_logTextOut_OutputPort(0)) {
9794 #if FW_OBJECT_NAMES == 1 9795 const char* _formatString =
9796 "(%s) %s: TX %s transaction %" PRIu32
" completed, %" PRIu32
":%s -> %" PRIu32
":%s, %" PRIu32
" bytes";
9798 const char* _formatString =
9799 "%s: TX %s transaction %" PRIu32
" completed, %" PRIu32
":%s -> %" PRIu32
":%s, %" PRIu32
" bytes";
9803 cfdpClass.toString(cfdpClassStr);
9806 (void) _logString.
format(
9809 this->m_objName.toChar(),
9811 "TxFileTransferCompleted ",
9821 this->logTextOut_out(
9846 this->timeCaller_out(0, _logTime);
9856 #if FW_AMPCS_COMPATIBLE 9861 static_cast<FwAssertArgType>(_status)
9865 #if FW_AMPCS_COMPATIBLE 9872 static_cast<FwAssertArgType>(_status)
9878 static_cast<FwAssertArgType>(_status)
9881 #if FW_AMPCS_COMPATIBLE 9884 static_cast<U8>(
sizeof(U32))
9888 static_cast<FwAssertArgType>(_status)
9894 static_cast<FwAssertArgType>(_status)
9897 #if FW_AMPCS_COMPATIBLE 9900 static_cast<U8>(
sizeof(U32))
9904 static_cast<FwAssertArgType>(_status)
9910 static_cast<FwAssertArgType>(_status)
9919 static_cast<FwAssertArgType>(_status)
9922 #if FW_AMPCS_COMPATIBLE 9925 static_cast<U8>(
sizeof(U32))
9929 static_cast<FwAssertArgType>(_status)
9935 static_cast<FwAssertArgType>(_status)
9944 static_cast<FwAssertArgType>(_status)
9947 #if FW_AMPCS_COMPATIBLE 9950 static_cast<U8>(
sizeof(
U8))
9954 static_cast<FwAssertArgType>(_status)
9960 static_cast<FwAssertArgType>(_status)
9973 #if FW_ENABLE_TEXT_LOGGING 9974 if (this->isConnected_logTextOut_OutputPort(0)) {
9975 #if FW_OBJECT_NAMES == 1 9976 const char* _formatString =
9977 "(%s) %s: TX %s transaction %" PRIu32
" FAILED, %" PRIu32
":%s -> %" PRIu32
":%s, error code %" PRIu8
"";
9979 const char* _formatString =
9980 "%s: TX %s transaction %" PRIu32
" FAILED, %" PRIu32
":%s -> %" PRIu32
":%s, error code %" PRIu8
"";
9984 cfdpClass.toString(cfdpClassStr);
9987 (void) _logString.
format(
9990 this->m_objName.toChar(),
9992 "TxFileTransferFailed ",
10002 this->logTextOut_out(
10027 this->timeCaller_out(0, _logTime);
10037 #if FW_AMPCS_COMPATIBLE 10042 static_cast<FwAssertArgType>(_status)
10046 #if FW_AMPCS_COMPATIBLE 10053 static_cast<FwAssertArgType>(_status)
10059 static_cast<FwAssertArgType>(_status)
10062 #if FW_AMPCS_COMPATIBLE 10065 static_cast<U8>(
sizeof(U32))
10069 static_cast<FwAssertArgType>(_status)
10075 static_cast<FwAssertArgType>(_status)
10078 #if FW_AMPCS_COMPATIBLE 10081 static_cast<U8>(
sizeof(U32))
10085 static_cast<FwAssertArgType>(_status)
10091 static_cast<FwAssertArgType>(_status)
10100 static_cast<FwAssertArgType>(_status)
10103 #if FW_AMPCS_COMPATIBLE 10106 static_cast<U8>(
sizeof(U32))
10110 static_cast<FwAssertArgType>(_status)
10116 static_cast<FwAssertArgType>(_status)
10125 static_cast<FwAssertArgType>(_status)
10128 #if FW_AMPCS_COMPATIBLE 10131 static_cast<U8>(
sizeof(U32))
10135 static_cast<FwAssertArgType>(_status)
10141 static_cast<FwAssertArgType>(_status)
10154 #if FW_ENABLE_TEXT_LOGGING 10155 if (this->isConnected_logTextOut_OutputPort(0)) {
10156 #if FW_OBJECT_NAMES == 1 10157 const char* _formatString =
10158 "(%s) %s: RX %s transaction %" PRIu32
" completed, %" PRIu32
":%s -> %" PRIu32
":%s, %" PRIu32
" bytes";
10160 const char* _formatString =
10161 "%s: RX %s transaction %" PRIu32
" completed, %" PRIu32
":%s -> %" PRIu32
":%s, %" PRIu32
" bytes";
10165 cfdpClass.toString(cfdpClassStr);
10168 (void) _logString.
format(
10171 this->m_objName.toChar(),
10173 "RxFileTransferCompleted ",
10183 this->logTextOut_out(
10208 this->timeCaller_out(0, _logTime);
10218 #if FW_AMPCS_COMPATIBLE 10223 static_cast<FwAssertArgType>(_status)
10227 #if FW_AMPCS_COMPATIBLE 10234 static_cast<FwAssertArgType>(_status)
10240 static_cast<FwAssertArgType>(_status)
10243 #if FW_AMPCS_COMPATIBLE 10246 static_cast<U8>(
sizeof(U32))
10250 static_cast<FwAssertArgType>(_status)
10256 static_cast<FwAssertArgType>(_status)
10259 #if FW_AMPCS_COMPATIBLE 10262 static_cast<U8>(
sizeof(U32))
10266 static_cast<FwAssertArgType>(_status)
10272 static_cast<FwAssertArgType>(_status)
10281 static_cast<FwAssertArgType>(_status)
10284 #if FW_AMPCS_COMPATIBLE 10287 static_cast<U8>(
sizeof(U32))
10291 static_cast<FwAssertArgType>(_status)
10297 static_cast<FwAssertArgType>(_status)
10306 static_cast<FwAssertArgType>(_status)
10309 #if FW_AMPCS_COMPATIBLE 10312 static_cast<U8>(
sizeof(
U8))
10316 static_cast<FwAssertArgType>(_status)
10322 static_cast<FwAssertArgType>(_status)
10335 #if FW_ENABLE_TEXT_LOGGING 10336 if (this->isConnected_logTextOut_OutputPort(0)) {
10337 #if FW_OBJECT_NAMES == 1 10338 const char* _formatString =
10339 "(%s) %s: RX %s transaction %" PRIu32
" FAILED, %" PRIu32
":%s -> %" PRIu32
":%s, error code %" PRIu8
"";
10341 const char* _formatString =
10342 "%s: RX %s transaction %" PRIu32
" FAILED, %" PRIu32
":%s -> %" PRIu32
":%s, error code %" PRIu8
"";
10346 cfdpClass.toString(cfdpClassStr);
10349 (void) _logString.
format(
10352 this->m_objName.toChar(),
10354 "RxFileTransferFailed ",
10364 this->logTextOut_out(
10385 this->timeCaller_out(0, _logTime);
10395 #if FW_AMPCS_COMPATIBLE 10400 static_cast<FwAssertArgType>(_status)
10410 static_cast<FwAssertArgType>(_status)
10419 static_cast<FwAssertArgType>(_status)
10422 #if FW_AMPCS_COMPATIBLE 10425 static_cast<U8>(
sizeof(U32))
10429 static_cast<FwAssertArgType>(_status)
10435 static_cast<FwAssertArgType>(_status)
10448 #if FW_ENABLE_TEXT_LOGGING 10449 if (this->isConnected_logTextOut_OutputPort(0)) {
10450 #if FW_OBJECT_NAMES == 1 10451 const char* _formatString =
10452 "(%s) %s: Metadata received for source: %s, dest: %s (transaction %" PRIu32
")";
10454 const char* _formatString =
10455 "%s: Metadata received for source: %s, dest: %s (transaction %" PRIu32
")";
10459 (void) _logString.
format(
10462 this->m_objName.toChar(),
10464 "MetadataReceived ",
10470 this->logTextOut_out(
10487 this->timeCaller_out(0, _logTime);
10496 #if FW_AMPCS_COMPATIBLE 10502 static_cast<FwAssertArgType>(_status)
10516 #if FW_ENABLE_TEXT_LOGGING 10517 if (this->isConnected_logTextOut_OutputPort(0)) {
10518 #if FW_OBJECT_NAMES == 1 10519 const char* _formatString =
10520 "(%s) %s: File data PDU with unsupported segment metadata received";
10522 const char* _formatString =
10523 "%s: File data PDU with unsupported segment metadata received";
10527 (void) _logString.
format(
10530 this->m_objName.toChar(),
10532 "FileDataSegmentMetadata " 10535 this->logTextOut_out(
10552 this->timeCaller_out(0, _logTime);
10562 #if FW_AMPCS_COMPATIBLE 10567 static_cast<FwAssertArgType>(_status)
10571 #if FW_AMPCS_COMPATIBLE 10574 static_cast<U8>(
sizeof(U32))
10578 static_cast<FwAssertArgType>(_status)
10584 static_cast<FwAssertArgType>(_status)
10597 #if FW_ENABLE_TEXT_LOGGING 10598 if (this->isConnected_logTextOut_OutputPort(0)) {
10599 #if FW_OBJECT_NAMES == 1 10600 const char* _formatString =
10601 "(%s) %s: Cannot get chunklist, abandoning transaction %" PRIu32
"";
10603 const char* _formatString =
10604 "%s: Cannot get chunklist, abandoning transaction %" PRIu32
"";
10608 (void) _logString.
format(
10611 this->m_objName.toChar(),
10613 "ChunklistUnavailable ",
10617 this->logTextOut_out(
10634 this->timeCaller_out(0, _logTime);
10643 #if FW_AMPCS_COMPATIBLE 10649 static_cast<FwAssertArgType>(_status)
10663 #if FW_ENABLE_TEXT_LOGGING 10664 if (this->isConnected_logTextOut_OutputPort(0)) {
10665 #if FW_OBJECT_NAMES == 1 10666 const char* _formatString =
10667 "(%s) %s: Unhandled PDU type received in idle state";
10669 const char* _formatString =
10670 "%s: Unhandled PDU type received in idle state";
10674 (void) _logString.
format(
10677 this->m_objName.toChar(),
10679 "UnhandledPduInIdleState " 10682 this->logTextOut_out(
10702 this->timeCaller_out(0, _logTime);
10712 #if FW_AMPCS_COMPATIBLE 10717 static_cast<FwAssertArgType>(_status)
10721 #if FW_AMPCS_COMPATIBLE 10724 static_cast<U8>(
sizeof(U32))
10728 static_cast<FwAssertArgType>(_status)
10734 static_cast<FwAssertArgType>(_status)
10737 #if FW_AMPCS_COMPATIBLE 10740 static_cast<U8>(
sizeof(U32))
10744 static_cast<FwAssertArgType>(_status)
10750 static_cast<FwAssertArgType>(_status)
10763 #if FW_ENABLE_TEXT_LOGGING 10764 if (this->isConnected_logTextOut_OutputPort(0)) {
10765 #if FW_OBJECT_NAMES == 1 10766 const char* _formatString =
10767 "(%s) %s: Dropping packet from %" PRIu32
" transaction %" PRIu32
" due to max RX transactions reached";
10769 const char* _formatString =
10770 "%s: Dropping packet from %" PRIu32
" transaction %" PRIu32
" due to max RX transactions reached";
10774 (void) _logString.
format(
10777 this->m_objName.toChar(),
10779 "RxTransactionLimitReached ",
10784 this->logTextOut_out(
10801 this->timeCaller_out(0, _logTime);
10811 #if FW_AMPCS_COMPATIBLE 10816 static_cast<FwAssertArgType>(_status)
10820 #if FW_AMPCS_COMPATIBLE 10823 static_cast<U8>(
sizeof(U32))
10827 static_cast<FwAssertArgType>(_status)
10833 static_cast<FwAssertArgType>(_status)
10846 #if FW_ENABLE_TEXT_LOGGING 10847 if (this->isConnected_logTextOut_OutputPort(0)) {
10848 #if FW_OBJECT_NAMES == 1 10849 const char* _formatString =
10850 "(%s) %s: Dropping packet for invalid destination EID %" PRIu32
"";
10852 const char* _formatString =
10853 "%s: Dropping packet for invalid destination EID %" PRIu32
"";
10857 (void) _logString.
format(
10860 this->m_objName.toChar(),
10862 "InvalidDestinationEid ",
10866 this->logTextOut_out(
10883 this->timeCaller_out(0, _logTime);
10892 #if FW_AMPCS_COMPATIBLE 10898 static_cast<FwAssertArgType>(_status)
10912 #if FW_ENABLE_TEXT_LOGGING 10913 if (this->isConnected_logTextOut_OutputPort(0)) {
10914 #if FW_OBJECT_NAMES == 1 10915 const char* _formatString =
10916 "(%s) %s: Maximum number of commanded TX files reached";
10918 const char* _formatString =
10919 "%s: Maximum number of commanded TX files reached";
10923 (void) _logString.
format(
10926 this->m_objName.toChar(),
10928 "MaxTxTransactionsReached " 10931 this->logTextOut_out(
10951 this->timeCaller_out(0, _logTime);
10961 #if FW_AMPCS_COMPATIBLE 10966 static_cast<FwAssertArgType>(_status)
10976 static_cast<FwAssertArgType>(_status)
10979 #if FW_AMPCS_COMPATIBLE 10982 static_cast<U8>(
sizeof(I32))
10986 static_cast<FwAssertArgType>(_status)
10992 static_cast<FwAssertArgType>(_status)
11005 #if FW_ENABLE_TEXT_LOGGING 11006 if (this->isConnected_logTextOut_OutputPort(0)) {
11007 #if FW_OBJECT_NAMES == 1 11008 const char* _formatString =
11009 "(%s) %s: Failed to open playback directory %s, error=%" PRIi32
"";
11011 const char* _formatString =
11012 "%s: Failed to open playback directory %s, error=%" PRIi32
"";
11016 (void) _logString.
format(
11019 this->m_objName.toChar(),
11021 "PlaybackDirOpenFailed ",
11026 this->logTextOut_out(
11043 this->timeCaller_out(0, _logTime);
11052 #if FW_AMPCS_COMPATIBLE 11058 static_cast<FwAssertArgType>(_status)
11072 #if FW_ENABLE_TEXT_LOGGING 11073 if (this->isConnected_logTextOut_OutputPort(0)) {
11074 #if FW_OBJECT_NAMES == 1 11075 const char* _formatString =
11076 "(%s) %s: No playback directory slot available";
11078 const char* _formatString =
11079 "%s: No playback directory slot available";
11083 (void) _logString.
format(
11086 this->m_objName.toChar(),
11088 "PlaybackDirSlotUnavailable " 11091 this->logTextOut_out(
11111 this->timeCaller_out(0, _logTime);
11121 #if FW_AMPCS_COMPATIBLE 11126 static_cast<FwAssertArgType>(_status)
11130 #if FW_AMPCS_COMPATIBLE 11133 static_cast<U8>(
sizeof(
U8))
11137 static_cast<FwAssertArgType>(_status)
11143 static_cast<FwAssertArgType>(_status)
11146 #if FW_AMPCS_COMPATIBLE 11149 static_cast<U8>(
sizeof(U32))
11153 static_cast<FwAssertArgType>(_status)
11159 static_cast<FwAssertArgType>(_status)
11172 #if FW_ENABLE_TEXT_LOGGING 11173 if (this->isConnected_logTextOut_OutputPort(0)) {
11174 #if FW_OBJECT_NAMES == 1 11175 const char* _formatString =
11176 "(%s) %s: Closed dangling file handle for channel %" PRIu8
" transaction %" PRIu32
"";
11178 const char* _formatString =
11179 "%s: Closed dangling file handle for channel %" PRIu8
" transaction %" PRIu32
"";
11183 (void) _logString.
format(
11186 this->m_objName.toChar(),
11188 "DanglingFileHandleClosed ",
11193 this->logTextOut_out(
11213 this->timeCaller_out(0, _logTime);
11223 #if FW_AMPCS_COMPATIBLE 11228 static_cast<FwAssertArgType>(_status)
11238 static_cast<FwAssertArgType>(_status)
11241 #if FW_AMPCS_COMPATIBLE 11244 static_cast<U8>(
sizeof(I32))
11248 static_cast<FwAssertArgType>(_status)
11254 static_cast<FwAssertArgType>(_status)
11267 #if FW_ENABLE_TEXT_LOGGING 11268 if (this->isConnected_logTextOut_OutputPort(0)) {
11269 #if FW_OBJECT_NAMES == 1 11270 const char* _formatString =
11271 "(%s) %s: Failed to read from playback directory %s, error=%" PRIi32
"";
11273 const char* _formatString =
11274 "%s: Failed to read from playback directory %s, error=%" PRIi32
"";
11278 (void) _logString.
format(
11281 this->m_objName.toChar(),
11283 "PlaybackDirReadFailed ",
11288 this->logTextOut_out(
11305 this->timeCaller_out(0, _logTime);
11314 #if FW_AMPCS_COMPATIBLE 11320 static_cast<FwAssertArgType>(_status)
11334 #if FW_ENABLE_TEXT_LOGGING 11335 if (this->isConnected_logTextOut_OutputPort(0)) {
11336 #if FW_OBJECT_NAMES == 1 11337 const char* _formatString =
11338 "(%s) %s: Attempt to reset a transaction that has already been freed";
11340 const char* _formatString =
11341 "%s: Attempt to reset a transaction that has already been freed";
11345 (void) _logString.
format(
11348 this->m_objName.toChar(),
11350 "ResetFreedTransaction " 11353 this->logTextOut_out(
11373 this->timeCaller_out(0, _logTime);
11383 #if FW_AMPCS_COMPATIBLE 11388 static_cast<FwAssertArgType>(_status)
11398 static_cast<FwAssertArgType>(_status)
11401 #if FW_AMPCS_COMPATIBLE 11404 static_cast<U8>(
sizeof(I32))
11408 static_cast<FwAssertArgType>(_status)
11414 static_cast<FwAssertArgType>(_status)
11427 #if FW_ENABLE_TEXT_LOGGING 11428 if (this->isConnected_logTextOut_OutputPort(0)) {
11429 #if FW_OBJECT_NAMES == 1 11430 const char* _formatString =
11431 "(%s) %s: Failed to remove file %s, error=%" PRIi32
"";
11433 const char* _formatString =
11434 "%s: Failed to remove file %s, error=%" PRIi32
"";
11438 (void) _logString.
format(
11441 this->m_objName.toChar(),
11443 "FileRemoveFailed ",
11448 this->logTextOut_out(
11468 this->timeCaller_out(0, _logTime);
11478 #if FW_AMPCS_COMPATIBLE 11483 static_cast<FwAssertArgType>(_status)
11487 #if FW_AMPCS_COMPATIBLE 11494 static_cast<FwAssertArgType>(_status)
11500 static_cast<FwAssertArgType>(_status)
11503 #if FW_AMPCS_COMPATIBLE 11510 static_cast<FwAssertArgType>(_status)
11516 static_cast<FwAssertArgType>(_status)
11529 #if FW_ENABLE_TEXT_LOGGING 11530 if (this->isConnected_logTextOut_OutputPort(0)) {
11531 #if FW_OBJECT_NAMES == 1 11532 const char* _formatString =
11533 "(%s) %s: Transaction (%" PRIu32
", %" PRIu32
") suspended";
11535 const char* _formatString =
11536 "%s: Transaction (%" PRIu32
", %" PRIu32
") suspended";
11540 (void) _logString.
format(
11543 this->m_objName.toChar(),
11545 "TransactionSuspended ",
11550 this->logTextOut_out(
11570 this->timeCaller_out(0, _logTime);
11580 #if FW_AMPCS_COMPATIBLE 11585 static_cast<FwAssertArgType>(_status)
11589 #if FW_AMPCS_COMPATIBLE 11596 static_cast<FwAssertArgType>(_status)
11602 static_cast<FwAssertArgType>(_status)
11605 #if FW_AMPCS_COMPATIBLE 11612 static_cast<FwAssertArgType>(_status)
11618 static_cast<FwAssertArgType>(_status)
11631 #if FW_ENABLE_TEXT_LOGGING 11632 if (this->isConnected_logTextOut_OutputPort(0)) {
11633 #if FW_OBJECT_NAMES == 1 11634 const char* _formatString =
11635 "(%s) %s: Transaction (%" PRIu32
", %" PRIu32
") resumed";
11637 const char* _formatString =
11638 "%s: Transaction (%" PRIu32
", %" PRIu32
") resumed";
11642 (void) _logString.
format(
11645 this->m_objName.toChar(),
11647 "TransactionResumed ",
11652 this->logTextOut_out(
11672 this->timeCaller_out(0, _logTime);
11682 #if FW_AMPCS_COMPATIBLE 11687 static_cast<FwAssertArgType>(_status)
11691 #if FW_AMPCS_COMPATIBLE 11698 static_cast<FwAssertArgType>(_status)
11704 static_cast<FwAssertArgType>(_status)
11707 #if FW_AMPCS_COMPATIBLE 11714 static_cast<FwAssertArgType>(_status)
11720 static_cast<FwAssertArgType>(_status)
11733 #if FW_ENABLE_TEXT_LOGGING 11734 if (this->isConnected_logTextOut_OutputPort(0)) {
11735 #if FW_OBJECT_NAMES == 1 11736 const char* _formatString =
11737 "(%s) %s: Transaction (%" PRIu32
", %" PRIu32
") canceled";
11739 const char* _formatString =
11740 "%s: Transaction (%" PRIu32
", %" PRIu32
") canceled";
11744 (void) _logString.
format(
11747 this->m_objName.toChar(),
11749 "TransactionCanceled ",
11754 this->logTextOut_out(
11774 this->timeCaller_out(0, _logTime);
11784 #if FW_AMPCS_COMPATIBLE 11789 static_cast<FwAssertArgType>(_status)
11793 #if FW_AMPCS_COMPATIBLE 11800 static_cast<FwAssertArgType>(_status)
11806 static_cast<FwAssertArgType>(_status)
11809 #if FW_AMPCS_COMPATIBLE 11816 static_cast<FwAssertArgType>(_status)
11822 static_cast<FwAssertArgType>(_status)
11835 #if FW_ENABLE_TEXT_LOGGING 11836 if (this->isConnected_logTextOut_OutputPort(0)) {
11837 #if FW_OBJECT_NAMES == 1 11838 const char* _formatString =
11839 "(%s) %s: Transaction (%" PRIu32
", %" PRIu32
") abandoned";
11841 const char* _formatString =
11842 "%s: Transaction (%" PRIu32
", %" PRIu32
") abandoned";
11846 (void) _logString.
format(
11849 this->m_objName.toChar(),
11851 "TransactionAbandoned ",
11856 this->logTextOut_out(
11876 this->timeCaller_out(0, _logTime);
11886 #if FW_AMPCS_COMPATIBLE 11891 static_cast<FwAssertArgType>(_status)
11895 #if FW_AMPCS_COMPATIBLE 11902 static_cast<FwAssertArgType>(_status)
11908 static_cast<FwAssertArgType>(_status)
11911 #if FW_AMPCS_COMPATIBLE 11918 static_cast<FwAssertArgType>(_status)
11924 static_cast<FwAssertArgType>(_status)
11937 #if FW_ENABLE_TEXT_LOGGING 11938 if (this->isConnected_logTextOut_OutputPort(0)) {
11939 #if FW_OBJECT_NAMES == 1 11940 const char* _formatString =
11941 "(%s) %s: Transaction (%" PRIu32
", %" PRIu32
") not found";
11943 const char* _formatString =
11944 "%s: Transaction (%" PRIu32
", %" PRIu32
") not found";
11948 (void) _logString.
format(
11951 this->m_objName.toChar(),
11953 "TransactionNotFound ",
11958 this->logTextOut_out(
11975 this->timeCaller_out(0, _logTime);
11985 #if FW_AMPCS_COMPATIBLE 11990 static_cast<FwAssertArgType>(_status)
11994 #if FW_AMPCS_COMPATIBLE 11997 static_cast<U8>(
sizeof(
U8))
12001 static_cast<FwAssertArgType>(_status)
12007 static_cast<FwAssertArgType>(_status)
12020 #if FW_ENABLE_TEXT_LOGGING 12021 if (this->isConnected_logTextOut_OutputPort(0)) {
12022 #if FW_OBJECT_NAMES == 1 12023 const char* _formatString =
12024 "(%s) %s: Reset telemetry counters for channel %" PRIu8
"";
12026 const char* _formatString =
12027 "%s: Reset telemetry counters for channel %" PRIu8
"";
12031 (void) _logString.
format(
12034 this->m_objName.toChar(),
12040 this->logTextOut_out(
12060 this->timeCaller_out(0, _logTime);
12070 #if FW_AMPCS_COMPATIBLE 12075 static_cast<FwAssertArgType>(_status)
12079 #if FW_AMPCS_COMPATIBLE 12086 static_cast<FwAssertArgType>(_status)
12092 static_cast<FwAssertArgType>(_status)
12095 #if FW_AMPCS_COMPATIBLE 12102 static_cast<FwAssertArgType>(_status)
12108 static_cast<FwAssertArgType>(_status)
12121 #if FW_ENABLE_TEXT_LOGGING 12122 if (this->isConnected_logTextOut_OutputPort(0)) {
12123 #if FW_OBJECT_NAMES == 1 12124 const char* _formatString =
12125 "(%s) %s: Acknowledged late FIN for transaction %" PRIu32
":%" PRIu32
"";
12127 const char* _formatString =
12128 "%s: Acknowledged late FIN for transaction %" PRIu32
":%" PRIu32
"";
12132 (void) _logString.
format(
12135 this->m_objName.toChar(),
12142 this->logTextOut_out(
12169 this->timeCaller_out(0, _tlmTime);
12199 static_cast<FwAssertArgType>(_stat)
12234 this->m_paramLock.
lock();
12235 valid = this->m_param_LocalEid_valid;
12237 _local = this->m_LocalEid;
12239 this->m_paramLock.
unlock();
12247 this->m_paramLock.
lock();
12248 valid = this->m_param_OutgoingFileChunkSize_valid;
12250 _local = this->m_OutgoingFileChunkSize;
12252 this->m_paramLock.
unlock();
12260 this->m_paramLock.
lock();
12261 valid = this->m_param_RxCrcCalcBytesPerCycle_valid;
12263 _local = this->m_RxCrcCalcBytesPerCycle;
12265 this->m_paramLock.
unlock();
12273 this->m_paramLock.
lock();
12274 valid = this->m_param_PostInactivitySendRetries_valid;
12276 _local = this->m_PostInactivitySendRetries;
12278 this->m_paramLock.
unlock();
12286 this->m_paramLock.
lock();
12287 valid = this->m_param_FileInDefaultChannel_valid;
12289 _local = this->m_FileInDefaultChannel;
12291 this->m_paramLock.
unlock();
12299 this->m_paramLock.
lock();
12300 valid = this->m_param_FileInDefaultDestEntityId_valid;
12302 _local = this->m_FileInDefaultDestEntityId;
12304 this->m_paramLock.
unlock();
12312 this->m_paramLock.
lock();
12313 valid = this->m_param_FileInDefaultClass_valid;
12315 _local = this->m_FileInDefaultClass;
12317 this->m_paramLock.
unlock();
12325 this->m_paramLock.
lock();
12326 valid = this->m_param_FileInDefaultKeep_valid;
12328 _local = this->m_FileInDefaultKeep;
12330 this->m_paramLock.
unlock();
12338 this->m_paramLock.
lock();
12339 valid = this->m_param_FileInDefaultPriority_valid;
12341 _local = this->m_FileInDefaultPriority;
12343 this->m_paramLock.
unlock();
12351 this->m_paramLock.
lock();
12352 valid = this->m_param_ChannelConfig_valid;
12354 _local = this->m_ChannelConfig;
12356 this->m_paramLock.
unlock();
12369 this->timeCaller_out(0, _time);
12387 this->m_guardedPortMutex.
lock();
12393 this->m_guardedPortMutex.
unLock();
12403 ComponentIpcSerializableBuffer _msg;
12413 static_cast<FwAssertArgType>(_msgStatus)
12423 static_cast<FwAssertArgType>(_deserStatus)
12426 MsgTypeEnum _msgType =
static_cast<MsgTypeEnum
>(_desMsg);
12428 if (_msgType == CFDPMANAGER_COMPONENT_EXIT) {
12433 _deserStatus = _msg.deserializeTo(portNum);
12436 static_cast<FwAssertArgType>(_deserStatus)
12439 switch (_msgType) {
12441 case DATAIN_BUFFERSEND: {
12444 _deserStatus = _msg.deserializeTo(fwBuffer);
12447 static_cast<FwAssertArgType>(_deserStatus)
12459 case DATARETURNIN_BUFFERSEND: {
12462 _deserStatus = _msg.deserializeTo(fwBuffer);
12465 static_cast<FwAssertArgType>(_deserStatus)
12477 case PINGIN_PING: {
12480 _deserStatus = _msg.deserializeTo(key);
12483 static_cast<FwAssertArgType>(_deserStatus)
12495 case RUN1HZ_SCHED: {
12498 _deserStatus = _msg.deserializeTo(context);
12501 static_cast<FwAssertArgType>(_deserStatus)
12513 case CMD_SENDFILE: {
12516 _deserStatus = _msg.deserializeTo(_opCode);
12519 static_cast<FwAssertArgType>(_deserStatus)
12524 _deserStatus = _msg.deserializeTo(_cmdSeq);
12527 static_cast<FwAssertArgType>(_deserStatus)
12532 _deserStatus = _msg.deserializeTo(args);
12535 static_cast<FwAssertArgType>(_deserStatus)
12648 #if FW_CMD_CHECK_RESIDUAL 12674 case CMD_PLAYBACKDIRECTORY: {
12677 _deserStatus = _msg.deserializeTo(_opCode);
12680 static_cast<FwAssertArgType>(_deserStatus)
12685 _deserStatus = _msg.deserializeTo(_cmdSeq);
12688 static_cast<FwAssertArgType>(_deserStatus)
12693 _deserStatus = _msg.deserializeTo(args);
12696 static_cast<FwAssertArgType>(_deserStatus)
12809 #if FW_CMD_CHECK_RESIDUAL 12835 case CMD_POLLDIRECTORY: {
12838 _deserStatus = _msg.deserializeTo(_opCode);
12841 static_cast<FwAssertArgType>(_deserStatus)
12846 _deserStatus = _msg.deserializeTo(_cmdSeq);
12849 static_cast<FwAssertArgType>(_deserStatus)
12854 _deserStatus = _msg.deserializeTo(args);
12857 static_cast<FwAssertArgType>(_deserStatus)
12985 #if FW_CMD_CHECK_RESIDUAL 13012 case CMD_STOPPOLLDIRECTORY: {
13015 _deserStatus = _msg.deserializeTo(_opCode);
13018 static_cast<FwAssertArgType>(_deserStatus)
13023 _deserStatus = _msg.deserializeTo(_cmdSeq);
13026 static_cast<FwAssertArgType>(_deserStatus)
13031 _deserStatus = _msg.deserializeTo(args);
13034 static_cast<FwAssertArgType>(_deserStatus)
13072 #if FW_CMD_CHECK_RESIDUAL 13093 case CMD_SETCHANNELFLOW: {
13096 _deserStatus = _msg.deserializeTo(_opCode);
13099 static_cast<FwAssertArgType>(_deserStatus)
13104 _deserStatus = _msg.deserializeTo(_cmdSeq);
13107 static_cast<FwAssertArgType>(_deserStatus)
13112 _deserStatus = _msg.deserializeTo(args);
13115 static_cast<FwAssertArgType>(_deserStatus)
13153 #if FW_CMD_CHECK_RESIDUAL 13174 case CMD_SUSPENDRESUMETRANSACTION: {
13177 _deserStatus = _msg.deserializeTo(_opCode);
13180 static_cast<FwAssertArgType>(_deserStatus)
13185 _deserStatus = _msg.deserializeTo(_cmdSeq);
13188 static_cast<FwAssertArgType>(_deserStatus)
13193 _deserStatus = _msg.deserializeTo(args);
13196 static_cast<FwAssertArgType>(_deserStatus)
13264 #if FW_CMD_CHECK_RESIDUAL 13287 case CMD_CANCELTRANSACTION: {
13290 _deserStatus = _msg.deserializeTo(_opCode);
13293 static_cast<FwAssertArgType>(_deserStatus)
13298 _deserStatus = _msg.deserializeTo(_cmdSeq);
13301 static_cast<FwAssertArgType>(_deserStatus)
13306 _deserStatus = _msg.deserializeTo(args);
13309 static_cast<FwAssertArgType>(_deserStatus)
13362 #if FW_CMD_CHECK_RESIDUAL 13384 case CMD_ABANDONTRANSACTION: {
13387 _deserStatus = _msg.deserializeTo(_opCode);
13390 static_cast<FwAssertArgType>(_deserStatus)
13395 _deserStatus = _msg.deserializeTo(_cmdSeq);
13398 static_cast<FwAssertArgType>(_deserStatus)
13403 _deserStatus = _msg.deserializeTo(args);
13406 static_cast<FwAssertArgType>(_deserStatus)
13459 #if FW_CMD_CHECK_RESIDUAL 13481 case CMD_RESETCOUNTERS: {
13484 _deserStatus = _msg.deserializeTo(_opCode);
13487 static_cast<FwAssertArgType>(_deserStatus)
13492 _deserStatus = _msg.deserializeTo(_cmdSeq);
13495 static_cast<FwAssertArgType>(_deserStatus)
13500 _deserStatus = _msg.deserializeTo(args);
13503 static_cast<FwAssertArgType>(_deserStatus)
13526 #if FW_CMD_CHECK_RESIDUAL 13556 void CfdpManagerComponentBase ::
13567 compPtr->cmdIn_handlerBase(
13579 void CfdpManagerComponentBase ::
13588 compPtr->dataIn_handlerBase(
13594 void CfdpManagerComponentBase ::
13595 m_p_dataReturnIn_in(
13603 compPtr->dataReturnIn_handlerBase(
13621 return compPtr->fileIn_handlerBase(
13630 void CfdpManagerComponentBase ::
13639 compPtr->pingIn_handlerBase(
13645 void CfdpManagerComponentBase ::
13654 compPtr->run1Hz_handlerBase(
13660 #if !FW_DIRECT_PORT_CALLS 13666 void CfdpManagerComponentBase ::
13674 static_cast<FwAssertArgType>(portNum)
13678 this->m_cmdRegOut_OutputPort[portNum].isConnected(),
13679 static_cast<FwAssertArgType>(portNum)
13681 this->m_cmdRegOut_OutputPort[portNum].
invoke(
13686 void CfdpManagerComponentBase ::
13687 cmdResponseOut_out(
13696 static_cast<FwAssertArgType>(portNum)
13700 this->m_cmdResponseOut_OutputPort[portNum].isConnected(),
13701 static_cast<FwAssertArgType>(portNum)
13703 this->m_cmdResponseOut_OutputPort[portNum].
invoke(
13710 void CfdpManagerComponentBase ::
13721 static_cast<FwAssertArgType>(portNum)
13725 this->m_logOut_OutputPort[portNum].isConnected(),
13726 static_cast<FwAssertArgType>(portNum)
13728 this->m_logOut_OutputPort[portNum].
invoke(
13736 #if FW_ENABLE_TEXT_LOGGING 13738 void CfdpManagerComponentBase ::
13748 (0 <= portNum) && (portNum < this->getNum_logTextOut_OutputPorts()),
13749 static_cast<FwAssertArgType>(portNum)
13753 this->m_logTextOut_OutputPort[portNum].isConnected(),
13754 static_cast<FwAssertArgType>(portNum)
13756 this->m_logTextOut_OutputPort[portNum].invoke(
13775 static_cast<FwAssertArgType>(portNum)
13779 this->m_prmGetOut_OutputPort[portNum].isConnected(),
13780 static_cast<FwAssertArgType>(portNum)
13782 return this->m_prmGetOut_OutputPort[portNum].
invoke(
13788 void CfdpManagerComponentBase ::
13797 static_cast<FwAssertArgType>(portNum)
13801 this->m_prmSetOut_OutputPort[portNum].isConnected(),
13802 static_cast<FwAssertArgType>(portNum)
13804 this->m_prmSetOut_OutputPort[portNum].
invoke(
13810 void CfdpManagerComponentBase ::
13818 static_cast<FwAssertArgType>(portNum)
13822 this->m_timeCaller_OutputPort[portNum].isConnected(),
13823 static_cast<FwAssertArgType>(portNum)
13825 this->m_timeCaller_OutputPort[portNum].
invoke(
13830 void CfdpManagerComponentBase ::
13840 static_cast<FwAssertArgType>(portNum)
13844 this->m_tlmOut_OutputPort[portNum].isConnected(),
13845 static_cast<FwAssertArgType>(portNum)
13847 this->m_tlmOut_OutputPort[portNum].
invoke(
13870 this->m_paramLock.
lock();
13871 this->m_LocalEid = _localVal;
13873 this->m_paramLock.
unlock();
13890 this->m_paramLock.
lock();
13891 this->m_OutgoingFileChunkSize = _localVal;
13893 this->m_paramLock.
unlock();
13910 this->m_paramLock.
lock();
13911 this->m_RxCrcCalcBytesPerCycle = _localVal;
13913 this->m_paramLock.
unlock();
13930 this->m_paramLock.
lock();
13931 this->m_PostInactivitySendRetries = _localVal;
13933 this->m_paramLock.
unlock();
13950 this->m_paramLock.
lock();
13951 this->m_FileInDefaultChannel = _localVal;
13953 this->m_paramLock.
unlock();
13970 this->m_paramLock.
lock();
13971 this->m_FileInDefaultDestEntityId = _localVal;
13973 this->m_paramLock.
unlock();
13990 this->m_paramLock.
lock();
13991 this->m_FileInDefaultClass = _localVal;
13993 this->m_paramLock.
unlock();
14010 this->m_paramLock.
lock();
14011 this->m_FileInDefaultKeep = _localVal;
14013 this->m_paramLock.
unlock();
14030 this->m_paramLock.
lock();
14031 this->m_FileInDefaultPriority = _localVal;
14033 this->m_paramLock.
unlock();
14050 this->m_paramLock.
lock();
14051 this->m_ChannelConfig = _localVal;
14053 this->m_paramLock.
unlock();
14065 paramSave_LocalEid()
14074 this->m_paramLock.
lock();
14078 this->m_paramLock.
unlock();
14083 this->prmSetOut_out(
14093 paramSave_OutgoingFileChunkSize()
14102 this->m_paramLock.
lock();
14104 _stat = _paramBuffer.
serializeFrom(m_OutgoingFileChunkSize);
14106 this->m_paramLock.
unlock();
14111 this->prmSetOut_out(
14121 paramSave_RxCrcCalcBytesPerCycle()
14130 this->m_paramLock.
lock();
14132 _stat = _paramBuffer.
serializeFrom(m_RxCrcCalcBytesPerCycle);
14134 this->m_paramLock.
unlock();
14139 this->prmSetOut_out(
14149 paramSave_PostInactivitySendRetries()
14158 this->m_paramLock.
lock();
14160 _stat = _paramBuffer.
serializeFrom(m_PostInactivitySendRetries);
14162 this->m_paramLock.
unlock();
14167 this->prmSetOut_out(
14177 paramSave_FileInDefaultChannel()
14186 this->m_paramLock.
lock();
14188 _stat = _paramBuffer.
serializeFrom(m_FileInDefaultChannel);
14190 this->m_paramLock.
unlock();
14195 this->prmSetOut_out(
14205 paramSave_FileInDefaultDestEntityId()
14214 this->m_paramLock.
lock();
14216 _stat = _paramBuffer.
serializeFrom(m_FileInDefaultDestEntityId);
14218 this->m_paramLock.
unlock();
14223 this->prmSetOut_out(
14233 paramSave_FileInDefaultClass()
14242 this->m_paramLock.
lock();
14246 this->m_paramLock.
unlock();
14251 this->prmSetOut_out(
14261 paramSave_FileInDefaultKeep()
14270 this->m_paramLock.
lock();
14274 this->m_paramLock.
unlock();
14279 this->prmSetOut_out(
14289 paramSave_FileInDefaultPriority()
14298 this->m_paramLock.
lock();
14300 _stat = _paramBuffer.
serializeFrom(m_FileInDefaultPriority);
14302 this->m_paramLock.
unlock();
14307 this->prmSetOut_out(
14317 paramSave_ChannelConfig()
14326 this->m_paramLock.
lock();
14330 this->m_paramLock.
unlock();
14335 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
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.
Parameter configuration for an array CFDP channels.
void log_ACTIVITY_LO_TransactionResumed(Svc::Ccsds::Cfdp::TransactionSeq transactionSeq, Svc::Ccsds::Cfdp::EntityId entityId) const
void addCallPort(InputTimePort *callPort)
Register an input port.
static constexpr FwIndexType getNum_cmdResponseOut_OutputPorts()
virtual void run1Hz_preMsgHook(FwIndexType portNum, U32 context)
Pre-message hook for async input port run1Hz.
Opcode to save parameter PostInactivitySendRetries.
bool isConnected_prmGetOut_OutputPort(FwIndexType portNum) const
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.
Command to reset telemetry counters.
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.
Opcode to set parameter FileInDefaultPriority.
Default priority for fileIn port-initiated file transfers.
void log_WARNING_LO_RxEofWithError(const Svc::Ccsds::Cfdp::Class &cfdpClass, U32 srcEid, U32 seqNum, U8 conditionCode) const
Log event RxEofWithError.
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
Opcode to save parameter FileInDefaultClass.
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.
Default CFDP channel for fileIn port-initiated file transfers.
The size of the serial representation.
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.
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.
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()
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.
void unLock()
unlock the mutex and assert success
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.
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.
Command to set channel's flow status.
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.
CFDP ID to denote the current node when sending PDUs.
U32 paramGet_RxCrcCalcBytesPerCycle(Fw::ParamValid &valid)
void log_WARNING_LO_ChunklistUnavailable(U32 transactionSeq) const
Log event ChunklistUnavailable.
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 suspend or resume a transaction.
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.
Opcode to set parameter FileInDefaultChannel.
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].
The maximum number of received bytes to calculate a CRC for in a single scheduler cycle...
void init()
Initialization function.
Command to start a directory playback.
Command to abandon a transaction immediately.
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.
Opcode to save parameter OutgoingFileChunkSize.
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.
Opcode to save parameter FileInDefaultChannel.
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
void log_WARNING_LO_SendFileInitiateFail(const Fw::StringBase &sourceFileName) const
Log event SendFileInitiateFail.
The size of the serial representation.
void addCallPort(InputBufferGetPort *callPort)
Register an input port.
Channel ID for ChannelTelemetry.
virtual SerializeStatus deserializeTo(U8 &val, Endianness mode=Endianness::BIG)=0
Deserialize an 8-bit unsigned integer value.
Default destination entity ID for fileIn port-initiated file transfers.
Message will block until space is available.
void unlock()
alias for unLock to meet BasicLockable requirements
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.
Opcode to set parameter PostInactivitySendRetries.
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 set parameter ChannelConfig.
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) ...
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.
void PollDirectory_cmdHandlerBase(FwOpcodeType opCode, U32 cmdSeq, Fw::CmdArgBuffer &args)
Command to start a directory poll.
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 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.
virtual void SuspendResumeTransaction_preMsgHook(FwOpcodeType opCode, U32 cmdSeq)
Pre-message hook for command SuspendResumeTransaction.
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.
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.
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 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.
Default file retention policy for fileIn port-initiated file transfers.
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
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
Command to cancel a transaction with graceful close-out.
Command to stop a directory poll.
static constexpr FwIndexType getNum_prmSetOut_OutputPorts()
void resetDeser() override
Reset deserialization pointer to beginning of buffer.
virtual void SetChannelFlow_preMsgHook(FwOpcodeType opCode, U32 cmdSeq)
Pre-message hook for command SetChannelFlow.
Opcode to set parameter FileInDefaultKeep.
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()
void invoke(FwChanIdType id, Fw::Time &timeTag, Fw::TlmBuffer &val) const
Invoke a port connection.
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.
Opcode to save parameter FileInDefaultKeep.
Enum representing event severity.
virtual void PollDirectory_preMsgHook(FwOpcodeType opCode, U32 cmdSeq)
Pre-message hook for command PollDirectory.
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
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.
Svc::InputSchedPort * get_run1Hz_InputPort(FwIndexType portNum)
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.
void dataOut_out(FwIndexType portNum, Fw::Buffer &fwBuffer) const
Invoke output port dataOut.
void init()
Initialization function.
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
Maximum number of bytes to put into a file PDU.
void bufferDeallocate_out(FwIndexType portNum, Fw::Buffer &fwBuffer) const
Invoke output port bufferDeallocate.
U8 paramGet_FileInDefaultPriority(Fw::ParamValid &valid)
bool isConnected_prmSetOut_OutputPort(FwIndexType portNum) const
void log_ACTIVITY_LO_SetFlowState(U8 channelId, const Svc::Ccsds::Cfdp::Flow &flowState) const
Log event SetFlowState.
Opcode to save parameter LocalEid.
Command failed to deserialize.
Fw::Buffer bufferAllocate_out(FwIndexType portNum, FwSizeType size) const
Invoke output port bufferAllocate.
BYTE dataReturnInPortSize[Fw::BufferSendPortBuffer::CAPACITY]
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.
Command to start a CFDP file transaction.
void AbandonTransaction_cmdHandlerBase(FwOpcodeType opCode, U32 cmdSeq, Fw::CmdArgBuffer &args)
virtual void pingIn_handler(FwIndexType portNum, U32 key)=0
Handler for input port pingIn.
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.
Fw::InputCmdPort * get_cmdIn_InputPort(FwIndexType portNum)
static constexpr FwIndexType getNum_dataIn_InputPorts()
Transaction was suspended.
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.
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.
Opcode to set parameter FileInDefaultDestEntityId.
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.
Default CFDP class for fileIn port-initiated file transfers.
void init()
Initialization function.
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.
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.
The size of the serial representation.
void log_WARNING_LO_RxInactivityTimeout(const Svc::Ccsds::Cfdp::Class &cfdpClass, U32 srcEid, U32 seqNum) const
Log event RxInactivityTimeout.
Opcode to save parameter ChannelConfig.
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.
Opcode to save parameter RxCrcCalcBytesPerCycle.
message to exit active component task
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
Opcode to save parameter FileInDefaultDestEntityId.
void init()
Initialization function.
void log_WARNING_LO_PollDirBusy(U8 channelId, U8 pollId) const
Log event PollDirBusy.
void init()
Initialization function.
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()
void addCallPort(InputSendFileCompletePort *callPort)
Register an input port.
bool isConnected_bufferDeallocate_OutputPort(FwIndexType portNum) const
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 set parameter RxCrcCalcBytesPerCycle.
static constexpr FwSizeType CAPACITY
void log_WARNING_LO_TxEarlyFinReceived(const Svc::Ccsds::Cfdp::Class &cfdpClass, U32 srcEid, U32 seqNum) const
Log event TxEarlyFinReceived.
Transaction not found for command.
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.
void lock()
lock the mutex and assert success
bool isConnected_cmdResponseOut_OutputPort(FwIndexType portNum) const
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.
Opcode to set parameter FileInDefaultClass.
void log_WARNING_LO_FailMetadataPduDeserialization(U8 channelId, I32 status) const
Log event FailMetadataPduDeserialization.
BYTE cmdPortSize[Fw::CmdPortBuffer::CAPACITY]
Opcode to set parameter OutgoingFileChunkSize.