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
66 return sizeof(m_buff);
73 const U8* getBuffAddr()
const {
79 U8 m_buff[SERIALIZATION_SIZE];
97 #if !FW_DIRECT_PORT_CALLS 104 this->m_cmdIn_InputPort[port].
init();
109 this->m_cmdIn_InputPort[port].
setPortNum(port);
111 #if FW_OBJECT_NAMES == 1 115 this->m_objName.toChar(),
118 this->m_cmdIn_InputPort[port].setObjName(portName.
toChar());
123 #if !FW_DIRECT_PORT_CALLS 130 this->m_dataIn_InputPort[port].
init();
135 this->m_dataIn_InputPort[port].
setPortNum(port);
137 #if FW_OBJECT_NAMES == 1 141 this->m_objName.toChar(),
144 this->m_dataIn_InputPort[port].setObjName(portName.
toChar());
149 #if !FW_DIRECT_PORT_CALLS 156 this->m_dataReturnIn_InputPort[port].
init();
161 this->m_dataReturnIn_InputPort[port].
setPortNum(port);
163 #if FW_OBJECT_NAMES == 1 167 this->m_objName.toChar(),
170 this->m_dataReturnIn_InputPort[port].setObjName(portName.
toChar());
175 #if !FW_DIRECT_PORT_CALLS 182 this->m_fileIn_InputPort[port].
init();
187 this->m_fileIn_InputPort[port].
setPortNum(port);
189 #if FW_OBJECT_NAMES == 1 193 this->m_objName.toChar(),
196 this->m_fileIn_InputPort[port].setObjName(portName.
toChar());
201 #if !FW_DIRECT_PORT_CALLS 208 this->m_pingIn_InputPort[port].
init();
213 this->m_pingIn_InputPort[port].
setPortNum(port);
215 #if FW_OBJECT_NAMES == 1 219 this->m_objName.toChar(),
222 this->m_pingIn_InputPort[port].setObjName(portName.
toChar());
227 #if !FW_DIRECT_PORT_CALLS 234 this->m_run1Hz_InputPort[port].
init();
239 this->m_run1Hz_InputPort[port].
setPortNum(port);
241 #if FW_OBJECT_NAMES == 1 245 this->m_objName.toChar(),
248 this->m_run1Hz_InputPort[port].setObjName(portName.
toChar());
253 #if !FW_DIRECT_PORT_CALLS 260 this->m_cmdRegOut_OutputPort[port].
init();
262 #if FW_OBJECT_NAMES == 1 266 this->m_objName.toChar(),
269 this->m_cmdRegOut_OutputPort[port].setObjName(portName.
toChar());
274 #if !FW_DIRECT_PORT_CALLS 281 this->m_cmdResponseOut_OutputPort[port].
init();
283 #if FW_OBJECT_NAMES == 1 287 this->m_objName.toChar(),
290 this->m_cmdResponseOut_OutputPort[port].setObjName(portName.
toChar());
295 #if !FW_DIRECT_PORT_CALLS 302 this->m_logOut_OutputPort[port].
init();
304 #if FW_OBJECT_NAMES == 1 308 this->m_objName.toChar(),
311 this->m_logOut_OutputPort[port].setObjName(portName.
toChar());
316 #if !FW_DIRECT_PORT_CALLS && FW_ENABLE_TEXT_LOGGING 320 port < static_cast<FwIndexType>(this->getNum_logTextOut_OutputPorts());
323 this->m_logTextOut_OutputPort[port].
init();
325 #if FW_OBJECT_NAMES == 1 329 this->m_objName.toChar(),
332 this->m_logTextOut_OutputPort[port].setObjName(portName.
toChar());
337 #if !FW_DIRECT_PORT_CALLS 344 this->m_prmGetOut_OutputPort[port].
init();
346 #if FW_OBJECT_NAMES == 1 350 this->m_objName.toChar(),
353 this->m_prmGetOut_OutputPort[port].setObjName(portName.
toChar());
358 #if !FW_DIRECT_PORT_CALLS 365 this->m_prmSetOut_OutputPort[port].
init();
367 #if FW_OBJECT_NAMES == 1 371 this->m_objName.toChar(),
374 this->m_prmSetOut_OutputPort[port].setObjName(portName.
toChar());
379 #if !FW_DIRECT_PORT_CALLS 386 this->m_timeCaller_OutputPort[port].
init();
388 #if FW_OBJECT_NAMES == 1 392 this->m_objName.toChar(),
395 this->m_timeCaller_OutputPort[port].setObjName(portName.
toChar());
400 #if !FW_DIRECT_PORT_CALLS 407 this->m_tlmOut_OutputPort[port].
init();
409 #if FW_OBJECT_NAMES == 1 413 this->m_objName.toChar(),
416 this->m_tlmOut_OutputPort[port].setObjName(portName.
toChar());
421 #if !FW_DIRECT_PORT_CALLS 428 this->m_bufferAllocate_OutputPort[port].
init();
430 #if FW_OBJECT_NAMES == 1 434 this->m_objName.toChar(),
437 this->m_bufferAllocate_OutputPort[port].setObjName(portName.
toChar());
442 #if !FW_DIRECT_PORT_CALLS 449 this->m_bufferDeallocate_OutputPort[port].
init();
451 #if FW_OBJECT_NAMES == 1 455 this->m_objName.toChar(),
458 this->m_bufferDeallocate_OutputPort[port].setObjName(portName.
toChar());
463 #if !FW_DIRECT_PORT_CALLS 470 this->m_dataInReturn_OutputPort[port].
init();
472 #if FW_OBJECT_NAMES == 1 476 this->m_objName.toChar(),
479 this->m_dataInReturn_OutputPort[port].setObjName(portName.
toChar());
484 #if !FW_DIRECT_PORT_CALLS 491 this->m_dataOut_OutputPort[port].
init();
493 #if FW_OBJECT_NAMES == 1 497 this->m_objName.toChar(),
500 this->m_dataOut_OutputPort[port].setObjName(portName.
toChar());
505 #if !FW_DIRECT_PORT_CALLS 512 this->m_fileDoneOut_OutputPort[port].
init();
514 #if FW_OBJECT_NAMES == 1 518 this->m_objName.toChar(),
521 this->m_fileDoneOut_OutputPort[port].setObjName(portName.
toChar());
526 #if !FW_DIRECT_PORT_CALLS 533 this->m_pingOut_OutputPort[port].
init();
535 #if FW_OBJECT_NAMES == 1 539 this->m_objName.toChar(),
542 this->m_pingOut_OutputPort[port].setObjName(portName.
toChar());
550 static_cast<FwSizeType>(ComponentIpcSerializableBuffer::SERIALIZATION_SIZE)
554 static_cast<FwAssertArgType>(qStat)
558 #if !FW_DIRECT_PORT_CALLS 569 static_cast<FwAssertArgType>(portNum)
572 return &this->m_cmdIn_InputPort[portNum];
577 #if !FW_DIRECT_PORT_CALLS 588 static_cast<FwAssertArgType>(portNum)
591 return &this->m_dataIn_InputPort[portNum];
599 static_cast<FwAssertArgType>(portNum)
602 return &this->m_dataReturnIn_InputPort[portNum];
610 static_cast<FwAssertArgType>(portNum)
613 return &this->m_fileIn_InputPort[portNum];
621 static_cast<FwAssertArgType>(portNum)
624 return &this->m_pingIn_InputPort[portNum];
632 static_cast<FwAssertArgType>(portNum)
635 return &this->m_run1Hz_InputPort[portNum];
640 #if !FW_DIRECT_PORT_CALLS 654 static_cast<FwAssertArgType>(portNum)
657 this->m_cmdRegOut_OutputPort[portNum].
addCallPort(port);
668 static_cast<FwAssertArgType>(portNum)
671 this->m_cmdResponseOut_OutputPort[portNum].
addCallPort(port);
682 static_cast<FwAssertArgType>(portNum)
685 this->m_logOut_OutputPort[portNum].
addCallPort(port);
688 #if FW_ENABLE_TEXT_LOGGING == 1 690 void CfdpManagerComponentBase ::
691 set_logTextOut_OutputPort(
697 (0 <= portNum) && (portNum < this->getNum_logTextOut_OutputPorts()),
698 static_cast<FwAssertArgType>(portNum)
701 this->m_logTextOut_OutputPort[portNum].addCallPort(port);
714 static_cast<FwAssertArgType>(portNum)
717 this->m_prmGetOut_OutputPort[portNum].
addCallPort(port);
728 static_cast<FwAssertArgType>(portNum)
731 this->m_prmSetOut_OutputPort[portNum].
addCallPort(port);
742 static_cast<FwAssertArgType>(portNum)
745 this->m_timeCaller_OutputPort[portNum].
addCallPort(port);
756 static_cast<FwAssertArgType>(portNum)
759 this->m_tlmOut_OutputPort[portNum].
addCallPort(port);
764 #if !FW_DIRECT_PORT_CALLS 778 static_cast<FwAssertArgType>(portNum)
781 this->m_bufferAllocate_OutputPort[portNum].
addCallPort(port);
792 static_cast<FwAssertArgType>(portNum)
795 this->m_bufferDeallocate_OutputPort[portNum].
addCallPort(port);
806 static_cast<FwAssertArgType>(portNum)
809 this->m_dataInReturn_OutputPort[portNum].
addCallPort(port);
820 static_cast<FwAssertArgType>(portNum)
823 this->m_dataOut_OutputPort[portNum].
addCallPort(port);
834 static_cast<FwAssertArgType>(portNum)
837 this->m_fileDoneOut_OutputPort[portNum].
addCallPort(port);
848 static_cast<FwAssertArgType>(portNum)
851 this->m_pingOut_OutputPort[portNum].
addCallPort(port);
856 #if !FW_DIRECT_PORT_CALLS && FW_PORT_SERIALIZATION 865 Fw::InputSerializePort* port
870 static_cast<FwAssertArgType>(portNum)
873 this->m_cmdRegOut_OutputPort[portNum].registerSerialPort(port);
879 Fw::InputSerializePort* port
884 static_cast<FwAssertArgType>(portNum)
887 this->m_cmdResponseOut_OutputPort[portNum].registerSerialPort(port);
893 Fw::InputSerializePort* port
898 static_cast<FwAssertArgType>(portNum)
901 this->m_logOut_OutputPort[portNum].registerSerialPort(port);
904 #if FW_ENABLE_TEXT_LOGGING == 1 906 void CfdpManagerComponentBase ::
907 set_logTextOut_OutputPort(
909 Fw::InputSerializePort* port
913 (0 <= portNum) && (portNum < this->getNum_logTextOut_OutputPorts()),
914 static_cast<FwAssertArgType>(portNum)
917 this->m_logTextOut_OutputPort[portNum].registerSerialPort(port);
925 Fw::InputSerializePort* port
930 static_cast<FwAssertArgType>(portNum)
933 this->m_prmSetOut_OutputPort[portNum].registerSerialPort(port);
939 Fw::InputSerializePort* port
944 static_cast<FwAssertArgType>(portNum)
947 this->m_timeCaller_OutputPort[portNum].registerSerialPort(port);
953 Fw::InputSerializePort* port
958 static_cast<FwAssertArgType>(portNum)
961 this->m_tlmOut_OutputPort[portNum].registerSerialPort(port);
966 #if !FW_DIRECT_PORT_CALLS && FW_PORT_SERIALIZATION 975 Fw::InputSerializePort* port
980 static_cast<FwAssertArgType>(portNum)
983 this->m_bufferDeallocate_OutputPort[portNum].registerSerialPort(port);
989 Fw::InputSerializePort* port
994 static_cast<FwAssertArgType>(portNum)
997 this->m_dataInReturn_OutputPort[portNum].registerSerialPort(port);
1003 Fw::InputSerializePort* port
1008 static_cast<FwAssertArgType>(portNum)
1011 this->m_dataOut_OutputPort[portNum].registerSerialPort(port);
1017 Fw::InputSerializePort* port
1022 static_cast<FwAssertArgType>(portNum)
1025 this->m_fileDoneOut_OutputPort[portNum].registerSerialPort(port);
1031 Fw::InputSerializePort* port
1036 static_cast<FwAssertArgType>(portNum)
1039 this->m_pingOut_OutputPort[portNum].registerSerialPort(port);
1053 this->cmdRegOut_out(
1058 this->cmdRegOut_out(
1063 this->cmdRegOut_out(
1068 this->cmdRegOut_out(
1073 this->cmdRegOut_out(
1078 this->cmdRegOut_out(
1083 this->cmdRegOut_out(
1088 this->cmdRegOut_out(
1093 this->cmdRegOut_out(
1098 this->cmdRegOut_out(
1103 this->cmdRegOut_out(
1108 this->cmdRegOut_out(
1113 this->cmdRegOut_out(
1118 this->cmdRegOut_out(
1123 this->cmdRegOut_out(
1128 this->cmdRegOut_out(
1133 this->cmdRegOut_out(
1138 this->cmdRegOut_out(
1143 this->cmdRegOut_out(
1148 this->cmdRegOut_out(
1153 this->cmdRegOut_out(
1158 this->cmdRegOut_out(
1163 this->cmdRegOut_out(
1168 this->cmdRegOut_out(
1173 this->cmdRegOut_out(
1178 this->cmdRegOut_out(
1183 this->cmdRegOut_out(
1188 this->cmdRegOut_out(
1193 this->cmdRegOut_out(
1216 this->m_param_LocalEid_valid = this->prmGetOut_out(
1222 this->m_paramLock.
lock();
1235 this->m_LocalEid = 42;
1238 this->m_paramLock.
unlock();
1243 this->m_param_OutgoingFileChunkSize_valid = this->prmGetOut_out(
1249 this->m_paramLock.
lock();
1253 _stat = _paramBuffer.
deserializeTo(this->m_OutgoingFileChunkSize);
1262 this->m_OutgoingFileChunkSize = 992;
1265 this->m_paramLock.
unlock();
1270 this->m_param_RxCrcCalcBytesPerCycle_valid = this->prmGetOut_out(
1276 this->m_paramLock.
lock();
1280 _stat = _paramBuffer.
deserializeTo(this->m_RxCrcCalcBytesPerCycle);
1289 this->m_RxCrcCalcBytesPerCycle = 65536;
1292 this->m_paramLock.
unlock();
1297 this->m_param_PostInactivitySendRetries_valid = this->prmGetOut_out(
1303 this->m_paramLock.
lock();
1307 _stat = _paramBuffer.
deserializeTo(this->m_PostInactivitySendRetries);
1316 this->m_PostInactivitySendRetries = 3;
1319 this->m_paramLock.
unlock();
1324 this->m_param_FileInDefaultChannel_valid = this->prmGetOut_out(
1330 this->m_paramLock.
lock();
1334 _stat = _paramBuffer.
deserializeTo(this->m_FileInDefaultChannel);
1343 this->m_FileInDefaultChannel = 0;
1346 this->m_paramLock.
unlock();
1351 this->m_param_FileInDefaultDestEntityId_valid = this->prmGetOut_out(
1357 this->m_paramLock.
lock();
1361 _stat = _paramBuffer.
deserializeTo(this->m_FileInDefaultDestEntityId);
1370 this->m_FileInDefaultDestEntityId = 100;
1373 this->m_paramLock.
unlock();
1378 this->m_param_FileInDefaultClass_valid = this->prmGetOut_out(
1384 this->m_paramLock.
lock();
1388 _stat = _paramBuffer.
deserializeTo(this->m_FileInDefaultClass);
1400 this->m_paramLock.
unlock();
1405 this->m_param_FileInDefaultKeep_valid = this->prmGetOut_out(
1411 this->m_paramLock.
lock();
1415 _stat = _paramBuffer.
deserializeTo(this->m_FileInDefaultKeep);
1427 this->m_paramLock.
unlock();
1432 this->m_param_FileInDefaultPriority_valid = this->prmGetOut_out(
1438 this->m_paramLock.
lock();
1442 _stat = _paramBuffer.
deserializeTo(this->m_FileInDefaultPriority);
1451 this->m_FileInDefaultPriority = 0;
1454 this->m_paramLock.
unlock();
1459 this->m_param_ChannelConfig_valid = this->prmGetOut_out(
1465 this->m_paramLock.
lock();
1481 this->m_paramLock.
unlock();
1493 Fw::ActiveComponentBase(compName)
1504 #if !FW_DIRECT_PORT_CALLS 1515 static_cast<FwAssertArgType>(portNum)
1518 return this->m_cmdRegOut_OutputPort[portNum].
isConnected();
1526 static_cast<FwAssertArgType>(portNum)
1529 return this->m_cmdResponseOut_OutputPort[portNum].
isConnected();
1537 static_cast<FwAssertArgType>(portNum)
1540 return this->m_logOut_OutputPort[portNum].
isConnected();
1543 #if FW_ENABLE_TEXT_LOGGING == 1 1545 bool CfdpManagerComponentBase ::
1546 isConnected_logTextOut_OutputPort(
FwIndexType portNum)
const 1549 (0 <= portNum) && (portNum < this->getNum_logTextOut_OutputPorts()),
1550 static_cast<FwAssertArgType>(portNum)
1553 return this->m_logTextOut_OutputPort[portNum].isConnected();
1563 static_cast<FwAssertArgType>(portNum)
1566 return this->m_prmGetOut_OutputPort[portNum].
isConnected();
1574 static_cast<FwAssertArgType>(portNum)
1577 return this->m_prmSetOut_OutputPort[portNum].
isConnected();
1585 static_cast<FwAssertArgType>(portNum)
1588 return this->m_timeCaller_OutputPort[portNum].
isConnected();
1596 static_cast<FwAssertArgType>(portNum)
1599 return this->m_tlmOut_OutputPort[portNum].
isConnected();
1604 #if !FW_DIRECT_PORT_CALLS 1615 static_cast<FwAssertArgType>(portNum)
1618 return this->m_bufferAllocate_OutputPort[portNum].
isConnected();
1626 static_cast<FwAssertArgType>(portNum)
1629 return this->m_bufferDeallocate_OutputPort[portNum].
isConnected();
1637 static_cast<FwAssertArgType>(portNum)
1640 return this->m_dataInReturn_OutputPort[portNum].
isConnected();
1648 static_cast<FwAssertArgType>(portNum)
1651 return this->m_dataOut_OutputPort[portNum].
isConnected();
1659 static_cast<FwAssertArgType>(portNum)
1662 return this->m_fileDoneOut_OutputPort[portNum].
isConnected();
1670 static_cast<FwAssertArgType>(portNum)
1673 return this->m_pingOut_OutputPort[portNum].
isConnected();
1694 FW_ASSERT(opCode >= idBase, static_cast<FwAssertArgType>(opCode), static_cast<FwAssertArgType>(idBase));
1697 switch (opCode - idBase) {
1840 Fw::CmdResponse _cstat = this->paramSet_PostInactivitySendRetries(args);
1880 Fw::CmdResponse _cstat = this->paramSet_FileInDefaultDestEntityId(args);
1999 static_cast<FwAssertArgType>(portNum)
2007 ComponentIpcSerializableBuffer msg;
2011 _status = msg.serializeFrom(
2012 static_cast<FwEnumStoreType>(DATAIN_BUFFERSEND)
2016 static_cast<FwAssertArgType>(_status)
2020 _status = msg.serializeFrom(portNum);
2023 static_cast<FwAssertArgType>(_status)
2027 _status = msg.serializeFrom(fwBuffer);
2030 static_cast<FwAssertArgType>(_status)
2039 static_cast<FwAssertArgType>(qStatus)
2052 static_cast<FwAssertArgType>(portNum)
2060 ComponentIpcSerializableBuffer msg;
2064 _status = msg.serializeFrom(
2065 static_cast<FwEnumStoreType>(DATARETURNIN_BUFFERSEND)
2069 static_cast<FwAssertArgType>(_status)
2073 _status = msg.serializeFrom(portNum);
2076 static_cast<FwAssertArgType>(_status)
2080 _status = msg.serializeFrom(fwBuffer);
2083 static_cast<FwAssertArgType>(_status)
2092 static_cast<FwAssertArgType>(qStatus)
2108 static_cast<FwAssertArgType>(portNum)
2140 static_cast<FwAssertArgType>(portNum)
2148 ComponentIpcSerializableBuffer msg;
2152 _status = msg.serializeFrom(
2153 static_cast<FwEnumStoreType>(PINGIN_PING)
2157 static_cast<FwAssertArgType>(_status)
2161 _status = msg.serializeFrom(portNum);
2164 static_cast<FwAssertArgType>(_status)
2168 _status = msg.serializeFrom(key);
2171 static_cast<FwAssertArgType>(_status)
2180 static_cast<FwAssertArgType>(qStatus)
2193 static_cast<FwAssertArgType>(portNum)
2201 ComponentIpcSerializableBuffer msg;
2205 _status = msg.serializeFrom(
2206 static_cast<FwEnumStoreType>(RUN1HZ_SCHED)
2210 static_cast<FwAssertArgType>(_status)
2214 _status = msg.serializeFrom(portNum);
2217 static_cast<FwAssertArgType>(_status)
2221 _status = msg.serializeFrom(context);
2224 static_cast<FwAssertArgType>(_status)
2233 static_cast<FwAssertArgType>(qStatus)
2281 #if !FW_DIRECT_PORT_CALLS 2295 static_cast<FwAssertArgType>(portNum)
2299 this->m_bufferAllocate_OutputPort[portNum].isConnected(),
2300 static_cast<FwAssertArgType>(portNum)
2302 return this->m_bufferAllocate_OutputPort[portNum].
invoke(
2315 static_cast<FwAssertArgType>(portNum)
2319 this->m_bufferDeallocate_OutputPort[portNum].isConnected(),
2320 static_cast<FwAssertArgType>(portNum)
2322 this->m_bufferDeallocate_OutputPort[portNum].
invoke(
2335 static_cast<FwAssertArgType>(portNum)
2339 this->m_dataInReturn_OutputPort[portNum].isConnected(),
2340 static_cast<FwAssertArgType>(portNum)
2342 this->m_dataInReturn_OutputPort[portNum].
invoke(
2355 static_cast<FwAssertArgType>(portNum)
2359 this->m_dataOut_OutputPort[portNum].isConnected(),
2360 static_cast<FwAssertArgType>(portNum)
2362 this->m_dataOut_OutputPort[portNum].
invoke(
2375 static_cast<FwAssertArgType>(portNum)
2379 this->m_fileDoneOut_OutputPort[portNum].isConnected(),
2380 static_cast<FwAssertArgType>(portNum)
2382 this->m_fileDoneOut_OutputPort[portNum].
invoke(
2395 static_cast<FwAssertArgType>(portNum)
2399 this->m_pingOut_OutputPort[portNum].isConnected(),
2400 static_cast<FwAssertArgType>(portNum)
2402 this->m_pingOut_OutputPort[portNum].
invoke(
2421 this->cmdResponseOut_out(0, opCode, cmdSeq, response);
2442 ComponentIpcSerializableBuffer msg;
2446 _status = msg.serializeFrom(static_cast<FwEnumStoreType>(CMD_SENDFILE));
2449 static_cast<FwAssertArgType>(_status)
2455 _status = msg.serializeFrom(port);
2458 static_cast<FwAssertArgType>(_status)
2461 _status = msg.serializeFrom(opCode);
2464 static_cast<FwAssertArgType>(_status)
2467 _status = msg.serializeFrom(cmdSeq);
2470 static_cast<FwAssertArgType>(_status)
2473 _status = msg.serializeFrom(args);
2476 static_cast<FwAssertArgType>(_status)
2485 static_cast<FwAssertArgType>(qStatus)
2501 ComponentIpcSerializableBuffer msg;
2505 _status = msg.serializeFrom(static_cast<FwEnumStoreType>(CMD_PLAYBACKDIRECTORY));
2508 static_cast<FwAssertArgType>(_status)
2514 _status = msg.serializeFrom(port);
2517 static_cast<FwAssertArgType>(_status)
2520 _status = msg.serializeFrom(opCode);
2523 static_cast<FwAssertArgType>(_status)
2526 _status = msg.serializeFrom(cmdSeq);
2529 static_cast<FwAssertArgType>(_status)
2532 _status = msg.serializeFrom(args);
2535 static_cast<FwAssertArgType>(_status)
2544 static_cast<FwAssertArgType>(qStatus)
2560 ComponentIpcSerializableBuffer msg;
2564 _status = msg.serializeFrom(static_cast<FwEnumStoreType>(CMD_POLLDIRECTORY));
2567 static_cast<FwAssertArgType>(_status)
2573 _status = msg.serializeFrom(port);
2576 static_cast<FwAssertArgType>(_status)
2579 _status = msg.serializeFrom(opCode);
2582 static_cast<FwAssertArgType>(_status)
2585 _status = msg.serializeFrom(cmdSeq);
2588 static_cast<FwAssertArgType>(_status)
2591 _status = msg.serializeFrom(args);
2594 static_cast<FwAssertArgType>(_status)
2603 static_cast<FwAssertArgType>(qStatus)
2619 ComponentIpcSerializableBuffer msg;
2623 _status = msg.serializeFrom(static_cast<FwEnumStoreType>(CMD_STOPPOLLDIRECTORY));
2626 static_cast<FwAssertArgType>(_status)
2632 _status = msg.serializeFrom(port);
2635 static_cast<FwAssertArgType>(_status)
2638 _status = msg.serializeFrom(opCode);
2641 static_cast<FwAssertArgType>(_status)
2644 _status = msg.serializeFrom(cmdSeq);
2647 static_cast<FwAssertArgType>(_status)
2650 _status = msg.serializeFrom(args);
2653 static_cast<FwAssertArgType>(_status)
2662 static_cast<FwAssertArgType>(qStatus)
2678 ComponentIpcSerializableBuffer msg;
2682 _status = msg.serializeFrom(static_cast<FwEnumStoreType>(CMD_SETCHANNELFLOW));
2685 static_cast<FwAssertArgType>(_status)
2691 _status = msg.serializeFrom(port);
2694 static_cast<FwAssertArgType>(_status)
2697 _status = msg.serializeFrom(opCode);
2700 static_cast<FwAssertArgType>(_status)
2703 _status = msg.serializeFrom(cmdSeq);
2706 static_cast<FwAssertArgType>(_status)
2709 _status = msg.serializeFrom(args);
2712 static_cast<FwAssertArgType>(_status)
2721 static_cast<FwAssertArgType>(qStatus)
2737 ComponentIpcSerializableBuffer msg;
2741 _status = msg.serializeFrom(static_cast<FwEnumStoreType>(CMD_SUSPENDRESUMETRANSACTION));
2744 static_cast<FwAssertArgType>(_status)
2750 _status = msg.serializeFrom(port);
2753 static_cast<FwAssertArgType>(_status)
2756 _status = msg.serializeFrom(opCode);
2759 static_cast<FwAssertArgType>(_status)
2762 _status = msg.serializeFrom(cmdSeq);
2765 static_cast<FwAssertArgType>(_status)
2768 _status = msg.serializeFrom(args);
2771 static_cast<FwAssertArgType>(_status)
2780 static_cast<FwAssertArgType>(qStatus)
2796 ComponentIpcSerializableBuffer msg;
2800 _status = msg.serializeFrom(static_cast<FwEnumStoreType>(CMD_CANCELTRANSACTION));
2803 static_cast<FwAssertArgType>(_status)
2809 _status = msg.serializeFrom(port);
2812 static_cast<FwAssertArgType>(_status)
2815 _status = msg.serializeFrom(opCode);
2818 static_cast<FwAssertArgType>(_status)
2821 _status = msg.serializeFrom(cmdSeq);
2824 static_cast<FwAssertArgType>(_status)
2827 _status = msg.serializeFrom(args);
2830 static_cast<FwAssertArgType>(_status)
2839 static_cast<FwAssertArgType>(qStatus)
2855 ComponentIpcSerializableBuffer msg;
2859 _status = msg.serializeFrom(static_cast<FwEnumStoreType>(CMD_ABANDONTRANSACTION));
2862 static_cast<FwAssertArgType>(_status)
2868 _status = msg.serializeFrom(port);
2871 static_cast<FwAssertArgType>(_status)
2874 _status = msg.serializeFrom(opCode);
2877 static_cast<FwAssertArgType>(_status)
2880 _status = msg.serializeFrom(cmdSeq);
2883 static_cast<FwAssertArgType>(_status)
2886 _status = msg.serializeFrom(args);
2889 static_cast<FwAssertArgType>(_status)
2898 static_cast<FwAssertArgType>(qStatus)
2914 ComponentIpcSerializableBuffer msg;
2918 _status = msg.serializeFrom(static_cast<FwEnumStoreType>(CMD_RESETCOUNTERS));
2921 static_cast<FwAssertArgType>(_status)
2927 _status = msg.serializeFrom(port);
2930 static_cast<FwAssertArgType>(_status)
2933 _status = msg.serializeFrom(opCode);
2936 static_cast<FwAssertArgType>(_status)
2939 _status = msg.serializeFrom(cmdSeq);
2942 static_cast<FwAssertArgType>(_status)
2945 _status = msg.serializeFrom(args);
2948 static_cast<FwAssertArgType>(_status)
2957 static_cast<FwAssertArgType>(qStatus)
3078 this->timeCaller_out(0, _logTime);
3087 #if FW_AMPCS_COMPATIBLE 3093 static_cast<FwAssertArgType>(_status)
3107 #if FW_ENABLE_TEXT_LOGGING 3108 if (this->isConnected_logTextOut_OutputPort(0)) {
3109 #if FW_OBJECT_NAMES == 1 3110 const char* _formatString =
3111 "(%s) %s: Unable to allocate a PDU buffer";
3113 const char* _formatString =
3114 "%s: Unable to allocate a PDU buffer";
3118 (void) _logString.
format(
3121 this->m_objName.toChar(),
3126 this->logTextOut_out(
3146 this->timeCaller_out(0, _logTime);
3156 #if FW_AMPCS_COMPATIBLE 3161 static_cast<FwAssertArgType>(_status)
3165 #if FW_AMPCS_COMPATIBLE 3168 static_cast<U8>(
sizeof(
U8))
3172 static_cast<FwAssertArgType>(_status)
3178 static_cast<FwAssertArgType>(_status)
3181 #if FW_AMPCS_COMPATIBLE 3184 static_cast<U8>(
sizeof(
U8))
3188 static_cast<FwAssertArgType>(_status)
3194 static_cast<FwAssertArgType>(_status)
3207 #if FW_ENABLE_TEXT_LOGGING 3208 if (this->isConnected_logTextOut_OutputPort(0)) {
3209 #if FW_OBJECT_NAMES == 1 3210 const char* _formatString =
3211 "(%s) %s: Invalid channel ID %" PRIu8
", maximum channel ID is %" PRIu8
"";
3213 const char* _formatString =
3214 "%s: Invalid channel ID %" PRIu8
", maximum channel ID is %" PRIu8
"";
3218 (void) _logString.
format(
3221 this->m_objName.toChar(),
3228 this->logTextOut_out(
3248 this->timeCaller_out(0, _logTime);
3258 #if FW_AMPCS_COMPATIBLE 3263 static_cast<FwAssertArgType>(_status)
3273 static_cast<FwAssertArgType>(_status)
3276 #if FW_AMPCS_COMPATIBLE 3279 static_cast<U8>(
sizeof(U32))
3283 static_cast<FwAssertArgType>(_status)
3289 static_cast<FwAssertArgType>(_status)
3302 #if FW_ENABLE_TEXT_LOGGING 3303 if (this->isConnected_logTextOut_OutputPort(0)) {
3304 #if FW_OBJECT_NAMES == 1 3305 const char* _formatString =
3306 "(%s) %s: TX file queued for %s (transaction %" PRIu32
")";
3308 const char* _formatString =
3309 "%s: TX file queued for %s (transaction %" PRIu32
")";
3313 (void) _logString.
format(
3316 this->m_objName.toChar(),
3323 this->logTextOut_out(
3343 this->timeCaller_out(0, _logTime);
3353 #if FW_AMPCS_COMPATIBLE 3358 static_cast<FwAssertArgType>(_status)
3362 #if FW_AMPCS_COMPATIBLE 3365 static_cast<U8>(
sizeof(U32))
3369 static_cast<FwAssertArgType>(_status)
3375 static_cast<FwAssertArgType>(_status)
3378 #if FW_AMPCS_COMPATIBLE 3381 static_cast<U8>(
sizeof(U32))
3385 static_cast<FwAssertArgType>(_status)
3391 static_cast<FwAssertArgType>(_status)
3404 #if FW_ENABLE_TEXT_LOGGING 3405 if (this->isConnected_logTextOut_OutputPort(0)) {
3406 #if FW_OBJECT_NAMES == 1 3407 const char* _formatString =
3408 "(%s) %s: Invalid send file port request with offset %" PRIu32
", length %" PRIu32
"";
3410 const char* _formatString =
3411 "%s: Invalid send file port request with offset %" PRIu32
", length %" PRIu32
"";
3415 (void) _logString.
format(
3418 this->m_objName.toChar(),
3420 "UnsupportedSendFileArguments ",
3425 this->logTextOut_out(
3442 this->timeCaller_out(0, _logTime);
3452 #if FW_AMPCS_COMPATIBLE 3457 static_cast<FwAssertArgType>(_status)
3467 static_cast<FwAssertArgType>(_status)
3480 #if FW_ENABLE_TEXT_LOGGING 3481 if (this->isConnected_logTextOut_OutputPort(0)) {
3482 #if FW_OBJECT_NAMES == 1 3483 const char* _formatString =
3484 "(%s) %s: Failed to initiate file send transfer for %s";
3486 const char* _formatString =
3487 "%s: Failed to initiate file send transfer for %s";
3491 (void) _logString.
format(
3494 this->m_objName.toChar(),
3496 "SendFileInitiateFail ",
3500 this->logTextOut_out(
3517 this->timeCaller_out(0, _logTime);
3527 #if FW_AMPCS_COMPATIBLE 3532 static_cast<FwAssertArgType>(_status)
3542 static_cast<FwAssertArgType>(_status)
3555 #if FW_ENABLE_TEXT_LOGGING 3556 if (this->isConnected_logTextOut_OutputPort(0)) {
3557 #if FW_OBJECT_NAMES == 1 3558 const char* _formatString =
3559 "(%s) %s: Successfully initiated directory playback for %s";
3561 const char* _formatString =
3562 "%s: Successfully initiated directory playback for %s";
3566 (void) _logString.
format(
3569 this->m_objName.toChar(),
3571 "PlaybackInitiated ",
3575 this->logTextOut_out(
3592 this->timeCaller_out(0, _logTime);
3602 #if FW_AMPCS_COMPATIBLE 3607 static_cast<FwAssertArgType>(_status)
3617 static_cast<FwAssertArgType>(_status)
3630 #if FW_ENABLE_TEXT_LOGGING 3631 if (this->isConnected_logTextOut_OutputPort(0)) {
3632 #if FW_OBJECT_NAMES == 1 3633 const char* _formatString =
3634 "(%s) %s: Successfully initiated directory poll for %s";
3636 const char* _formatString =
3637 "%s: Successfully initiated directory poll for %s";
3641 (void) _logString.
format(
3644 this->m_objName.toChar(),
3646 "PollDirInitiated ",
3650 this->logTextOut_out(
3670 this->timeCaller_out(0, _logTime);
3680 #if FW_AMPCS_COMPATIBLE 3685 static_cast<FwAssertArgType>(_status)
3689 #if FW_AMPCS_COMPATIBLE 3692 static_cast<U8>(
sizeof(
U8))
3696 static_cast<FwAssertArgType>(_status)
3702 static_cast<FwAssertArgType>(_status)
3705 #if FW_AMPCS_COMPATIBLE 3708 static_cast<U8>(
sizeof(
U8))
3712 static_cast<FwAssertArgType>(_status)
3718 static_cast<FwAssertArgType>(_status)
3731 #if FW_ENABLE_TEXT_LOGGING 3732 if (this->isConnected_logTextOut_OutputPort(0)) {
3733 #if FW_OBJECT_NAMES == 1 3734 const char* _formatString =
3735 "(%s) %s: Successfully stopped directory poll for channel %" PRIu8
", index %" PRIu8
"";
3737 const char* _formatString =
3738 "%s: Successfully stopped directory poll for channel %" PRIu8
", index %" PRIu8
"";
3742 (void) _logString.
format(
3745 this->m_objName.toChar(),
3752 this->logTextOut_out(
3772 this->timeCaller_out(0, _logTime);
3782 #if FW_AMPCS_COMPATIBLE 3787 static_cast<FwAssertArgType>(_status)
3791 #if FW_AMPCS_COMPATIBLE 3794 static_cast<U8>(
sizeof(
U8))
3798 static_cast<FwAssertArgType>(_status)
3804 static_cast<FwAssertArgType>(_status)
3807 #if FW_AMPCS_COMPATIBLE 3810 static_cast<U8>(
sizeof(
U8))
3814 static_cast<FwAssertArgType>(_status)
3820 static_cast<FwAssertArgType>(_status)
3833 #if FW_ENABLE_TEXT_LOGGING 3834 if (this->isConnected_logTextOut_OutputPort(0)) {
3835 #if FW_OBJECT_NAMES == 1 3836 const char* _formatString =
3837 "(%s) %s: Cannot start directory poll - channel %" PRIu8
" poll %" PRIu8
" already in use";
3839 const char* _formatString =
3840 "%s: Cannot start directory poll - channel %" PRIu8
" poll %" PRIu8
" already in use";
3844 (void) _logString.
format(
3847 this->m_objName.toChar(),
3854 this->logTextOut_out(
3874 this->timeCaller_out(0, _logTime);
3884 #if FW_AMPCS_COMPATIBLE 3889 static_cast<FwAssertArgType>(_status)
3893 #if FW_AMPCS_COMPATIBLE 3896 static_cast<U8>(
sizeof(
U8))
3900 static_cast<FwAssertArgType>(_status)
3906 static_cast<FwAssertArgType>(_status)
3909 #if FW_AMPCS_COMPATIBLE 3912 static_cast<U8>(
sizeof(
U8))
3916 static_cast<FwAssertArgType>(_status)
3922 static_cast<FwAssertArgType>(_status)
3935 #if FW_ENABLE_TEXT_LOGGING 3936 if (this->isConnected_logTextOut_OutputPort(0)) {
3937 #if FW_OBJECT_NAMES == 1 3938 const char* _formatString =
3939 "(%s) %s: Cannot stop directory poll - channel %" PRIu8
" poll %" PRIu8
" is not active";
3941 const char* _formatString =
3942 "%s: Cannot stop directory poll - channel %" PRIu8
" poll %" PRIu8
" is not active";
3946 (void) _logString.
format(
3949 this->m_objName.toChar(),
3951 "PollDirNotActive ",
3956 this->logTextOut_out(
3976 this->timeCaller_out(0, _logTime);
3986 #if FW_AMPCS_COMPATIBLE 3991 static_cast<FwAssertArgType>(_status)
3995 #if FW_AMPCS_COMPATIBLE 3998 static_cast<U8>(
sizeof(
U8))
4002 static_cast<FwAssertArgType>(_status)
4008 static_cast<FwAssertArgType>(_status)
4011 #if FW_AMPCS_COMPATIBLE 4018 static_cast<FwAssertArgType>(_status)
4024 static_cast<FwAssertArgType>(_status)
4037 #if FW_ENABLE_TEXT_LOGGING 4038 if (this->isConnected_logTextOut_OutputPort(0)) {
4039 #if FW_OBJECT_NAMES == 1 4040 const char* _formatString =
4041 "(%s) %s: Set channel %" PRIu8
" to %s";
4043 const char* _formatString =
4044 "%s: Set channel %" PRIu8
" to %s";
4048 flowState.toString(flowStateStr);
4051 (void) _logString.
format(
4054 this->m_objName.toChar(),
4061 this->logTextOut_out(
4081 this->timeCaller_out(0, _logTime);
4091 #if FW_AMPCS_COMPATIBLE 4096 static_cast<FwAssertArgType>(_status)
4100 #if FW_AMPCS_COMPATIBLE 4103 static_cast<U8>(
sizeof(
U8))
4107 static_cast<FwAssertArgType>(_status)
4113 static_cast<FwAssertArgType>(_status)
4116 #if FW_AMPCS_COMPATIBLE 4119 static_cast<U8>(
sizeof(
U8))
4123 static_cast<FwAssertArgType>(_status)
4129 static_cast<FwAssertArgType>(_status)
4142 #if FW_ENABLE_TEXT_LOGGING 4143 if (this->isConnected_logTextOut_OutputPort(0)) {
4144 #if FW_OBJECT_NAMES == 1 4145 const char* _formatString =
4146 "(%s) %s: Invalid poll ID %" PRIu8
", maximum poll ID is %" PRIu8
"";
4148 const char* _formatString =
4149 "%s: Invalid poll ID %" PRIu8
", maximum poll ID is %" PRIu8
"";
4153 (void) _logString.
format(
4156 this->m_objName.toChar(),
4158 "InvalidChannelPoll ",
4163 this->logTextOut_out(
4184 this->timeCaller_out(0, _logTime);
4194 #if FW_AMPCS_COMPATIBLE 4199 static_cast<FwAssertArgType>(_status)
4209 static_cast<FwAssertArgType>(_status)
4218 static_cast<FwAssertArgType>(_status)
4221 #if FW_AMPCS_COMPATIBLE 4224 static_cast<U8>(
sizeof(I32))
4228 static_cast<FwAssertArgType>(_status)
4234 static_cast<FwAssertArgType>(_status)
4247 #if FW_ENABLE_TEXT_LOGGING 4248 if (this->isConnected_logTextOut_OutputPort(0)) {
4249 #if FW_OBJECT_NAMES == 1 4250 const char* _formatString =
4251 "(%s) %s: Failed to move %s to %s error %" PRIi32
"";
4253 const char* _formatString =
4254 "%s: Failed to move %s to %s error %" PRIi32
"";
4258 (void) _logString.
format(
4261 this->m_objName.toChar(),
4263 "FailKeepFileMove ",
4269 this->logTextOut_out(
4290 this->timeCaller_out(0, _logTime);
4300 #if FW_AMPCS_COMPATIBLE 4305 static_cast<FwAssertArgType>(_status)
4315 static_cast<FwAssertArgType>(_status)
4324 static_cast<FwAssertArgType>(_status)
4327 #if FW_AMPCS_COMPATIBLE 4330 static_cast<U8>(
sizeof(I32))
4334 static_cast<FwAssertArgType>(_status)
4340 static_cast<FwAssertArgType>(_status)
4353 #if FW_ENABLE_TEXT_LOGGING 4354 if (this->isConnected_logTextOut_OutputPort(0)) {
4355 #if FW_OBJECT_NAMES == 1 4356 const char* _formatString =
4357 "(%s) %s: Failed to move %s to %s error %" PRIi32
"";
4359 const char* _formatString =
4360 "%s: Failed to move %s to %s error %" PRIi32
"";
4364 (void) _logString.
format(
4367 this->m_objName.toChar(),
4369 "FailPollFileMove ",
4375 this->logTextOut_out(
4395 this->timeCaller_out(0, _logTime);
4405 #if FW_AMPCS_COMPATIBLE 4410 static_cast<FwAssertArgType>(_status)
4414 #if FW_AMPCS_COMPATIBLE 4417 static_cast<U8>(
sizeof(
U8))
4421 static_cast<FwAssertArgType>(_status)
4427 static_cast<FwAssertArgType>(_status)
4430 #if FW_AMPCS_COMPATIBLE 4433 static_cast<U8>(
sizeof(I32))
4437 static_cast<FwAssertArgType>(_status)
4443 static_cast<FwAssertArgType>(_status)
4456 #if FW_ENABLE_TEXT_LOGGING 4457 if (this->isConnected_logTextOut_OutputPort(0)) {
4458 #if FW_OBJECT_NAMES == 1 4459 const char* _formatString =
4460 "(%s) %s: Failed to deserialize PDU header on channel %" PRIu8
", status %" PRIi32
"";
4462 const char* _formatString =
4463 "%s: Failed to deserialize PDU header on channel %" PRIu8
", status %" PRIi32
"";
4467 (void) _logString.
format(
4470 this->m_objName.toChar(),
4472 "FailPduHeaderDeserialization ",
4477 this->logTextOut_out(
4498 this->timeCaller_out(0, _logTime);
4508 #if FW_AMPCS_COMPATIBLE 4513 static_cast<FwAssertArgType>(_status)
4517 #if FW_AMPCS_COMPATIBLE 4520 static_cast<U8>(
sizeof(
U8))
4524 static_cast<FwAssertArgType>(_status)
4530 static_cast<FwAssertArgType>(_status)
4533 #if FW_AMPCS_COMPATIBLE 4540 static_cast<FwAssertArgType>(_status)
4546 static_cast<FwAssertArgType>(_status)
4549 #if FW_AMPCS_COMPATIBLE 4552 static_cast<U8>(
sizeof(I32))
4556 static_cast<FwAssertArgType>(_status)
4562 static_cast<FwAssertArgType>(_status)
4575 #if FW_ENABLE_TEXT_LOGGING 4576 if (this->isConnected_logTextOut_OutputPort(0)) {
4577 #if FW_OBJECT_NAMES == 1 4578 const char* _formatString =
4579 "(%s) %s: Failed to serialize %" PRIu8
" PDU on channel %s, status %" PRIi32
"";
4581 const char* _formatString =
4582 "%s: Failed to serialize %" PRIu8
" PDU on channel %s, status %" PRIi32
"";
4586 pduType.toString(pduTypeStr);
4589 (void) _logString.
format(
4592 this->m_objName.toChar(),
4594 "FailPduSerialization ",
4600 this->logTextOut_out(
4620 this->timeCaller_out(0, _logTime);
4630 #if FW_AMPCS_COMPATIBLE 4635 static_cast<FwAssertArgType>(_status)
4639 #if FW_AMPCS_COMPATIBLE 4642 static_cast<U8>(
sizeof(
U8))
4646 static_cast<FwAssertArgType>(_status)
4652 static_cast<FwAssertArgType>(_status)
4655 #if FW_AMPCS_COMPATIBLE 4658 static_cast<U8>(
sizeof(I32))
4662 static_cast<FwAssertArgType>(_status)
4668 static_cast<FwAssertArgType>(_status)
4681 #if FW_ENABLE_TEXT_LOGGING 4682 if (this->isConnected_logTextOut_OutputPort(0)) {
4683 #if FW_OBJECT_NAMES == 1 4684 const char* _formatString =
4685 "(%s) %s: Failed to deserialize Metadata PDU on channel %" PRIu8
", status %" PRIi32
"";
4687 const char* _formatString =
4688 "%s: Failed to deserialize Metadata PDU on channel %" PRIu8
", status %" PRIi32
"";
4692 (void) _logString.
format(
4695 this->m_objName.toChar(),
4697 "FailMetadataPduDeserialization ",
4702 this->logTextOut_out(
4722 this->timeCaller_out(0, _logTime);
4732 #if FW_AMPCS_COMPATIBLE 4737 static_cast<FwAssertArgType>(_status)
4741 #if FW_AMPCS_COMPATIBLE 4744 static_cast<U8>(
sizeof(
U8))
4748 static_cast<FwAssertArgType>(_status)
4754 static_cast<FwAssertArgType>(_status)
4757 #if FW_AMPCS_COMPATIBLE 4760 static_cast<U8>(
sizeof(I32))
4764 static_cast<FwAssertArgType>(_status)
4770 static_cast<FwAssertArgType>(_status)
4783 #if FW_ENABLE_TEXT_LOGGING 4784 if (this->isConnected_logTextOut_OutputPort(0)) {
4785 #if FW_OBJECT_NAMES == 1 4786 const char* _formatString =
4787 "(%s) %s: Failed to deserialize File Data PDU on channel %" PRIu8
", status %" PRIi32
"";
4789 const char* _formatString =
4790 "%s: Failed to deserialize File Data PDU on channel %" PRIu8
", status %" PRIi32
"";
4794 (void) _logString.
format(
4797 this->m_objName.toChar(),
4799 "FailFileDataPduDeserialization ",
4804 this->logTextOut_out(
4824 this->timeCaller_out(0, _logTime);
4834 #if FW_AMPCS_COMPATIBLE 4839 static_cast<FwAssertArgType>(_status)
4843 #if FW_AMPCS_COMPATIBLE 4846 static_cast<U8>(
sizeof(
U8))
4850 static_cast<FwAssertArgType>(_status)
4856 static_cast<FwAssertArgType>(_status)
4859 #if FW_AMPCS_COMPATIBLE 4862 static_cast<U8>(
sizeof(I32))
4866 static_cast<FwAssertArgType>(_status)
4872 static_cast<FwAssertArgType>(_status)
4885 #if FW_ENABLE_TEXT_LOGGING 4886 if (this->isConnected_logTextOut_OutputPort(0)) {
4887 #if FW_OBJECT_NAMES == 1 4888 const char* _formatString =
4889 "(%s) %s: Failed to deserialize EOF PDU on channel %" PRIu8
", status %" PRIi32
"";
4891 const char* _formatString =
4892 "%s: Failed to deserialize EOF PDU on channel %" PRIu8
", status %" PRIi32
"";
4896 (void) _logString.
format(
4899 this->m_objName.toChar(),
4901 "FailEofPduDeserialization ",
4906 this->logTextOut_out(
4926 this->timeCaller_out(0, _logTime);
4936 #if FW_AMPCS_COMPATIBLE 4941 static_cast<FwAssertArgType>(_status)
4945 #if FW_AMPCS_COMPATIBLE 4948 static_cast<U8>(
sizeof(
U8))
4952 static_cast<FwAssertArgType>(_status)
4958 static_cast<FwAssertArgType>(_status)
4961 #if FW_AMPCS_COMPATIBLE 4964 static_cast<U8>(
sizeof(I32))
4968 static_cast<FwAssertArgType>(_status)
4974 static_cast<FwAssertArgType>(_status)
4987 #if FW_ENABLE_TEXT_LOGGING 4988 if (this->isConnected_logTextOut_OutputPort(0)) {
4989 #if FW_OBJECT_NAMES == 1 4990 const char* _formatString =
4991 "(%s) %s: Failed to deserialize ACK PDU on channel %" PRIu8
", status %" PRIi32
"";
4993 const char* _formatString =
4994 "%s: Failed to deserialize ACK PDU on channel %" PRIu8
", status %" PRIi32
"";
4998 (void) _logString.
format(
5001 this->m_objName.toChar(),
5003 "FailAckPduDeserialization ",
5008 this->logTextOut_out(
5028 this->timeCaller_out(0, _logTime);
5038 #if FW_AMPCS_COMPATIBLE 5043 static_cast<FwAssertArgType>(_status)
5047 #if FW_AMPCS_COMPATIBLE 5050 static_cast<U8>(
sizeof(
U8))
5054 static_cast<FwAssertArgType>(_status)
5060 static_cast<FwAssertArgType>(_status)
5063 #if FW_AMPCS_COMPATIBLE 5066 static_cast<U8>(
sizeof(I32))
5070 static_cast<FwAssertArgType>(_status)
5076 static_cast<FwAssertArgType>(_status)
5089 #if FW_ENABLE_TEXT_LOGGING 5090 if (this->isConnected_logTextOut_OutputPort(0)) {
5091 #if FW_OBJECT_NAMES == 1 5092 const char* _formatString =
5093 "(%s) %s: Failed to deserialize FIN PDU on channel %" PRIu8
", status %" PRIi32
"";
5095 const char* _formatString =
5096 "%s: Failed to deserialize FIN PDU on channel %" PRIu8
", status %" PRIi32
"";
5100 (void) _logString.
format(
5103 this->m_objName.toChar(),
5105 "FailFinPduDeserialization ",
5110 this->logTextOut_out(
5130 this->timeCaller_out(0, _logTime);
5140 #if FW_AMPCS_COMPATIBLE 5145 static_cast<FwAssertArgType>(_status)
5149 #if FW_AMPCS_COMPATIBLE 5152 static_cast<U8>(
sizeof(
U8))
5156 static_cast<FwAssertArgType>(_status)
5162 static_cast<FwAssertArgType>(_status)
5165 #if FW_AMPCS_COMPATIBLE 5168 static_cast<U8>(
sizeof(I32))
5172 static_cast<FwAssertArgType>(_status)
5178 static_cast<FwAssertArgType>(_status)
5191 #if FW_ENABLE_TEXT_LOGGING 5192 if (this->isConnected_logTextOut_OutputPort(0)) {
5193 #if FW_OBJECT_NAMES == 1 5194 const char* _formatString =
5195 "(%s) %s: Failed to deserialize NAK PDU on channel %" PRIu8
", status %" PRIi32
"";
5197 const char* _formatString =
5198 "%s: Failed to deserialize NAK PDU on channel %" PRIu8
", status %" PRIi32
"";
5202 (void) _logString.
format(
5205 this->m_objName.toChar(),
5207 "FailNakPduDeserialization ",
5212 this->logTextOut_out(
5233 this->timeCaller_out(0, _logTime);
5243 #if FW_AMPCS_COMPATIBLE 5248 static_cast<FwAssertArgType>(_status)
5252 #if FW_AMPCS_COMPATIBLE 5259 static_cast<FwAssertArgType>(_status)
5265 static_cast<FwAssertArgType>(_status)
5268 #if FW_AMPCS_COMPATIBLE 5271 static_cast<U8>(
sizeof(U32))
5275 static_cast<FwAssertArgType>(_status)
5281 static_cast<FwAssertArgType>(_status)
5284 #if FW_AMPCS_COMPATIBLE 5287 static_cast<U8>(
sizeof(U32))
5291 static_cast<FwAssertArgType>(_status)
5297 static_cast<FwAssertArgType>(_status)
5310 #if FW_ENABLE_TEXT_LOGGING 5311 if (this->isConnected_logTextOut_OutputPort(0)) {
5312 #if FW_OBJECT_NAMES == 1 5313 const char* _formatString =
5314 "(%s) %s: RX class %s ACK limit reached for transaction %" PRIu32
":%" PRIu32
", no fin-ack sent";
5316 const char* _formatString =
5317 "%s: RX class %s ACK limit reached for transaction %" PRIu32
":%" PRIu32
", no fin-ack sent";
5321 cfdpClass.toString(cfdpClassStr);
5324 (void) _logString.
format(
5327 this->m_objName.toChar(),
5329 "RxAckLimitReached ",
5335 this->logTextOut_out(
5357 this->timeCaller_out(0, _logTime);
5367 #if FW_AMPCS_COMPATIBLE 5372 static_cast<FwAssertArgType>(_status)
5376 #if FW_AMPCS_COMPATIBLE 5383 static_cast<FwAssertArgType>(_status)
5389 static_cast<FwAssertArgType>(_status)
5392 #if FW_AMPCS_COMPATIBLE 5395 static_cast<U8>(
sizeof(U32))
5399 static_cast<FwAssertArgType>(_status)
5405 static_cast<FwAssertArgType>(_status)
5408 #if FW_AMPCS_COMPATIBLE 5411 static_cast<U8>(
sizeof(U32))
5415 static_cast<FwAssertArgType>(_status)
5421 static_cast<FwAssertArgType>(_status)
5430 static_cast<FwAssertArgType>(_status)
5443 #if FW_ENABLE_TEXT_LOGGING 5444 if (this->isConnected_logTextOut_OutputPort(0)) {
5445 #if FW_OBJECT_NAMES == 1 5446 const char* _formatString =
5447 "(%s) %s: RX class %s transaction %" PRIu32
":%" PRIu32
" creating temp file %s without metadata";
5449 const char* _formatString =
5450 "%s: RX class %s transaction %" PRIu32
":%" PRIu32
" creating temp file %s without metadata";
5454 cfdpClass.toString(cfdpClassStr);
5457 (void) _logString.
format(
5460 this->m_objName.toChar(),
5462 "RxTempFileCreated ",
5469 this->logTextOut_out(
5492 this->timeCaller_out(0, _logTime);
5502 #if FW_AMPCS_COMPATIBLE 5507 static_cast<FwAssertArgType>(_status)
5511 #if FW_AMPCS_COMPATIBLE 5518 static_cast<FwAssertArgType>(_status)
5524 static_cast<FwAssertArgType>(_status)
5527 #if FW_AMPCS_COMPATIBLE 5530 static_cast<U8>(
sizeof(U32))
5534 static_cast<FwAssertArgType>(_status)
5540 static_cast<FwAssertArgType>(_status)
5543 #if FW_AMPCS_COMPATIBLE 5546 static_cast<U8>(
sizeof(U32))
5550 static_cast<FwAssertArgType>(_status)
5556 static_cast<FwAssertArgType>(_status)
5565 static_cast<FwAssertArgType>(_status)
5568 #if FW_AMPCS_COMPATIBLE 5571 static_cast<U8>(
sizeof(I32))
5575 static_cast<FwAssertArgType>(_status)
5581 static_cast<FwAssertArgType>(_status)
5594 #if FW_ENABLE_TEXT_LOGGING 5595 if (this->isConnected_logTextOut_OutputPort(0)) {
5596 #if FW_OBJECT_NAMES == 1 5597 const char* _formatString =
5598 "(%s) %s: RX class %s transaction %" PRIu32
":%" PRIu32
" failed to create file %s, error=%" PRIi32
"";
5600 const char* _formatString =
5601 "%s: RX class %s transaction %" PRIu32
":%" PRIu32
" failed to create file %s, error=%" PRIi32
"";
5605 cfdpClass.toString(cfdpClassStr);
5608 (void) _logString.
format(
5611 this->m_objName.toChar(),
5613 "RxFileCreateFailed ",
5621 this->logTextOut_out(
5644 this->timeCaller_out(0, _logTime);
5654 #if FW_AMPCS_COMPATIBLE 5659 static_cast<FwAssertArgType>(_status)
5663 #if FW_AMPCS_COMPATIBLE 5670 static_cast<FwAssertArgType>(_status)
5676 static_cast<FwAssertArgType>(_status)
5679 #if FW_AMPCS_COMPATIBLE 5682 static_cast<U8>(
sizeof(U32))
5686 static_cast<FwAssertArgType>(_status)
5692 static_cast<FwAssertArgType>(_status)
5695 #if FW_AMPCS_COMPATIBLE 5698 static_cast<U8>(
sizeof(U32))
5702 static_cast<FwAssertArgType>(_status)
5708 static_cast<FwAssertArgType>(_status)
5711 #if FW_AMPCS_COMPATIBLE 5714 static_cast<U8>(
sizeof(U32))
5718 static_cast<FwAssertArgType>(_status)
5724 static_cast<FwAssertArgType>(_status)
5727 #if FW_AMPCS_COMPATIBLE 5730 static_cast<U8>(
sizeof(U32))
5734 static_cast<FwAssertArgType>(_status)
5740 static_cast<FwAssertArgType>(_status)
5753 #if FW_ENABLE_TEXT_LOGGING 5754 if (this->isConnected_logTextOut_OutputPort(0)) {
5755 #if FW_OBJECT_NAMES == 1 5756 const char* _formatString =
5757 "(%s) %s: RX class %s transaction %" PRIu32
":%" PRIu32
" CRC mismatch: expected 0x%" PRIx32
" actual 0x%" PRIx32
"";
5759 const char* _formatString =
5760 "%s: RX class %s transaction %" PRIu32
":%" PRIu32
" CRC mismatch: expected 0x%" PRIx32
" actual 0x%" PRIx32
"";
5764 cfdpClass.toString(cfdpClassStr);
5767 (void) _logString.
format(
5770 this->m_objName.toChar(),
5780 this->logTextOut_out(
5801 this->timeCaller_out(0, _logTime);
5811 #if FW_AMPCS_COMPATIBLE 5816 static_cast<FwAssertArgType>(_status)
5820 #if FW_AMPCS_COMPATIBLE 5827 static_cast<FwAssertArgType>(_status)
5833 static_cast<FwAssertArgType>(_status)
5836 #if FW_AMPCS_COMPATIBLE 5839 static_cast<U8>(
sizeof(U32))
5843 static_cast<FwAssertArgType>(_status)
5849 static_cast<FwAssertArgType>(_status)
5852 #if FW_AMPCS_COMPATIBLE 5855 static_cast<U8>(
sizeof(U32))
5859 static_cast<FwAssertArgType>(_status)
5865 static_cast<FwAssertArgType>(_status)
5878 #if FW_ENABLE_TEXT_LOGGING 5879 if (this->isConnected_logTextOut_OutputPort(0)) {
5880 #if FW_OBJECT_NAMES == 1 5881 const char* _formatString =
5882 "(%s) %s: RX class %s transaction %" PRIu32
":%" PRIu32
" NAK limit reached";
5884 const char* _formatString =
5885 "%s: RX class %s transaction %" PRIu32
":%" PRIu32
" NAK limit reached";
5889 cfdpClass.toString(cfdpClassStr);
5892 (void) _logString.
format(
5895 this->m_objName.toChar(),
5897 "RxNakLimitReached ",
5903 this->logTextOut_out(
5926 this->timeCaller_out(0, _logTime);
5936 #if FW_AMPCS_COMPATIBLE 5941 static_cast<FwAssertArgType>(_status)
5945 #if FW_AMPCS_COMPATIBLE 5952 static_cast<FwAssertArgType>(_status)
5958 static_cast<FwAssertArgType>(_status)
5961 #if FW_AMPCS_COMPATIBLE 5964 static_cast<U8>(
sizeof(U32))
5968 static_cast<FwAssertArgType>(_status)
5974 static_cast<FwAssertArgType>(_status)
5977 #if FW_AMPCS_COMPATIBLE 5980 static_cast<U8>(
sizeof(U32))
5984 static_cast<FwAssertArgType>(_status)
5990 static_cast<FwAssertArgType>(_status)
5993 #if FW_AMPCS_COMPATIBLE 5996 static_cast<U8>(
sizeof(U32))
6000 static_cast<FwAssertArgType>(_status)
6006 static_cast<FwAssertArgType>(_status)
6009 #if FW_AMPCS_COMPATIBLE 6012 static_cast<U8>(
sizeof(I32))
6016 static_cast<FwAssertArgType>(_status)
6022 static_cast<FwAssertArgType>(_status)
6035 #if FW_ENABLE_TEXT_LOGGING 6036 if (this->isConnected_logTextOut_OutputPort(0)) {
6037 #if FW_OBJECT_NAMES == 1 6038 const char* _formatString =
6039 "(%s) %s: RX class %s transaction %" PRIu32
":%" PRIu32
" failed to seek to offset %" PRIu32
", error=%" PRIi32
"";
6041 const char* _formatString =
6042 "%s: RX class %s transaction %" PRIu32
":%" PRIu32
" failed to seek to offset %" PRIu32
", error=%" PRIi32
"";
6046 cfdpClass.toString(cfdpClassStr);
6049 (void) _logString.
format(
6052 this->m_objName.toChar(),
6062 this->logTextOut_out(
6085 this->timeCaller_out(0, _logTime);
6095 #if FW_AMPCS_COMPATIBLE 6100 static_cast<FwAssertArgType>(_status)
6104 #if FW_AMPCS_COMPATIBLE 6111 static_cast<FwAssertArgType>(_status)
6117 static_cast<FwAssertArgType>(_status)
6120 #if FW_AMPCS_COMPATIBLE 6123 static_cast<U8>(
sizeof(U32))
6127 static_cast<FwAssertArgType>(_status)
6133 static_cast<FwAssertArgType>(_status)
6136 #if FW_AMPCS_COMPATIBLE 6139 static_cast<U8>(
sizeof(U32))
6143 static_cast<FwAssertArgType>(_status)
6149 static_cast<FwAssertArgType>(_status)
6152 #if FW_AMPCS_COMPATIBLE 6155 static_cast<U8>(
sizeof(U32))
6159 static_cast<FwAssertArgType>(_status)
6165 static_cast<FwAssertArgType>(_status)
6168 #if FW_AMPCS_COMPATIBLE 6171 static_cast<U8>(
sizeof(I32))
6175 static_cast<FwAssertArgType>(_status)
6181 static_cast<FwAssertArgType>(_status)
6194 #if FW_ENABLE_TEXT_LOGGING 6195 if (this->isConnected_logTextOut_OutputPort(0)) {
6196 #if FW_OBJECT_NAMES == 1 6197 const char* _formatString =
6198 "(%s) %s: RX class %s transaction %" PRIu32
":%" PRIu32
" write failed: expected %" PRIu32
" bytes, got %" PRIi32
"";
6200 const char* _formatString =
6201 "%s: RX class %s transaction %" PRIu32
":%" PRIu32
" write failed: expected %" PRIu32
" bytes, got %" PRIi32
"";
6205 cfdpClass.toString(cfdpClassStr);
6208 (void) _logString.
format(
6211 this->m_objName.toChar(),
6221 this->logTextOut_out(
6245 this->timeCaller_out(0, _logTime);
6255 #if FW_AMPCS_COMPATIBLE 6260 static_cast<FwAssertArgType>(_status)
6264 #if FW_AMPCS_COMPATIBLE 6271 static_cast<FwAssertArgType>(_status)
6277 static_cast<FwAssertArgType>(_status)
6280 #if FW_AMPCS_COMPATIBLE 6283 static_cast<U8>(
sizeof(U32))
6287 static_cast<FwAssertArgType>(_status)
6293 static_cast<FwAssertArgType>(_status)
6296 #if FW_AMPCS_COMPATIBLE 6299 static_cast<U8>(
sizeof(U32))
6303 static_cast<FwAssertArgType>(_status)
6309 static_cast<FwAssertArgType>(_status)
6312 #if FW_AMPCS_COMPATIBLE 6315 static_cast<U8>(
sizeof(U32))
6319 static_cast<FwAssertArgType>(_status)
6325 static_cast<FwAssertArgType>(_status)
6328 #if FW_AMPCS_COMPATIBLE 6331 static_cast<U8>(
sizeof(U32))
6335 static_cast<FwAssertArgType>(_status)
6341 static_cast<FwAssertArgType>(_status)
6344 #if FW_AMPCS_COMPATIBLE 6347 static_cast<U8>(
sizeof(U32))
6351 static_cast<FwAssertArgType>(_status)
6357 static_cast<FwAssertArgType>(_status)
6370 #if FW_ENABLE_TEXT_LOGGING 6371 if (this->isConnected_logTextOut_OutputPort(0)) {
6372 #if FW_OBJECT_NAMES == 1 6373 const char* _formatString =
6374 "(%s) %s: RX class %s transaction %" PRIu32
":%" PRIu32
" file data [%" PRIu32
", +%" PRIu32
"] exceeds declared file size %" PRIu32
", PDU rejected";
6376 const char* _formatString =
6377 "%s: RX class %s transaction %" PRIu32
":%" PRIu32
" file data [%" PRIu32
", +%" PRIu32
"] exceeds declared file size %" PRIu32
", PDU rejected";
6381 cfdpClass.toString(cfdpClassStr);
6384 (void) _logString.
format(
6387 this->m_objName.toChar(),
6389 "RxFileDataOutOfBounds ",
6398 this->logTextOut_out(
6421 this->timeCaller_out(0, _logTime);
6431 #if FW_AMPCS_COMPATIBLE 6436 static_cast<FwAssertArgType>(_status)
6440 #if FW_AMPCS_COMPATIBLE 6447 static_cast<FwAssertArgType>(_status)
6453 static_cast<FwAssertArgType>(_status)
6456 #if FW_AMPCS_COMPATIBLE 6459 static_cast<U8>(
sizeof(U32))
6463 static_cast<FwAssertArgType>(_status)
6469 static_cast<FwAssertArgType>(_status)
6472 #if FW_AMPCS_COMPATIBLE 6475 static_cast<U8>(
sizeof(U32))
6479 static_cast<FwAssertArgType>(_status)
6485 static_cast<FwAssertArgType>(_status)
6488 #if FW_AMPCS_COMPATIBLE 6491 static_cast<U8>(
sizeof(U32))
6495 static_cast<FwAssertArgType>(_status)
6501 static_cast<FwAssertArgType>(_status)
6504 #if FW_AMPCS_COMPATIBLE 6507 static_cast<U8>(
sizeof(U32))
6511 static_cast<FwAssertArgType>(_status)
6517 static_cast<FwAssertArgType>(_status)
6530 #if FW_ENABLE_TEXT_LOGGING 6531 if (this->isConnected_logTextOut_OutputPort(0)) {
6532 #if FW_OBJECT_NAMES == 1 6533 const char* _formatString =
6534 "(%s) %s: RX class %s transaction %" PRIu32
":%" PRIu32
" EOF file size mismatch: expected %" PRIu32
" got %" PRIu32
"";
6536 const char* _formatString =
6537 "%s: RX class %s transaction %" PRIu32
":%" PRIu32
" EOF file size mismatch: expected %" PRIu32
" got %" PRIu32
"";
6541 cfdpClass.toString(cfdpClassStr);
6544 (void) _logString.
format(
6547 this->m_objName.toChar(),
6549 "RxFileSizeMismatch ",
6557 this->logTextOut_out(
6578 this->timeCaller_out(0, _logTime);
6588 #if FW_AMPCS_COMPATIBLE 6593 static_cast<FwAssertArgType>(_status)
6597 #if FW_AMPCS_COMPATIBLE 6604 static_cast<FwAssertArgType>(_status)
6610 static_cast<FwAssertArgType>(_status)
6613 #if FW_AMPCS_COMPATIBLE 6616 static_cast<U8>(
sizeof(U32))
6620 static_cast<FwAssertArgType>(_status)
6626 static_cast<FwAssertArgType>(_status)
6629 #if FW_AMPCS_COMPATIBLE 6632 static_cast<U8>(
sizeof(U32))
6636 static_cast<FwAssertArgType>(_status)
6642 static_cast<FwAssertArgType>(_status)
6655 #if FW_ENABLE_TEXT_LOGGING 6656 if (this->isConnected_logTextOut_OutputPort(0)) {
6657 #if FW_OBJECT_NAMES == 1 6658 const char* _formatString =
6659 "(%s) %s: RX class %s transaction %" PRIu32
":%" PRIu32
" cancelled by sender";
6661 const char* _formatString =
6662 "%s: RX class %s transaction %" PRIu32
":%" PRIu32
" cancelled by sender";
6666 cfdpClass.toString(cfdpClassStr);
6669 (void) _logString.
format(
6672 this->m_objName.toChar(),
6674 "RxEofCancelReceived ",
6680 this->logTextOut_out(
6702 this->timeCaller_out(0, _logTime);
6712 #if FW_AMPCS_COMPATIBLE 6717 static_cast<FwAssertArgType>(_status)
6721 #if FW_AMPCS_COMPATIBLE 6728 static_cast<FwAssertArgType>(_status)
6734 static_cast<FwAssertArgType>(_status)
6737 #if FW_AMPCS_COMPATIBLE 6740 static_cast<U8>(
sizeof(U32))
6744 static_cast<FwAssertArgType>(_status)
6750 static_cast<FwAssertArgType>(_status)
6753 #if FW_AMPCS_COMPATIBLE 6756 static_cast<U8>(
sizeof(U32))
6760 static_cast<FwAssertArgType>(_status)
6766 static_cast<FwAssertArgType>(_status)
6769 #if FW_AMPCS_COMPATIBLE 6772 static_cast<U8>(
sizeof(
U8))
6776 static_cast<FwAssertArgType>(_status)
6782 static_cast<FwAssertArgType>(_status)
6795 #if FW_ENABLE_TEXT_LOGGING 6796 if (this->isConnected_logTextOut_OutputPort(0)) {
6797 #if FW_OBJECT_NAMES == 1 6798 const char* _formatString =
6799 "(%s) %s: RX class %s transaction %" PRIu32
":%" PRIu32
" received EOF with error condition code %" PRIu8
"";
6801 const char* _formatString =
6802 "%s: RX class %s transaction %" PRIu32
":%" PRIu32
" received EOF with error condition code %" PRIu8
"";
6806 cfdpClass.toString(cfdpClassStr);
6809 (void) _logString.
format(
6812 this->m_objName.toChar(),
6821 this->logTextOut_out(
6844 this->timeCaller_out(0, _logTime);
6854 #if FW_AMPCS_COMPATIBLE 6859 static_cast<FwAssertArgType>(_status)
6863 #if FW_AMPCS_COMPATIBLE 6870 static_cast<FwAssertArgType>(_status)
6876 static_cast<FwAssertArgType>(_status)
6879 #if FW_AMPCS_COMPATIBLE 6882 static_cast<U8>(
sizeof(U32))
6886 static_cast<FwAssertArgType>(_status)
6892 static_cast<FwAssertArgType>(_status)
6895 #if FW_AMPCS_COMPATIBLE 6898 static_cast<U8>(
sizeof(U32))
6902 static_cast<FwAssertArgType>(_status)
6908 static_cast<FwAssertArgType>(_status)
6911 #if FW_AMPCS_COMPATIBLE 6914 static_cast<U8>(
sizeof(U32))
6918 static_cast<FwAssertArgType>(_status)
6924 static_cast<FwAssertArgType>(_status)
6927 #if FW_AMPCS_COMPATIBLE 6930 static_cast<U8>(
sizeof(I32))
6934 static_cast<FwAssertArgType>(_status)
6940 static_cast<FwAssertArgType>(_status)
6953 #if FW_ENABLE_TEXT_LOGGING 6954 if (this->isConnected_logTextOut_OutputPort(0)) {
6955 #if FW_OBJECT_NAMES == 1 6956 const char* _formatString =
6957 "(%s) %s: RX class %s transaction %" PRIu32
":%" PRIu32
" failed to seek offset %" PRIu32
" during CRC calculation, error=%" PRIi32
"";
6959 const char* _formatString =
6960 "%s: RX class %s transaction %" PRIu32
":%" PRIu32
" failed to seek offset %" PRIu32
" during CRC calculation, error=%" PRIi32
"";
6964 cfdpClass.toString(cfdpClassStr);
6967 (void) _logString.
format(
6970 this->m_objName.toChar(),
6980 this->logTextOut_out(
7003 this->timeCaller_out(0, _logTime);
7013 #if FW_AMPCS_COMPATIBLE 7018 static_cast<FwAssertArgType>(_status)
7022 #if FW_AMPCS_COMPATIBLE 7029 static_cast<FwAssertArgType>(_status)
7035 static_cast<FwAssertArgType>(_status)
7038 #if FW_AMPCS_COMPATIBLE 7041 static_cast<U8>(
sizeof(U32))
7045 static_cast<FwAssertArgType>(_status)
7051 static_cast<FwAssertArgType>(_status)
7054 #if FW_AMPCS_COMPATIBLE 7057 static_cast<U8>(
sizeof(U32))
7061 static_cast<FwAssertArgType>(_status)
7067 static_cast<FwAssertArgType>(_status)
7070 #if FW_AMPCS_COMPATIBLE 7073 static_cast<U8>(
sizeof(U32))
7077 static_cast<FwAssertArgType>(_status)
7083 static_cast<FwAssertArgType>(_status)
7086 #if FW_AMPCS_COMPATIBLE 7089 static_cast<U8>(
sizeof(I32))
7093 static_cast<FwAssertArgType>(_status)
7099 static_cast<FwAssertArgType>(_status)
7112 #if FW_ENABLE_TEXT_LOGGING 7113 if (this->isConnected_logTextOut_OutputPort(0)) {
7114 #if FW_OBJECT_NAMES == 1 7115 const char* _formatString =
7116 "(%s) %s: RX class %s transaction %" PRIu32
":%" PRIu32
" failed to read during CRC calculation: expected %" PRIu32
" bytes, got %" PRIi32
"";
7118 const char* _formatString =
7119 "%s: RX class %s transaction %" PRIu32
":%" PRIu32
" failed to read during CRC calculation: expected %" PRIu32
" bytes, got %" PRIi32
"";
7123 cfdpClass.toString(cfdpClassStr);
7126 (void) _logString.
format(
7129 this->m_objName.toChar(),
7139 this->logTextOut_out(
7162 this->timeCaller_out(0, _logTime);
7172 #if FW_AMPCS_COMPATIBLE 7177 static_cast<FwAssertArgType>(_status)
7181 #if FW_AMPCS_COMPATIBLE 7188 static_cast<FwAssertArgType>(_status)
7194 static_cast<FwAssertArgType>(_status)
7197 #if FW_AMPCS_COMPATIBLE 7200 static_cast<U8>(
sizeof(U32))
7204 static_cast<FwAssertArgType>(_status)
7210 static_cast<FwAssertArgType>(_status)
7213 #if FW_AMPCS_COMPATIBLE 7216 static_cast<U8>(
sizeof(U32))
7220 static_cast<FwAssertArgType>(_status)
7226 static_cast<FwAssertArgType>(_status)
7229 #if FW_AMPCS_COMPATIBLE 7232 static_cast<U8>(
sizeof(U32))
7236 static_cast<FwAssertArgType>(_status)
7242 static_cast<FwAssertArgType>(_status)
7245 #if FW_AMPCS_COMPATIBLE 7248 static_cast<U8>(
sizeof(U32))
7252 static_cast<FwAssertArgType>(_status)
7258 static_cast<FwAssertArgType>(_status)
7271 #if FW_ENABLE_TEXT_LOGGING 7272 if (this->isConnected_logTextOut_OutputPort(0)) {
7273 #if FW_OBJECT_NAMES == 1 7274 const char* _formatString =
7275 "(%s) %s: RX class %s transaction %" PRIu32
":%" PRIu32
" EOF/metadata size mismatch: metadata=%" PRIu32
", EOF=%" PRIu32
"";
7277 const char* _formatString =
7278 "%s: RX class %s transaction %" PRIu32
":%" PRIu32
" EOF/metadata size mismatch: metadata=%" PRIu32
", EOF=%" PRIu32
"";
7282 cfdpClass.toString(cfdpClassStr);
7285 (void) _logString.
format(
7288 this->m_objName.toChar(),
7290 "RxEofMdSizeMismatch ",
7298 this->logTextOut_out(
7322 this->timeCaller_out(0, _logTime);
7332 #if FW_AMPCS_COMPATIBLE 7337 static_cast<FwAssertArgType>(_status)
7341 #if FW_AMPCS_COMPATIBLE 7348 static_cast<FwAssertArgType>(_status)
7354 static_cast<FwAssertArgType>(_status)
7357 #if FW_AMPCS_COMPATIBLE 7360 static_cast<U8>(
sizeof(U32))
7364 static_cast<FwAssertArgType>(_status)
7370 static_cast<FwAssertArgType>(_status)
7373 #if FW_AMPCS_COMPATIBLE 7376 static_cast<U8>(
sizeof(U32))
7380 static_cast<FwAssertArgType>(_status)
7386 static_cast<FwAssertArgType>(_status)
7395 static_cast<FwAssertArgType>(_status)
7404 static_cast<FwAssertArgType>(_status)
7407 #if FW_AMPCS_COMPATIBLE 7410 static_cast<U8>(
sizeof(I32))
7414 static_cast<FwAssertArgType>(_status)
7420 static_cast<FwAssertArgType>(_status)
7433 #if FW_ENABLE_TEXT_LOGGING 7434 if (this->isConnected_logTextOut_OutputPort(0)) {
7435 #if FW_OBJECT_NAMES == 1 7436 const char* _formatString =
7437 "(%s) %s: RX class %s transaction %" PRIu32
":%" PRIu32
" failed to rename %s to %s, error=%" PRIi32
"";
7439 const char* _formatString =
7440 "%s: RX class %s transaction %" PRIu32
":%" PRIu32
" failed to rename %s to %s, error=%" PRIi32
"";
7444 cfdpClass.toString(cfdpClassStr);
7447 (void) _logString.
format(
7450 this->m_objName.toChar(),
7452 "RxFileRenameFailed ",
7461 this->logTextOut_out(
7484 this->timeCaller_out(0, _logTime);
7494 #if FW_AMPCS_COMPATIBLE 7499 static_cast<FwAssertArgType>(_status)
7503 #if FW_AMPCS_COMPATIBLE 7510 static_cast<FwAssertArgType>(_status)
7516 static_cast<FwAssertArgType>(_status)
7519 #if FW_AMPCS_COMPATIBLE 7522 static_cast<U8>(
sizeof(U32))
7526 static_cast<FwAssertArgType>(_status)
7532 static_cast<FwAssertArgType>(_status)
7535 #if FW_AMPCS_COMPATIBLE 7538 static_cast<U8>(
sizeof(U32))
7542 static_cast<FwAssertArgType>(_status)
7548 static_cast<FwAssertArgType>(_status)
7557 static_cast<FwAssertArgType>(_status)
7560 #if FW_AMPCS_COMPATIBLE 7563 static_cast<U8>(
sizeof(I32))
7567 static_cast<FwAssertArgType>(_status)
7573 static_cast<FwAssertArgType>(_status)
7586 #if FW_ENABLE_TEXT_LOGGING 7587 if (this->isConnected_logTextOut_OutputPort(0)) {
7588 #if FW_OBJECT_NAMES == 1 7589 const char* _formatString =
7590 "(%s) %s: RX class %s transaction %" PRIu32
":%" PRIu32
" failed to reopen file %s after rename, error=%" PRIi32
"";
7592 const char* _formatString =
7593 "%s: RX class %s transaction %" PRIu32
":%" PRIu32
" failed to reopen file %s after rename, error=%" PRIi32
"";
7597 cfdpClass.toString(cfdpClassStr);
7600 (void) _logString.
format(
7603 this->m_objName.toChar(),
7605 "RxFileReopenFailed ",
7613 this->logTextOut_out(
7634 this->timeCaller_out(0, _logTime);
7644 #if FW_AMPCS_COMPATIBLE 7649 static_cast<FwAssertArgType>(_status)
7653 #if FW_AMPCS_COMPATIBLE 7660 static_cast<FwAssertArgType>(_status)
7666 static_cast<FwAssertArgType>(_status)
7669 #if FW_AMPCS_COMPATIBLE 7672 static_cast<U8>(
sizeof(U32))
7676 static_cast<FwAssertArgType>(_status)
7682 static_cast<FwAssertArgType>(_status)
7685 #if FW_AMPCS_COMPATIBLE 7688 static_cast<U8>(
sizeof(U32))
7692 static_cast<FwAssertArgType>(_status)
7698 static_cast<FwAssertArgType>(_status)
7711 #if FW_ENABLE_TEXT_LOGGING 7712 if (this->isConnected_logTextOut_OutputPort(0)) {
7713 #if FW_OBJECT_NAMES == 1 7714 const char* _formatString =
7715 "(%s) %s: RX class %s transaction %" PRIu32
":%" PRIu32
" inactivity timer expired";
7717 const char* _formatString =
7718 "%s: RX class %s transaction %" PRIu32
":%" PRIu32
" inactivity timer expired";
7722 cfdpClass.toString(cfdpClassStr);
7725 (void) _logString.
format(
7728 this->m_objName.toChar(),
7730 "RxInactivityTimeout ",
7736 this->logTextOut_out(
7759 this->timeCaller_out(0, _logTime);
7769 #if FW_AMPCS_COMPATIBLE 7774 static_cast<FwAssertArgType>(_status)
7778 #if FW_AMPCS_COMPATIBLE 7785 static_cast<FwAssertArgType>(_status)
7791 static_cast<FwAssertArgType>(_status)
7794 #if FW_AMPCS_COMPATIBLE 7797 static_cast<U8>(
sizeof(U32))
7801 static_cast<FwAssertArgType>(_status)
7807 static_cast<FwAssertArgType>(_status)
7810 #if FW_AMPCS_COMPATIBLE 7813 static_cast<U8>(
sizeof(U32))
7817 static_cast<FwAssertArgType>(_status)
7823 static_cast<FwAssertArgType>(_status)
7826 #if FW_AMPCS_COMPATIBLE 7829 static_cast<U8>(
sizeof(
U8))
7833 static_cast<FwAssertArgType>(_status)
7839 static_cast<FwAssertArgType>(_status)
7842 #if FW_AMPCS_COMPATIBLE 7845 static_cast<U8>(
sizeof(
U8))
7849 static_cast<FwAssertArgType>(_status)
7855 static_cast<FwAssertArgType>(_status)
7868 #if FW_ENABLE_TEXT_LOGGING 7869 if (this->isConnected_logTextOut_OutputPort(0)) {
7870 #if FW_OBJECT_NAMES == 1 7871 const char* _formatString =
7872 "(%s) %s: RX class %s transaction %" PRIu32
":%" PRIu32
" received invalid directive code %" PRIu8
" for substate %" PRIu8
"";
7874 const char* _formatString =
7875 "%s: RX class %s transaction %" PRIu32
":%" PRIu32
" received invalid directive code %" PRIu8
" for substate %" PRIu8
"";
7879 cfdpClass.toString(cfdpClassStr);
7882 (void) _logString.
format(
7885 this->m_objName.toChar(),
7887 "RxInvalidDirectiveCode ",
7895 this->logTextOut_out(
7916 this->timeCaller_out(0, _logTime);
7926 #if FW_AMPCS_COMPATIBLE 7931 static_cast<FwAssertArgType>(_status)
7935 #if FW_AMPCS_COMPATIBLE 7942 static_cast<FwAssertArgType>(_status)
7948 static_cast<FwAssertArgType>(_status)
7951 #if FW_AMPCS_COMPATIBLE 7954 static_cast<U8>(
sizeof(U32))
7958 static_cast<FwAssertArgType>(_status)
7964 static_cast<FwAssertArgType>(_status)
7967 #if FW_AMPCS_COMPATIBLE 7970 static_cast<U8>(
sizeof(U32))
7974 static_cast<FwAssertArgType>(_status)
7980 static_cast<FwAssertArgType>(_status)
7993 #if FW_ENABLE_TEXT_LOGGING 7994 if (this->isConnected_logTextOut_OutputPort(0)) {
7995 #if FW_OBJECT_NAMES == 1 7996 const char* _formatString =
7997 "(%s) %s: TX class %s transaction %" PRIu32
":%" PRIu32
" ACK limit reached, no eof-ack received";
7999 const char* _formatString =
8000 "%s: TX class %s transaction %" PRIu32
":%" PRIu32
" ACK limit reached, no eof-ack received";
8004 cfdpClass.toString(cfdpClassStr);
8007 (void) _logString.
format(
8010 this->m_objName.toChar(),
8012 "TxAckLimitReached ",
8018 this->logTextOut_out(
8039 this->timeCaller_out(0, _logTime);
8049 #if FW_AMPCS_COMPATIBLE 8054 static_cast<FwAssertArgType>(_status)
8058 #if FW_AMPCS_COMPATIBLE 8065 static_cast<FwAssertArgType>(_status)
8071 static_cast<FwAssertArgType>(_status)
8074 #if FW_AMPCS_COMPATIBLE 8077 static_cast<U8>(
sizeof(U32))
8081 static_cast<FwAssertArgType>(_status)
8087 static_cast<FwAssertArgType>(_status)
8090 #if FW_AMPCS_COMPATIBLE 8093 static_cast<U8>(
sizeof(U32))
8097 static_cast<FwAssertArgType>(_status)
8103 static_cast<FwAssertArgType>(_status)
8116 #if FW_ENABLE_TEXT_LOGGING 8117 if (this->isConnected_logTextOut_OutputPort(0)) {
8118 #if FW_OBJECT_NAMES == 1 8119 const char* _formatString =
8120 "(%s) %s: TX class %s transaction %" PRIu32
":%" PRIu32
" inactivity timer expired";
8122 const char* _formatString =
8123 "%s: TX class %s transaction %" PRIu32
":%" PRIu32
" inactivity timer expired";
8127 cfdpClass.toString(cfdpClassStr);
8130 (void) _logString.
format(
8133 this->m_objName.toChar(),
8135 "TxInactivityTimeout ",
8141 this->logTextOut_out(
8163 this->timeCaller_out(0, _logTime);
8173 #if FW_AMPCS_COMPATIBLE 8178 static_cast<FwAssertArgType>(_status)
8182 #if FW_AMPCS_COMPATIBLE 8189 static_cast<FwAssertArgType>(_status)
8195 static_cast<FwAssertArgType>(_status)
8198 #if FW_AMPCS_COMPATIBLE 8201 static_cast<U8>(
sizeof(U32))
8205 static_cast<FwAssertArgType>(_status)
8211 static_cast<FwAssertArgType>(_status)
8214 #if FW_AMPCS_COMPATIBLE 8217 static_cast<U8>(
sizeof(U32))
8221 static_cast<FwAssertArgType>(_status)
8227 static_cast<FwAssertArgType>(_status)
8236 static_cast<FwAssertArgType>(_status)
8249 #if FW_ENABLE_TEXT_LOGGING 8250 if (this->isConnected_logTextOut_OutputPort(0)) {
8251 #if FW_OBJECT_NAMES == 1 8252 const char* _formatString =
8253 "(%s) %s: TX class %s transaction %" PRIu32
":%" PRIu32
" cannot transfer zero-length file %s";
8255 const char* _formatString =
8256 "%s: TX class %s transaction %" PRIu32
":%" PRIu32
" cannot transfer zero-length file %s";
8260 cfdpClass.toString(cfdpClassStr);
8263 (void) _logString.
format(
8266 this->m_objName.toChar(),
8268 "TxZeroLengthFile ",
8275 this->logTextOut_out(
8298 this->timeCaller_out(0, _logTime);
8308 #if FW_AMPCS_COMPATIBLE 8313 static_cast<FwAssertArgType>(_status)
8317 #if FW_AMPCS_COMPATIBLE 8324 static_cast<FwAssertArgType>(_status)
8330 static_cast<FwAssertArgType>(_status)
8333 #if FW_AMPCS_COMPATIBLE 8336 static_cast<U8>(
sizeof(U32))
8340 static_cast<FwAssertArgType>(_status)
8346 static_cast<FwAssertArgType>(_status)
8349 #if FW_AMPCS_COMPATIBLE 8352 static_cast<U8>(
sizeof(U32))
8356 static_cast<FwAssertArgType>(_status)
8362 static_cast<FwAssertArgType>(_status)
8371 static_cast<FwAssertArgType>(_status)
8374 #if FW_AMPCS_COMPATIBLE 8377 static_cast<U8>(
sizeof(I32))
8381 static_cast<FwAssertArgType>(_status)
8387 static_cast<FwAssertArgType>(_status)
8400 #if FW_ENABLE_TEXT_LOGGING 8401 if (this->isConnected_logTextOut_OutputPort(0)) {
8402 #if FW_OBJECT_NAMES == 1 8403 const char* _formatString =
8404 "(%s) %s: TX class %s transaction %" PRIu32
":%" PRIu32
" failed to open file %s, error=%" PRIi32
"";
8406 const char* _formatString =
8407 "%s: TX class %s transaction %" PRIu32
":%" PRIu32
" failed to open file %s, error=%" PRIi32
"";
8411 cfdpClass.toString(cfdpClassStr);
8414 (void) _logString.
format(
8417 this->m_objName.toChar(),
8419 "TxFileOpenFailed ",
8427 this->logTextOut_out(
8449 this->timeCaller_out(0, _logTime);
8459 #if FW_AMPCS_COMPATIBLE 8464 static_cast<FwAssertArgType>(_status)
8468 #if FW_AMPCS_COMPATIBLE 8475 static_cast<FwAssertArgType>(_status)
8481 static_cast<FwAssertArgType>(_status)
8484 #if FW_AMPCS_COMPATIBLE 8487 static_cast<U8>(
sizeof(U32))
8491 static_cast<FwAssertArgType>(_status)
8497 static_cast<FwAssertArgType>(_status)
8500 #if FW_AMPCS_COMPATIBLE 8503 static_cast<U8>(
sizeof(U32))
8507 static_cast<FwAssertArgType>(_status)
8513 static_cast<FwAssertArgType>(_status)
8516 #if FW_AMPCS_COMPATIBLE 8519 static_cast<U8>(
sizeof(I32))
8523 static_cast<FwAssertArgType>(_status)
8529 static_cast<FwAssertArgType>(_status)
8542 #if FW_ENABLE_TEXT_LOGGING 8543 if (this->isConnected_logTextOut_OutputPort(0)) {
8544 #if FW_OBJECT_NAMES == 1 8545 const char* _formatString =
8546 "(%s) %s: TX class %s transaction %" PRIu32
":%" PRIu32
" failed to seek to beginning of file, error=%" PRIi32
"";
8548 const char* _formatString =
8549 "%s: TX class %s transaction %" PRIu32
":%" PRIu32
" failed to seek to beginning of file, error=%" PRIi32
"";
8553 cfdpClass.toString(cfdpClassStr);
8556 (void) _logString.
format(
8559 this->m_objName.toChar(),
8561 "TxFileSeekFailed ",
8568 this->logTextOut_out(
8589 this->timeCaller_out(0, _logTime);
8599 #if FW_AMPCS_COMPATIBLE 8604 static_cast<FwAssertArgType>(_status)
8608 #if FW_AMPCS_COMPATIBLE 8615 static_cast<FwAssertArgType>(_status)
8621 static_cast<FwAssertArgType>(_status)
8624 #if FW_AMPCS_COMPATIBLE 8627 static_cast<U8>(
sizeof(U32))
8631 static_cast<FwAssertArgType>(_status)
8637 static_cast<FwAssertArgType>(_status)
8640 #if FW_AMPCS_COMPATIBLE 8643 static_cast<U8>(
sizeof(U32))
8647 static_cast<FwAssertArgType>(_status)
8653 static_cast<FwAssertArgType>(_status)
8666 #if FW_ENABLE_TEXT_LOGGING 8667 if (this->isConnected_logTextOut_OutputPort(0)) {
8668 #if FW_OBJECT_NAMES == 1 8669 const char* _formatString =
8670 "(%s) %s: TX class %s transaction %" PRIu32
":%" PRIu32
" failed to send metadata PDU";
8672 const char* _formatString =
8673 "%s: TX class %s transaction %" PRIu32
":%" PRIu32
" failed to send metadata PDU";
8677 cfdpClass.toString(cfdpClassStr);
8680 (void) _logString.
format(
8683 this->m_objName.toChar(),
8685 "TxSendMetadataFailed ",
8691 this->logTextOut_out(
8712 this->timeCaller_out(0, _logTime);
8722 #if FW_AMPCS_COMPATIBLE 8727 static_cast<FwAssertArgType>(_status)
8731 #if FW_AMPCS_COMPATIBLE 8738 static_cast<FwAssertArgType>(_status)
8744 static_cast<FwAssertArgType>(_status)
8747 #if FW_AMPCS_COMPATIBLE 8750 static_cast<U8>(
sizeof(U32))
8754 static_cast<FwAssertArgType>(_status)
8760 static_cast<FwAssertArgType>(_status)
8763 #if FW_AMPCS_COMPATIBLE 8766 static_cast<U8>(
sizeof(U32))
8770 static_cast<FwAssertArgType>(_status)
8776 static_cast<FwAssertArgType>(_status)
8789 #if FW_ENABLE_TEXT_LOGGING 8790 if (this->isConnected_logTextOut_OutputPort(0)) {
8791 #if FW_OBJECT_NAMES == 1 8792 const char* _formatString =
8793 "(%s) %s: TX class %s transaction %" PRIu32
":%" PRIu32
" received early FIN, cancelling transfer";
8795 const char* _formatString =
8796 "%s: TX class %s transaction %" PRIu32
":%" PRIu32
" received early FIN, cancelling transfer";
8800 cfdpClass.toString(cfdpClassStr);
8803 (void) _logString.
format(
8806 this->m_objName.toChar(),
8808 "TxEarlyFinReceived ",
8814 this->logTextOut_out(
8835 this->timeCaller_out(0, _logTime);
8845 #if FW_AMPCS_COMPATIBLE 8850 static_cast<FwAssertArgType>(_status)
8854 #if FW_AMPCS_COMPATIBLE 8861 static_cast<FwAssertArgType>(_status)
8867 static_cast<FwAssertArgType>(_status)
8870 #if FW_AMPCS_COMPATIBLE 8873 static_cast<U8>(
sizeof(U32))
8877 static_cast<FwAssertArgType>(_status)
8883 static_cast<FwAssertArgType>(_status)
8886 #if FW_AMPCS_COMPATIBLE 8889 static_cast<U8>(
sizeof(U32))
8893 static_cast<FwAssertArgType>(_status)
8899 static_cast<FwAssertArgType>(_status)
8912 #if FW_ENABLE_TEXT_LOGGING 8913 if (this->isConnected_logTextOut_OutputPort(0)) {
8914 #if FW_OBJECT_NAMES == 1 8915 const char* _formatString =
8916 "(%s) %s: TX class %s transaction %" PRIu32
":%" PRIu32
" received invalid NAK PDU";
8918 const char* _formatString =
8919 "%s: TX class %s transaction %" PRIu32
":%" PRIu32
" received invalid NAK PDU";
8923 cfdpClass.toString(cfdpClassStr);
8926 (void) _logString.
format(
8929 this->m_objName.toChar(),
8937 this->logTextOut_out(
8959 this->timeCaller_out(0, _logTime);
8969 #if FW_AMPCS_COMPATIBLE 8974 static_cast<FwAssertArgType>(_status)
8978 #if FW_AMPCS_COMPATIBLE 8985 static_cast<FwAssertArgType>(_status)
8991 static_cast<FwAssertArgType>(_status)
8994 #if FW_AMPCS_COMPATIBLE 8997 static_cast<U8>(
sizeof(U32))
9001 static_cast<FwAssertArgType>(_status)
9007 static_cast<FwAssertArgType>(_status)
9010 #if FW_AMPCS_COMPATIBLE 9013 static_cast<U8>(
sizeof(U32))
9017 static_cast<FwAssertArgType>(_status)
9023 static_cast<FwAssertArgType>(_status)
9026 #if FW_AMPCS_COMPATIBLE 9029 static_cast<U8>(
sizeof(U32))
9033 static_cast<FwAssertArgType>(_status)
9039 static_cast<FwAssertArgType>(_status)
9052 #if FW_ENABLE_TEXT_LOGGING 9053 if (this->isConnected_logTextOut_OutputPort(0)) {
9054 #if FW_OBJECT_NAMES == 1 9055 const char* _formatString =
9056 "(%s) %s: TX class %s transaction %" PRIu32
":%" PRIu32
" received %" PRIu32
" invalid NAK segment requests";
9058 const char* _formatString =
9059 "%s: TX class %s transaction %" PRIu32
":%" PRIu32
" received %" PRIu32
" invalid NAK segment requests";
9063 cfdpClass.toString(cfdpClassStr);
9066 (void) _logString.
format(
9069 this->m_objName.toChar(),
9071 "TxInvalidSegmentRequests ",
9078 this->logTextOut_out(
9099 this->timeCaller_out(0, _logTime);
9109 #if FW_AMPCS_COMPATIBLE 9114 static_cast<FwAssertArgType>(_status)
9118 #if FW_AMPCS_COMPATIBLE 9125 static_cast<FwAssertArgType>(_status)
9131 static_cast<FwAssertArgType>(_status)
9134 #if FW_AMPCS_COMPATIBLE 9137 static_cast<U8>(
sizeof(U32))
9141 static_cast<FwAssertArgType>(_status)
9147 static_cast<FwAssertArgType>(_status)
9150 #if FW_AMPCS_COMPATIBLE 9153 static_cast<U8>(
sizeof(U32))
9157 static_cast<FwAssertArgType>(_status)
9163 static_cast<FwAssertArgType>(_status)
9176 #if FW_ENABLE_TEXT_LOGGING 9177 if (this->isConnected_logTextOut_OutputPort(0)) {
9178 #if FW_OBJECT_NAMES == 1 9179 const char* _formatString =
9180 "(%s) %s: TX class %s transaction %" PRIu32
":%" PRIu32
" received non-file-directive PDU";
9182 const char* _formatString =
9183 "%s: TX class %s transaction %" PRIu32
":%" PRIu32
" received non-file-directive PDU";
9187 cfdpClass.toString(cfdpClassStr);
9190 (void) _logString.
format(
9193 this->m_objName.toChar(),
9195 "TxNonFileDirectivePduReceived ",
9201 this->logTextOut_out(
9224 this->timeCaller_out(0, _logTime);
9234 #if FW_AMPCS_COMPATIBLE 9239 static_cast<FwAssertArgType>(_status)
9243 #if FW_AMPCS_COMPATIBLE 9250 static_cast<FwAssertArgType>(_status)
9256 static_cast<FwAssertArgType>(_status)
9259 #if FW_AMPCS_COMPATIBLE 9262 static_cast<U8>(
sizeof(U32))
9266 static_cast<FwAssertArgType>(_status)
9272 static_cast<FwAssertArgType>(_status)
9275 #if FW_AMPCS_COMPATIBLE 9278 static_cast<U8>(
sizeof(U32))
9282 static_cast<FwAssertArgType>(_status)
9288 static_cast<FwAssertArgType>(_status)
9291 #if FW_AMPCS_COMPATIBLE 9294 static_cast<U8>(
sizeof(
U8))
9298 static_cast<FwAssertArgType>(_status)
9304 static_cast<FwAssertArgType>(_status)
9307 #if FW_AMPCS_COMPATIBLE 9310 static_cast<U8>(
sizeof(
U8))
9314 static_cast<FwAssertArgType>(_status)
9320 static_cast<FwAssertArgType>(_status)
9333 #if FW_ENABLE_TEXT_LOGGING 9334 if (this->isConnected_logTextOut_OutputPort(0)) {
9335 #if FW_OBJECT_NAMES == 1 9336 const char* _formatString =
9337 "(%s) %s: TX class %s transaction %" PRIu32
":%" PRIu32
" received invalid directive code %" PRIu8
" for substate %" PRIu8
"";
9339 const char* _formatString =
9340 "%s: TX class %s transaction %" PRIu32
":%" PRIu32
" received invalid directive code %" PRIu8
" for substate %" PRIu8
"";
9344 cfdpClass.toString(cfdpClassStr);
9347 (void) _logString.
format(
9350 this->m_objName.toChar(),
9352 "TxInvalidDirectiveCode ",
9360 this->logTextOut_out(
9385 this->timeCaller_out(0, _logTime);
9395 #if FW_AMPCS_COMPATIBLE 9400 static_cast<FwAssertArgType>(_status)
9404 #if FW_AMPCS_COMPATIBLE 9411 static_cast<FwAssertArgType>(_status)
9417 static_cast<FwAssertArgType>(_status)
9420 #if FW_AMPCS_COMPATIBLE 9423 static_cast<U8>(
sizeof(U32))
9427 static_cast<FwAssertArgType>(_status)
9433 static_cast<FwAssertArgType>(_status)
9436 #if FW_AMPCS_COMPATIBLE 9439 static_cast<U8>(
sizeof(U32))
9443 static_cast<FwAssertArgType>(_status)
9449 static_cast<FwAssertArgType>(_status)
9458 static_cast<FwAssertArgType>(_status)
9461 #if FW_AMPCS_COMPATIBLE 9464 static_cast<U8>(
sizeof(U32))
9468 static_cast<FwAssertArgType>(_status)
9474 static_cast<FwAssertArgType>(_status)
9483 static_cast<FwAssertArgType>(_status)
9486 #if FW_AMPCS_COMPATIBLE 9489 static_cast<U8>(
sizeof(U32))
9493 static_cast<FwAssertArgType>(_status)
9499 static_cast<FwAssertArgType>(_status)
9512 #if FW_ENABLE_TEXT_LOGGING 9513 if (this->isConnected_logTextOut_OutputPort(0)) {
9514 #if FW_OBJECT_NAMES == 1 9515 const char* _formatString =
9516 "(%s) %s: TX %s transaction %" PRIu32
" transfer started, %" PRIu32
":%s -> %" PRIu32
":%s, %" PRIu32
" bytes";
9518 const char* _formatString =
9519 "%s: TX %s transaction %" PRIu32
" transfer started, %" PRIu32
":%s -> %" PRIu32
":%s, %" PRIu32
" bytes";
9523 cfdpClass.toString(cfdpClassStr);
9526 (void) _logString.
format(
9529 this->m_objName.toChar(),
9531 "TxFileTransferStarted ",
9541 this->logTextOut_out(
9566 this->timeCaller_out(0, _logTime);
9576 #if FW_AMPCS_COMPATIBLE 9581 static_cast<FwAssertArgType>(_status)
9585 #if FW_AMPCS_COMPATIBLE 9592 static_cast<FwAssertArgType>(_status)
9598 static_cast<FwAssertArgType>(_status)
9601 #if FW_AMPCS_COMPATIBLE 9604 static_cast<U8>(
sizeof(U32))
9608 static_cast<FwAssertArgType>(_status)
9614 static_cast<FwAssertArgType>(_status)
9617 #if FW_AMPCS_COMPATIBLE 9620 static_cast<U8>(
sizeof(U32))
9624 static_cast<FwAssertArgType>(_status)
9630 static_cast<FwAssertArgType>(_status)
9639 static_cast<FwAssertArgType>(_status)
9642 #if FW_AMPCS_COMPATIBLE 9645 static_cast<U8>(
sizeof(U32))
9649 static_cast<FwAssertArgType>(_status)
9655 static_cast<FwAssertArgType>(_status)
9664 static_cast<FwAssertArgType>(_status)
9667 #if FW_AMPCS_COMPATIBLE 9670 static_cast<U8>(
sizeof(U32))
9674 static_cast<FwAssertArgType>(_status)
9680 static_cast<FwAssertArgType>(_status)
9693 #if FW_ENABLE_TEXT_LOGGING 9694 if (this->isConnected_logTextOut_OutputPort(0)) {
9695 #if FW_OBJECT_NAMES == 1 9696 const char* _formatString =
9697 "(%s) %s: TX %s transaction %" PRIu32
" completed, %" PRIu32
":%s -> %" PRIu32
":%s, %" PRIu32
" bytes";
9699 const char* _formatString =
9700 "%s: TX %s transaction %" PRIu32
" completed, %" PRIu32
":%s -> %" PRIu32
":%s, %" PRIu32
" bytes";
9704 cfdpClass.toString(cfdpClassStr);
9707 (void) _logString.
format(
9710 this->m_objName.toChar(),
9712 "TxFileTransferCompleted ",
9722 this->logTextOut_out(
9747 this->timeCaller_out(0, _logTime);
9757 #if FW_AMPCS_COMPATIBLE 9762 static_cast<FwAssertArgType>(_status)
9766 #if FW_AMPCS_COMPATIBLE 9773 static_cast<FwAssertArgType>(_status)
9779 static_cast<FwAssertArgType>(_status)
9782 #if FW_AMPCS_COMPATIBLE 9785 static_cast<U8>(
sizeof(U32))
9789 static_cast<FwAssertArgType>(_status)
9795 static_cast<FwAssertArgType>(_status)
9798 #if FW_AMPCS_COMPATIBLE 9801 static_cast<U8>(
sizeof(U32))
9805 static_cast<FwAssertArgType>(_status)
9811 static_cast<FwAssertArgType>(_status)
9820 static_cast<FwAssertArgType>(_status)
9823 #if FW_AMPCS_COMPATIBLE 9826 static_cast<U8>(
sizeof(U32))
9830 static_cast<FwAssertArgType>(_status)
9836 static_cast<FwAssertArgType>(_status)
9845 static_cast<FwAssertArgType>(_status)
9848 #if FW_AMPCS_COMPATIBLE 9851 static_cast<U8>(
sizeof(
U8))
9855 static_cast<FwAssertArgType>(_status)
9861 static_cast<FwAssertArgType>(_status)
9874 #if FW_ENABLE_TEXT_LOGGING 9875 if (this->isConnected_logTextOut_OutputPort(0)) {
9876 #if FW_OBJECT_NAMES == 1 9877 const char* _formatString =
9878 "(%s) %s: TX %s transaction %" PRIu32
" FAILED, %" PRIu32
":%s -> %" PRIu32
":%s, error code %" PRIu8
"";
9880 const char* _formatString =
9881 "%s: TX %s transaction %" PRIu32
" FAILED, %" PRIu32
":%s -> %" PRIu32
":%s, error code %" PRIu8
"";
9885 cfdpClass.toString(cfdpClassStr);
9888 (void) _logString.
format(
9891 this->m_objName.toChar(),
9893 "TxFileTransferFailed ",
9903 this->logTextOut_out(
9928 this->timeCaller_out(0, _logTime);
9938 #if FW_AMPCS_COMPATIBLE 9943 static_cast<FwAssertArgType>(_status)
9947 #if FW_AMPCS_COMPATIBLE 9954 static_cast<FwAssertArgType>(_status)
9960 static_cast<FwAssertArgType>(_status)
9963 #if FW_AMPCS_COMPATIBLE 9966 static_cast<U8>(
sizeof(U32))
9970 static_cast<FwAssertArgType>(_status)
9976 static_cast<FwAssertArgType>(_status)
9979 #if FW_AMPCS_COMPATIBLE 9982 static_cast<U8>(
sizeof(U32))
9986 static_cast<FwAssertArgType>(_status)
9992 static_cast<FwAssertArgType>(_status)
10001 static_cast<FwAssertArgType>(_status)
10004 #if FW_AMPCS_COMPATIBLE 10007 static_cast<U8>(
sizeof(U32))
10011 static_cast<FwAssertArgType>(_status)
10017 static_cast<FwAssertArgType>(_status)
10026 static_cast<FwAssertArgType>(_status)
10029 #if FW_AMPCS_COMPATIBLE 10032 static_cast<U8>(
sizeof(U32))
10036 static_cast<FwAssertArgType>(_status)
10042 static_cast<FwAssertArgType>(_status)
10055 #if FW_ENABLE_TEXT_LOGGING 10056 if (this->isConnected_logTextOut_OutputPort(0)) {
10057 #if FW_OBJECT_NAMES == 1 10058 const char* _formatString =
10059 "(%s) %s: RX %s transaction %" PRIu32
" completed, %" PRIu32
":%s -> %" PRIu32
":%s, %" PRIu32
" bytes";
10061 const char* _formatString =
10062 "%s: RX %s transaction %" PRIu32
" completed, %" PRIu32
":%s -> %" PRIu32
":%s, %" PRIu32
" bytes";
10066 cfdpClass.toString(cfdpClassStr);
10069 (void) _logString.
format(
10072 this->m_objName.toChar(),
10074 "RxFileTransferCompleted ",
10084 this->logTextOut_out(
10109 this->timeCaller_out(0, _logTime);
10119 #if FW_AMPCS_COMPATIBLE 10124 static_cast<FwAssertArgType>(_status)
10128 #if FW_AMPCS_COMPATIBLE 10135 static_cast<FwAssertArgType>(_status)
10141 static_cast<FwAssertArgType>(_status)
10144 #if FW_AMPCS_COMPATIBLE 10147 static_cast<U8>(
sizeof(U32))
10151 static_cast<FwAssertArgType>(_status)
10157 static_cast<FwAssertArgType>(_status)
10160 #if FW_AMPCS_COMPATIBLE 10163 static_cast<U8>(
sizeof(U32))
10167 static_cast<FwAssertArgType>(_status)
10173 static_cast<FwAssertArgType>(_status)
10182 static_cast<FwAssertArgType>(_status)
10185 #if FW_AMPCS_COMPATIBLE 10188 static_cast<U8>(
sizeof(U32))
10192 static_cast<FwAssertArgType>(_status)
10198 static_cast<FwAssertArgType>(_status)
10207 static_cast<FwAssertArgType>(_status)
10210 #if FW_AMPCS_COMPATIBLE 10213 static_cast<U8>(
sizeof(
U8))
10217 static_cast<FwAssertArgType>(_status)
10223 static_cast<FwAssertArgType>(_status)
10236 #if FW_ENABLE_TEXT_LOGGING 10237 if (this->isConnected_logTextOut_OutputPort(0)) {
10238 #if FW_OBJECT_NAMES == 1 10239 const char* _formatString =
10240 "(%s) %s: RX %s transaction %" PRIu32
" FAILED, %" PRIu32
":%s -> %" PRIu32
":%s, error code %" PRIu8
"";
10242 const char* _formatString =
10243 "%s: RX %s transaction %" PRIu32
" FAILED, %" PRIu32
":%s -> %" PRIu32
":%s, error code %" PRIu8
"";
10247 cfdpClass.toString(cfdpClassStr);
10250 (void) _logString.
format(
10253 this->m_objName.toChar(),
10255 "RxFileTransferFailed ",
10265 this->logTextOut_out(
10286 this->timeCaller_out(0, _logTime);
10296 #if FW_AMPCS_COMPATIBLE 10301 static_cast<FwAssertArgType>(_status)
10311 static_cast<FwAssertArgType>(_status)
10320 static_cast<FwAssertArgType>(_status)
10323 #if FW_AMPCS_COMPATIBLE 10326 static_cast<U8>(
sizeof(U32))
10330 static_cast<FwAssertArgType>(_status)
10336 static_cast<FwAssertArgType>(_status)
10349 #if FW_ENABLE_TEXT_LOGGING 10350 if (this->isConnected_logTextOut_OutputPort(0)) {
10351 #if FW_OBJECT_NAMES == 1 10352 const char* _formatString =
10353 "(%s) %s: Metadata received for source: %s, dest: %s (transaction %" PRIu32
")";
10355 const char* _formatString =
10356 "%s: Metadata received for source: %s, dest: %s (transaction %" PRIu32
")";
10360 (void) _logString.
format(
10363 this->m_objName.toChar(),
10365 "MetadataReceived ",
10371 this->logTextOut_out(
10388 this->timeCaller_out(0, _logTime);
10397 #if FW_AMPCS_COMPATIBLE 10403 static_cast<FwAssertArgType>(_status)
10417 #if FW_ENABLE_TEXT_LOGGING 10418 if (this->isConnected_logTextOut_OutputPort(0)) {
10419 #if FW_OBJECT_NAMES == 1 10420 const char* _formatString =
10421 "(%s) %s: File data PDU with unsupported segment metadata received";
10423 const char* _formatString =
10424 "%s: File data PDU with unsupported segment metadata received";
10428 (void) _logString.
format(
10431 this->m_objName.toChar(),
10433 "FileDataSegmentMetadata " 10436 this->logTextOut_out(
10453 this->timeCaller_out(0, _logTime);
10463 #if FW_AMPCS_COMPATIBLE 10468 static_cast<FwAssertArgType>(_status)
10472 #if FW_AMPCS_COMPATIBLE 10475 static_cast<U8>(
sizeof(U32))
10479 static_cast<FwAssertArgType>(_status)
10485 static_cast<FwAssertArgType>(_status)
10498 #if FW_ENABLE_TEXT_LOGGING 10499 if (this->isConnected_logTextOut_OutputPort(0)) {
10500 #if FW_OBJECT_NAMES == 1 10501 const char* _formatString =
10502 "(%s) %s: Cannot get chunklist, abandoning transaction %" PRIu32
"";
10504 const char* _formatString =
10505 "%s: Cannot get chunklist, abandoning transaction %" PRIu32
"";
10509 (void) _logString.
format(
10512 this->m_objName.toChar(),
10514 "ChunklistUnavailable ",
10518 this->logTextOut_out(
10535 this->timeCaller_out(0, _logTime);
10544 #if FW_AMPCS_COMPATIBLE 10550 static_cast<FwAssertArgType>(_status)
10564 #if FW_ENABLE_TEXT_LOGGING 10565 if (this->isConnected_logTextOut_OutputPort(0)) {
10566 #if FW_OBJECT_NAMES == 1 10567 const char* _formatString =
10568 "(%s) %s: Unhandled PDU type received in idle state";
10570 const char* _formatString =
10571 "%s: Unhandled PDU type received in idle state";
10575 (void) _logString.
format(
10578 this->m_objName.toChar(),
10580 "UnhandledPduInIdleState " 10583 this->logTextOut_out(
10603 this->timeCaller_out(0, _logTime);
10613 #if FW_AMPCS_COMPATIBLE 10618 static_cast<FwAssertArgType>(_status)
10622 #if FW_AMPCS_COMPATIBLE 10625 static_cast<U8>(
sizeof(U32))
10629 static_cast<FwAssertArgType>(_status)
10635 static_cast<FwAssertArgType>(_status)
10638 #if FW_AMPCS_COMPATIBLE 10641 static_cast<U8>(
sizeof(U32))
10645 static_cast<FwAssertArgType>(_status)
10651 static_cast<FwAssertArgType>(_status)
10664 #if FW_ENABLE_TEXT_LOGGING 10665 if (this->isConnected_logTextOut_OutputPort(0)) {
10666 #if FW_OBJECT_NAMES == 1 10667 const char* _formatString =
10668 "(%s) %s: Dropping packet from %" PRIu32
" transaction %" PRIu32
" due to max RX transactions reached";
10670 const char* _formatString =
10671 "%s: Dropping packet from %" PRIu32
" transaction %" PRIu32
" due to max RX transactions reached";
10675 (void) _logString.
format(
10678 this->m_objName.toChar(),
10680 "RxTransactionLimitReached ",
10685 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)
10747 #if FW_ENABLE_TEXT_LOGGING 10748 if (this->isConnected_logTextOut_OutputPort(0)) {
10749 #if FW_OBJECT_NAMES == 1 10750 const char* _formatString =
10751 "(%s) %s: Dropping packet for invalid destination EID %" PRIu32
"";
10753 const char* _formatString =
10754 "%s: Dropping packet for invalid destination EID %" PRIu32
"";
10758 (void) _logString.
format(
10761 this->m_objName.toChar(),
10763 "InvalidDestinationEid ",
10767 this->logTextOut_out(
10784 this->timeCaller_out(0, _logTime);
10793 #if FW_AMPCS_COMPATIBLE 10799 static_cast<FwAssertArgType>(_status)
10813 #if FW_ENABLE_TEXT_LOGGING 10814 if (this->isConnected_logTextOut_OutputPort(0)) {
10815 #if FW_OBJECT_NAMES == 1 10816 const char* _formatString =
10817 "(%s) %s: Maximum number of commanded TX files reached";
10819 const char* _formatString =
10820 "%s: Maximum number of commanded TX files reached";
10824 (void) _logString.
format(
10827 this->m_objName.toChar(),
10829 "MaxTxTransactionsReached " 10832 this->logTextOut_out(
10852 this->timeCaller_out(0, _logTime);
10862 #if FW_AMPCS_COMPATIBLE 10867 static_cast<FwAssertArgType>(_status)
10877 static_cast<FwAssertArgType>(_status)
10880 #if FW_AMPCS_COMPATIBLE 10883 static_cast<U8>(
sizeof(I32))
10887 static_cast<FwAssertArgType>(_status)
10893 static_cast<FwAssertArgType>(_status)
10906 #if FW_ENABLE_TEXT_LOGGING 10907 if (this->isConnected_logTextOut_OutputPort(0)) {
10908 #if FW_OBJECT_NAMES == 1 10909 const char* _formatString =
10910 "(%s) %s: Failed to open playback directory %s, error=%" PRIi32
"";
10912 const char* _formatString =
10913 "%s: Failed to open playback directory %s, error=%" PRIi32
"";
10917 (void) _logString.
format(
10920 this->m_objName.toChar(),
10922 "PlaybackDirOpenFailed ",
10927 this->logTextOut_out(
10944 this->timeCaller_out(0, _logTime);
10953 #if FW_AMPCS_COMPATIBLE 10959 static_cast<FwAssertArgType>(_status)
10973 #if FW_ENABLE_TEXT_LOGGING 10974 if (this->isConnected_logTextOut_OutputPort(0)) {
10975 #if FW_OBJECT_NAMES == 1 10976 const char* _formatString =
10977 "(%s) %s: No playback directory slot available";
10979 const char* _formatString =
10980 "%s: No playback directory slot available";
10984 (void) _logString.
format(
10987 this->m_objName.toChar(),
10989 "PlaybackDirSlotUnavailable " 10992 this->logTextOut_out(
11012 this->timeCaller_out(0, _logTime);
11022 #if FW_AMPCS_COMPATIBLE 11027 static_cast<FwAssertArgType>(_status)
11031 #if FW_AMPCS_COMPATIBLE 11034 static_cast<U8>(
sizeof(
U8))
11038 static_cast<FwAssertArgType>(_status)
11044 static_cast<FwAssertArgType>(_status)
11047 #if FW_AMPCS_COMPATIBLE 11050 static_cast<U8>(
sizeof(U32))
11054 static_cast<FwAssertArgType>(_status)
11060 static_cast<FwAssertArgType>(_status)
11073 #if FW_ENABLE_TEXT_LOGGING 11074 if (this->isConnected_logTextOut_OutputPort(0)) {
11075 #if FW_OBJECT_NAMES == 1 11076 const char* _formatString =
11077 "(%s) %s: Closed dangling file handle for channel %" PRIu8
" transaction %" PRIu32
"";
11079 const char* _formatString =
11080 "%s: Closed dangling file handle for channel %" PRIu8
" transaction %" PRIu32
"";
11084 (void) _logString.
format(
11087 this->m_objName.toChar(),
11089 "DanglingFileHandleClosed ",
11094 this->logTextOut_out(
11114 this->timeCaller_out(0, _logTime);
11124 #if FW_AMPCS_COMPATIBLE 11129 static_cast<FwAssertArgType>(_status)
11139 static_cast<FwAssertArgType>(_status)
11142 #if FW_AMPCS_COMPATIBLE 11145 static_cast<U8>(
sizeof(I32))
11149 static_cast<FwAssertArgType>(_status)
11155 static_cast<FwAssertArgType>(_status)
11168 #if FW_ENABLE_TEXT_LOGGING 11169 if (this->isConnected_logTextOut_OutputPort(0)) {
11170 #if FW_OBJECT_NAMES == 1 11171 const char* _formatString =
11172 "(%s) %s: Failed to read from playback directory %s, error=%" PRIi32
"";
11174 const char* _formatString =
11175 "%s: Failed to read from playback directory %s, error=%" PRIi32
"";
11179 (void) _logString.
format(
11182 this->m_objName.toChar(),
11184 "PlaybackDirReadFailed ",
11189 this->logTextOut_out(
11206 this->timeCaller_out(0, _logTime);
11215 #if FW_AMPCS_COMPATIBLE 11221 static_cast<FwAssertArgType>(_status)
11235 #if FW_ENABLE_TEXT_LOGGING 11236 if (this->isConnected_logTextOut_OutputPort(0)) {
11237 #if FW_OBJECT_NAMES == 1 11238 const char* _formatString =
11239 "(%s) %s: Attempt to reset a transaction that has already been freed";
11241 const char* _formatString =
11242 "%s: Attempt to reset a transaction that has already been freed";
11246 (void) _logString.
format(
11249 this->m_objName.toChar(),
11251 "ResetFreedTransaction " 11254 this->logTextOut_out(
11274 this->timeCaller_out(0, _logTime);
11284 #if FW_AMPCS_COMPATIBLE 11289 static_cast<FwAssertArgType>(_status)
11299 static_cast<FwAssertArgType>(_status)
11302 #if FW_AMPCS_COMPATIBLE 11305 static_cast<U8>(
sizeof(I32))
11309 static_cast<FwAssertArgType>(_status)
11315 static_cast<FwAssertArgType>(_status)
11328 #if FW_ENABLE_TEXT_LOGGING 11329 if (this->isConnected_logTextOut_OutputPort(0)) {
11330 #if FW_OBJECT_NAMES == 1 11331 const char* _formatString =
11332 "(%s) %s: Failed to remove file %s, error=%" PRIi32
"";
11334 const char* _formatString =
11335 "%s: Failed to remove file %s, error=%" PRIi32
"";
11339 (void) _logString.
format(
11342 this->m_objName.toChar(),
11344 "FileRemoveFailed ",
11349 this->logTextOut_out(
11369 this->timeCaller_out(0, _logTime);
11379 #if FW_AMPCS_COMPATIBLE 11384 static_cast<FwAssertArgType>(_status)
11388 #if FW_AMPCS_COMPATIBLE 11395 static_cast<FwAssertArgType>(_status)
11401 static_cast<FwAssertArgType>(_status)
11404 #if FW_AMPCS_COMPATIBLE 11411 static_cast<FwAssertArgType>(_status)
11417 static_cast<FwAssertArgType>(_status)
11430 #if FW_ENABLE_TEXT_LOGGING 11431 if (this->isConnected_logTextOut_OutputPort(0)) {
11432 #if FW_OBJECT_NAMES == 1 11433 const char* _formatString =
11434 "(%s) %s: Transaction (%" PRIu32
", %" PRIu32
") suspended";
11436 const char* _formatString =
11437 "%s: Transaction (%" PRIu32
", %" PRIu32
") suspended";
11441 (void) _logString.
format(
11444 this->m_objName.toChar(),
11446 "TransactionSuspended ",
11451 this->logTextOut_out(
11471 this->timeCaller_out(0, _logTime);
11481 #if FW_AMPCS_COMPATIBLE 11486 static_cast<FwAssertArgType>(_status)
11490 #if FW_AMPCS_COMPATIBLE 11497 static_cast<FwAssertArgType>(_status)
11503 static_cast<FwAssertArgType>(_status)
11506 #if FW_AMPCS_COMPATIBLE 11513 static_cast<FwAssertArgType>(_status)
11519 static_cast<FwAssertArgType>(_status)
11532 #if FW_ENABLE_TEXT_LOGGING 11533 if (this->isConnected_logTextOut_OutputPort(0)) {
11534 #if FW_OBJECT_NAMES == 1 11535 const char* _formatString =
11536 "(%s) %s: Transaction (%" PRIu32
", %" PRIu32
") resumed";
11538 const char* _formatString =
11539 "%s: Transaction (%" PRIu32
", %" PRIu32
") resumed";
11543 (void) _logString.
format(
11546 this->m_objName.toChar(),
11548 "TransactionResumed ",
11553 this->logTextOut_out(
11573 this->timeCaller_out(0, _logTime);
11583 #if FW_AMPCS_COMPATIBLE 11588 static_cast<FwAssertArgType>(_status)
11592 #if FW_AMPCS_COMPATIBLE 11599 static_cast<FwAssertArgType>(_status)
11605 static_cast<FwAssertArgType>(_status)
11608 #if FW_AMPCS_COMPATIBLE 11615 static_cast<FwAssertArgType>(_status)
11621 static_cast<FwAssertArgType>(_status)
11634 #if FW_ENABLE_TEXT_LOGGING 11635 if (this->isConnected_logTextOut_OutputPort(0)) {
11636 #if FW_OBJECT_NAMES == 1 11637 const char* _formatString =
11638 "(%s) %s: Transaction (%" PRIu32
", %" PRIu32
") canceled";
11640 const char* _formatString =
11641 "%s: Transaction (%" PRIu32
", %" PRIu32
") canceled";
11645 (void) _logString.
format(
11648 this->m_objName.toChar(),
11650 "TransactionCanceled ",
11655 this->logTextOut_out(
11675 this->timeCaller_out(0, _logTime);
11685 #if FW_AMPCS_COMPATIBLE 11690 static_cast<FwAssertArgType>(_status)
11694 #if FW_AMPCS_COMPATIBLE 11701 static_cast<FwAssertArgType>(_status)
11707 static_cast<FwAssertArgType>(_status)
11710 #if FW_AMPCS_COMPATIBLE 11717 static_cast<FwAssertArgType>(_status)
11723 static_cast<FwAssertArgType>(_status)
11736 #if FW_ENABLE_TEXT_LOGGING 11737 if (this->isConnected_logTextOut_OutputPort(0)) {
11738 #if FW_OBJECT_NAMES == 1 11739 const char* _formatString =
11740 "(%s) %s: Transaction (%" PRIu32
", %" PRIu32
") abandoned";
11742 const char* _formatString =
11743 "%s: Transaction (%" PRIu32
", %" PRIu32
") abandoned";
11747 (void) _logString.
format(
11750 this->m_objName.toChar(),
11752 "TransactionAbandoned ",
11757 this->logTextOut_out(
11777 this->timeCaller_out(0, _logTime);
11787 #if FW_AMPCS_COMPATIBLE 11792 static_cast<FwAssertArgType>(_status)
11796 #if FW_AMPCS_COMPATIBLE 11803 static_cast<FwAssertArgType>(_status)
11809 static_cast<FwAssertArgType>(_status)
11812 #if FW_AMPCS_COMPATIBLE 11819 static_cast<FwAssertArgType>(_status)
11825 static_cast<FwAssertArgType>(_status)
11838 #if FW_ENABLE_TEXT_LOGGING 11839 if (this->isConnected_logTextOut_OutputPort(0)) {
11840 #if FW_OBJECT_NAMES == 1 11841 const char* _formatString =
11842 "(%s) %s: Transaction (%" PRIu32
", %" PRIu32
") not found";
11844 const char* _formatString =
11845 "%s: Transaction (%" PRIu32
", %" PRIu32
") not found";
11849 (void) _logString.
format(
11852 this->m_objName.toChar(),
11854 "TransactionNotFound ",
11859 this->logTextOut_out(
11876 this->timeCaller_out(0, _logTime);
11886 #if FW_AMPCS_COMPATIBLE 11891 static_cast<FwAssertArgType>(_status)
11895 #if FW_AMPCS_COMPATIBLE 11898 static_cast<U8>(
sizeof(
U8))
11902 static_cast<FwAssertArgType>(_status)
11908 static_cast<FwAssertArgType>(_status)
11921 #if FW_ENABLE_TEXT_LOGGING 11922 if (this->isConnected_logTextOut_OutputPort(0)) {
11923 #if FW_OBJECT_NAMES == 1 11924 const char* _formatString =
11925 "(%s) %s: Reset telemetry counters for channel %" PRIu8
"";
11927 const char* _formatString =
11928 "%s: Reset telemetry counters for channel %" PRIu8
"";
11932 (void) _logString.
format(
11935 this->m_objName.toChar(),
11941 this->logTextOut_out(
11961 this->timeCaller_out(0, _logTime);
11971 #if FW_AMPCS_COMPATIBLE 11976 static_cast<FwAssertArgType>(_status)
11980 #if FW_AMPCS_COMPATIBLE 11987 static_cast<FwAssertArgType>(_status)
11993 static_cast<FwAssertArgType>(_status)
11996 #if FW_AMPCS_COMPATIBLE 12003 static_cast<FwAssertArgType>(_status)
12009 static_cast<FwAssertArgType>(_status)
12022 #if FW_ENABLE_TEXT_LOGGING 12023 if (this->isConnected_logTextOut_OutputPort(0)) {
12024 #if FW_OBJECT_NAMES == 1 12025 const char* _formatString =
12026 "(%s) %s: Acknowledged late FIN for transaction %" PRIu32
":%" PRIu32
"";
12028 const char* _formatString =
12029 "%s: Acknowledged late FIN for transaction %" PRIu32
":%" PRIu32
"";
12033 (void) _logString.
format(
12036 this->m_objName.toChar(),
12043 this->logTextOut_out(
12070 this->timeCaller_out(0, _tlmTime);
12100 static_cast<FwAssertArgType>(_stat)
12135 this->m_paramLock.
lock();
12136 valid = this->m_param_LocalEid_valid;
12138 _local = this->m_LocalEid;
12140 this->m_paramLock.
unlock();
12148 this->m_paramLock.
lock();
12149 valid = this->m_param_OutgoingFileChunkSize_valid;
12151 _local = this->m_OutgoingFileChunkSize;
12153 this->m_paramLock.
unlock();
12161 this->m_paramLock.
lock();
12162 valid = this->m_param_RxCrcCalcBytesPerCycle_valid;
12164 _local = this->m_RxCrcCalcBytesPerCycle;
12166 this->m_paramLock.
unlock();
12174 this->m_paramLock.
lock();
12175 valid = this->m_param_PostInactivitySendRetries_valid;
12177 _local = this->m_PostInactivitySendRetries;
12179 this->m_paramLock.
unlock();
12187 this->m_paramLock.
lock();
12188 valid = this->m_param_FileInDefaultChannel_valid;
12190 _local = this->m_FileInDefaultChannel;
12192 this->m_paramLock.
unlock();
12200 this->m_paramLock.
lock();
12201 valid = this->m_param_FileInDefaultDestEntityId_valid;
12203 _local = this->m_FileInDefaultDestEntityId;
12205 this->m_paramLock.
unlock();
12213 this->m_paramLock.
lock();
12214 valid = this->m_param_FileInDefaultClass_valid;
12216 _local = this->m_FileInDefaultClass;
12218 this->m_paramLock.
unlock();
12226 this->m_paramLock.
lock();
12227 valid = this->m_param_FileInDefaultKeep_valid;
12229 _local = this->m_FileInDefaultKeep;
12231 this->m_paramLock.
unlock();
12239 this->m_paramLock.
lock();
12240 valid = this->m_param_FileInDefaultPriority_valid;
12242 _local = this->m_FileInDefaultPriority;
12244 this->m_paramLock.
unlock();
12252 this->m_paramLock.
lock();
12253 valid = this->m_param_ChannelConfig_valid;
12255 _local = this->m_ChannelConfig;
12257 this->m_paramLock.
unlock();
12270 this->timeCaller_out(0, _time);
12288 this->m_guardedPortMutex.
lock();
12294 this->m_guardedPortMutex.
unLock();
12304 ComponentIpcSerializableBuffer _msg;
12314 static_cast<FwAssertArgType>(_msgStatus)
12324 static_cast<FwAssertArgType>(_deserStatus)
12327 MsgTypeEnum _msgType =
static_cast<MsgTypeEnum
>(_desMsg);
12329 if (_msgType == CFDPMANAGER_COMPONENT_EXIT) {
12334 _deserStatus = _msg.deserializeTo(portNum);
12337 static_cast<FwAssertArgType>(_deserStatus)
12340 switch (_msgType) {
12342 case DATAIN_BUFFERSEND: {
12345 _deserStatus = _msg.deserializeTo(fwBuffer);
12348 static_cast<FwAssertArgType>(_deserStatus)
12360 case DATARETURNIN_BUFFERSEND: {
12363 _deserStatus = _msg.deserializeTo(fwBuffer);
12366 static_cast<FwAssertArgType>(_deserStatus)
12378 case PINGIN_PING: {
12381 _deserStatus = _msg.deserializeTo(key);
12384 static_cast<FwAssertArgType>(_deserStatus)
12396 case RUN1HZ_SCHED: {
12399 _deserStatus = _msg.deserializeTo(context);
12402 static_cast<FwAssertArgType>(_deserStatus)
12414 case CMD_SENDFILE: {
12417 _deserStatus = _msg.deserializeTo(_opCode);
12420 static_cast<FwAssertArgType>(_deserStatus)
12425 _deserStatus = _msg.deserializeTo(_cmdSeq);
12428 static_cast<FwAssertArgType>(_deserStatus)
12433 _deserStatus = _msg.deserializeTo(args);
12436 static_cast<FwAssertArgType>(_deserStatus)
12549 #if FW_CMD_CHECK_RESIDUAL 12575 case CMD_PLAYBACKDIRECTORY: {
12578 _deserStatus = _msg.deserializeTo(_opCode);
12581 static_cast<FwAssertArgType>(_deserStatus)
12586 _deserStatus = _msg.deserializeTo(_cmdSeq);
12589 static_cast<FwAssertArgType>(_deserStatus)
12594 _deserStatus = _msg.deserializeTo(args);
12597 static_cast<FwAssertArgType>(_deserStatus)
12710 #if FW_CMD_CHECK_RESIDUAL 12736 case CMD_POLLDIRECTORY: {
12739 _deserStatus = _msg.deserializeTo(_opCode);
12742 static_cast<FwAssertArgType>(_deserStatus)
12747 _deserStatus = _msg.deserializeTo(_cmdSeq);
12750 static_cast<FwAssertArgType>(_deserStatus)
12755 _deserStatus = _msg.deserializeTo(args);
12758 static_cast<FwAssertArgType>(_deserStatus)
12886 #if FW_CMD_CHECK_RESIDUAL 12913 case CMD_STOPPOLLDIRECTORY: {
12916 _deserStatus = _msg.deserializeTo(_opCode);
12919 static_cast<FwAssertArgType>(_deserStatus)
12924 _deserStatus = _msg.deserializeTo(_cmdSeq);
12927 static_cast<FwAssertArgType>(_deserStatus)
12932 _deserStatus = _msg.deserializeTo(args);
12935 static_cast<FwAssertArgType>(_deserStatus)
12973 #if FW_CMD_CHECK_RESIDUAL 12994 case CMD_SETCHANNELFLOW: {
12997 _deserStatus = _msg.deserializeTo(_opCode);
13000 static_cast<FwAssertArgType>(_deserStatus)
13005 _deserStatus = _msg.deserializeTo(_cmdSeq);
13008 static_cast<FwAssertArgType>(_deserStatus)
13013 _deserStatus = _msg.deserializeTo(args);
13016 static_cast<FwAssertArgType>(_deserStatus)
13054 #if FW_CMD_CHECK_RESIDUAL 13075 case CMD_SUSPENDRESUMETRANSACTION: {
13078 _deserStatus = _msg.deserializeTo(_opCode);
13081 static_cast<FwAssertArgType>(_deserStatus)
13086 _deserStatus = _msg.deserializeTo(_cmdSeq);
13089 static_cast<FwAssertArgType>(_deserStatus)
13094 _deserStatus = _msg.deserializeTo(args);
13097 static_cast<FwAssertArgType>(_deserStatus)
13165 #if FW_CMD_CHECK_RESIDUAL 13188 case CMD_CANCELTRANSACTION: {
13191 _deserStatus = _msg.deserializeTo(_opCode);
13194 static_cast<FwAssertArgType>(_deserStatus)
13199 _deserStatus = _msg.deserializeTo(_cmdSeq);
13202 static_cast<FwAssertArgType>(_deserStatus)
13207 _deserStatus = _msg.deserializeTo(args);
13210 static_cast<FwAssertArgType>(_deserStatus)
13263 #if FW_CMD_CHECK_RESIDUAL 13285 case CMD_ABANDONTRANSACTION: {
13288 _deserStatus = _msg.deserializeTo(_opCode);
13291 static_cast<FwAssertArgType>(_deserStatus)
13296 _deserStatus = _msg.deserializeTo(_cmdSeq);
13299 static_cast<FwAssertArgType>(_deserStatus)
13304 _deserStatus = _msg.deserializeTo(args);
13307 static_cast<FwAssertArgType>(_deserStatus)
13360 #if FW_CMD_CHECK_RESIDUAL 13382 case CMD_RESETCOUNTERS: {
13385 _deserStatus = _msg.deserializeTo(_opCode);
13388 static_cast<FwAssertArgType>(_deserStatus)
13393 _deserStatus = _msg.deserializeTo(_cmdSeq);
13396 static_cast<FwAssertArgType>(_deserStatus)
13401 _deserStatus = _msg.deserializeTo(args);
13404 static_cast<FwAssertArgType>(_deserStatus)
13427 #if FW_CMD_CHECK_RESIDUAL 13457 void CfdpManagerComponentBase ::
13468 compPtr->cmdIn_handlerBase(
13480 void CfdpManagerComponentBase ::
13489 compPtr->dataIn_handlerBase(
13495 void CfdpManagerComponentBase ::
13496 m_p_dataReturnIn_in(
13504 compPtr->dataReturnIn_handlerBase(
13522 return compPtr->fileIn_handlerBase(
13531 void CfdpManagerComponentBase ::
13540 compPtr->pingIn_handlerBase(
13546 void CfdpManagerComponentBase ::
13555 compPtr->run1Hz_handlerBase(
13561 #if !FW_DIRECT_PORT_CALLS 13567 void CfdpManagerComponentBase ::
13575 static_cast<FwAssertArgType>(portNum)
13579 this->m_cmdRegOut_OutputPort[portNum].isConnected(),
13580 static_cast<FwAssertArgType>(portNum)
13582 this->m_cmdRegOut_OutputPort[portNum].
invoke(
13587 void CfdpManagerComponentBase ::
13588 cmdResponseOut_out(
13597 static_cast<FwAssertArgType>(portNum)
13601 this->m_cmdResponseOut_OutputPort[portNum].isConnected(),
13602 static_cast<FwAssertArgType>(portNum)
13604 this->m_cmdResponseOut_OutputPort[portNum].
invoke(
13611 void CfdpManagerComponentBase ::
13622 static_cast<FwAssertArgType>(portNum)
13626 this->m_logOut_OutputPort[portNum].isConnected(),
13627 static_cast<FwAssertArgType>(portNum)
13629 this->m_logOut_OutputPort[portNum].
invoke(
13637 #if FW_ENABLE_TEXT_LOGGING 13639 void CfdpManagerComponentBase ::
13649 (0 <= portNum) && (portNum < this->getNum_logTextOut_OutputPorts()),
13650 static_cast<FwAssertArgType>(portNum)
13654 this->m_logTextOut_OutputPort[portNum].isConnected(),
13655 static_cast<FwAssertArgType>(portNum)
13657 this->m_logTextOut_OutputPort[portNum].invoke(
13676 static_cast<FwAssertArgType>(portNum)
13680 this->m_prmGetOut_OutputPort[portNum].isConnected(),
13681 static_cast<FwAssertArgType>(portNum)
13683 return this->m_prmGetOut_OutputPort[portNum].
invoke(
13689 void CfdpManagerComponentBase ::
13698 static_cast<FwAssertArgType>(portNum)
13702 this->m_prmSetOut_OutputPort[portNum].isConnected(),
13703 static_cast<FwAssertArgType>(portNum)
13705 this->m_prmSetOut_OutputPort[portNum].
invoke(
13711 void CfdpManagerComponentBase ::
13719 static_cast<FwAssertArgType>(portNum)
13723 this->m_timeCaller_OutputPort[portNum].isConnected(),
13724 static_cast<FwAssertArgType>(portNum)
13726 this->m_timeCaller_OutputPort[portNum].
invoke(
13731 void CfdpManagerComponentBase ::
13741 static_cast<FwAssertArgType>(portNum)
13745 this->m_tlmOut_OutputPort[portNum].isConnected(),
13746 static_cast<FwAssertArgType>(portNum)
13748 this->m_tlmOut_OutputPort[portNum].
invoke(
13771 this->m_paramLock.
lock();
13772 this->m_LocalEid = _localVal;
13774 this->m_paramLock.
unlock();
13791 this->m_paramLock.
lock();
13792 this->m_OutgoingFileChunkSize = _localVal;
13794 this->m_paramLock.
unlock();
13811 this->m_paramLock.
lock();
13812 this->m_RxCrcCalcBytesPerCycle = _localVal;
13814 this->m_paramLock.
unlock();
13831 this->m_paramLock.
lock();
13832 this->m_PostInactivitySendRetries = _localVal;
13834 this->m_paramLock.
unlock();
13851 this->m_paramLock.
lock();
13852 this->m_FileInDefaultChannel = _localVal;
13854 this->m_paramLock.
unlock();
13871 this->m_paramLock.
lock();
13872 this->m_FileInDefaultDestEntityId = _localVal;
13874 this->m_paramLock.
unlock();
13891 this->m_paramLock.
lock();
13892 this->m_FileInDefaultClass = _localVal;
13894 this->m_paramLock.
unlock();
13911 this->m_paramLock.
lock();
13912 this->m_FileInDefaultKeep = _localVal;
13914 this->m_paramLock.
unlock();
13931 this->m_paramLock.
lock();
13932 this->m_FileInDefaultPriority = _localVal;
13934 this->m_paramLock.
unlock();
13951 this->m_paramLock.
lock();
13952 this->m_ChannelConfig = _localVal;
13954 this->m_paramLock.
unlock();
13966 paramSave_LocalEid()
13975 this->m_paramLock.
lock();
13979 this->m_paramLock.
unlock();
13984 this->prmSetOut_out(
13994 paramSave_OutgoingFileChunkSize()
14003 this->m_paramLock.
lock();
14005 _stat = _paramBuffer.
serializeFrom(m_OutgoingFileChunkSize);
14007 this->m_paramLock.
unlock();
14012 this->prmSetOut_out(
14022 paramSave_RxCrcCalcBytesPerCycle()
14031 this->m_paramLock.
lock();
14033 _stat = _paramBuffer.
serializeFrom(m_RxCrcCalcBytesPerCycle);
14035 this->m_paramLock.
unlock();
14040 this->prmSetOut_out(
14050 paramSave_PostInactivitySendRetries()
14059 this->m_paramLock.
lock();
14061 _stat = _paramBuffer.
serializeFrom(m_PostInactivitySendRetries);
14063 this->m_paramLock.
unlock();
14068 this->prmSetOut_out(
14078 paramSave_FileInDefaultChannel()
14087 this->m_paramLock.
lock();
14089 _stat = _paramBuffer.
serializeFrom(m_FileInDefaultChannel);
14091 this->m_paramLock.
unlock();
14096 this->prmSetOut_out(
14106 paramSave_FileInDefaultDestEntityId()
14115 this->m_paramLock.
lock();
14117 _stat = _paramBuffer.
serializeFrom(m_FileInDefaultDestEntityId);
14119 this->m_paramLock.
unlock();
14124 this->prmSetOut_out(
14134 paramSave_FileInDefaultClass()
14143 this->m_paramLock.
lock();
14147 this->m_paramLock.
unlock();
14152 this->prmSetOut_out(
14162 paramSave_FileInDefaultKeep()
14171 this->m_paramLock.
lock();
14175 this->m_paramLock.
unlock();
14180 this->prmSetOut_out(
14190 paramSave_FileInDefaultPriority()
14199 this->m_paramLock.
lock();
14201 _stat = _paramBuffer.
serializeFrom(m_FileInDefaultPriority);
14203 this->m_paramLock.
unlock();
14208 this->prmSetOut_out(
14218 paramSave_ChannelConfig()
14227 this->m_paramLock.
lock();
14231 this->m_paramLock.
unlock();
14236 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.
void log_ACTIVITY_LO_TransactionResumed(Svc::Ccsds::Cfdp::TransactionSeq transactionSeq, Svc::Ccsds::Cfdp::EntityId entityId) const
Command to stop a directory poll.
void addCallPort(InputTimePort *callPort)
Register an input port.
CFDP ID to denote the current node when sending PDUs.
static constexpr FwIndexType getNum_cmdResponseOut_OutputPorts()
virtual void run1Hz_preMsgHook(FwIndexType portNum, U32 context)
Pre-message hook for async input port run1Hz.
bool isConnected_prmGetOut_OutputPort(FwIndexType portNum) const
static constexpr FwSizeType CAPACITY
Enum used to determine if a file should be kept or deleted after a CFDP transaction.
virtual void run1Hz_handler(FwIndexType portNum, U32 context)=0
Handler for input port run1Hz.
void log_WARNING_LO_FailAckPduDeserialization(U8 channelId, I32 status) const
Log event FailAckPduDeserialization.
bool isConnected_cmdRegOut_OutputPort(FwIndexType portNum) const
static constexpr FwIndexType getNum_bufferDeallocate_OutputPorts()
void log_WARNING_LO_FailFileDataPduDeserialization(U8 channelId, I32 status) const
Log event FailFileDataPduDeserialization.
FwIdType FwOpcodeType
The type of a command opcode.
void log_WARNING_LO_TxFileSeekFailed(const Svc::Ccsds::Cfdp::Class &cfdpClass, U32 srcEid, U32 seqNum, I32 status) const
Log event TxFileSeekFailed.
void log_WARNING_LO_FailPollFileMove(const Fw::StringBase &srcFile, const Fw::StringBase &failDir, I32 status) const
Log event FailPollFileMove.
SerializeStatus serializeFrom(U8 val, Endianness mode=Endianness::BIG) override
Serialize an 8-bit unsigned integer value.
message to exit active component task
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
The size of the serial representation.
Transaction was suspended.
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
Command to start a directory poll.
void log_ACTIVITY_LO_RxTempFileCreated(const Svc::Ccsds::Cfdp::Class &cfdpClass, U32 srcEid, U32 seqNum, const Fw::StringBase &filename) const
Log event RxTempFileCreated.
virtual void dataReturnIn_handler(FwIndexType portNum, Fw::Buffer &fwBuffer)=0
Handler for input port dataReturnIn.
void regCommands()
Register commands with the Command Dispatcher.
void log_WARNING_LO_TxSendMetadataFailed(const Svc::Ccsds::Cfdp::Class &cfdpClass, U32 srcEid, U32 seqNum) const
Log event TxSendMetadataFailed.
Status
status returned from the queue send function
Svc::SendFileResponse fileIn_handlerBase(FwIndexType portNum, const Fw::StringBase &sourceFileName, const Fw::StringBase &destFileName, U32 offset, U32 length)
Handler base-class function for input port fileIn.
void pingOut_out(FwIndexType portNum, U32 key) const
Invoke output port pingOut.
virtual void CancelTransaction_preMsgHook(FwOpcodeType opCode, U32 cmdSeq)
Pre-message hook for command CancelTransaction.
Opcode to set parameter FileInDefaultPriority.
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
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.
Opcode to save parameter FileInDefaultPriority.
FwIdType FwPrmIdType
The type of a parameter identifier.
static constexpr FwSizeType CAPACITY
static constexpr FwIndexType getNum_dataInReturn_OutputPorts()
void log_ACTIVITY_LO_PollDirInitiated(const Fw::StringBase &sourceDirectory) const
Log event PollDirInitiated.
void log_WARNING_LO_TxAckLimitReached(const Svc::Ccsds::Cfdp::Class &cfdpClass, U32 srcEid, U32 seqNum) const
Log event TxAckLimitReached.
The size of the serial representation.
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.
virtual const CHAR * toChar() const =0
Convert to a C-style char*.
void tlmWrite_ChannelTelemetry(const Svc::Ccsds::Cfdp::ChannelTelemetryArray &arg, Fw::Time _tlmTime=Fw::Time()) const
void SetChannelFlow_cmdHandlerBase(FwOpcodeType opCode, U32 cmdSeq, Fw::CmdArgBuffer &args)
void log_WARNING_LO_RxFileSizeMismatch(const Svc::Ccsds::Cfdp::Class &cfdpClass, U32 srcEid, U32 seqNum, U32 expected, U32 actual) const
Log event RxFileSizeMismatch.
U32 paramGet_RxCrcCalcBytesPerCycle(Fw::ParamValid &valid)
void log_WARNING_LO_ChunklistUnavailable(U32 transactionSeq) const
Log event ChunklistUnavailable.
Command to reset telemetry counters.
void log_WARNING_LO_RxWriteFailed(const Svc::Ccsds::Cfdp::Class &cfdpClass, U32 srcEid, U32 seqNum, U32 expected, I32 actual) const
Log event RxWriteFailed.
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
Command to set channel's flow status.
void init()
Initialization function.
Enum representing a command response.
Command to start a directory playback.
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.
Opcode to save parameter FileInDefaultChannel.
void addCallPort(InputCmdRegPort *callPort)
Register an input port.
void log_ACTIVITY_HI_ResetCounters(U8 channelId) const
Log event ResetCounters.
Opcode to set parameter ChannelConfig.
virtual void lock()
Lock the guarded mutex.
void set_cmdResponseOut_OutputPort(FwIndexType portNum, Fw::InputCmdResponsePort *port)
Connect port to cmdResponseOut[portNum].
void set_bufferAllocate_OutputPort(FwIndexType portNum, Fw::InputBufferGetPort *port)
Connect port to bufferAllocate[portNum].
void init()
Initialization function.
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)
Default CFDP channel for fileIn port-initiated file transfers.
Opcode to set parameter FileInDefaultKeep.
void set_pingOut_OutputPort(FwIndexType portNum, Svc::InputPingPort *port)
Connect port to pingOut[portNum].
void set_dataInReturn_OutputPort(FwIndexType portNum, Fw::InputBufferSendPort *port)
Connect port to dataInReturn[portNum].
Software diagnostic events.
void log_ACTIVITY_HI_TxFileTransferCompleted(const Svc::Ccsds::Cfdp::Class &cfdpClass, U32 seqNum, U32 srcEid, const Fw::StringBase &srcFile, U32 destEid, const Fw::StringBase &destFile, U32 fileSize) const
Log event TxFileTransferCompleted.
void SuspendResumeTransaction_cmdHandlerBase(FwOpcodeType opCode, U32 cmdSeq, Fw::CmdArgBuffer &args)
void addCallPort(InputTlmPort *callPort)
Register an input port.
void set_prmSetOut_OutputPort(FwIndexType portNum, Fw::InputPrmSetPort *port)
Connect port to prmSetOut[portNum].
void addCallPort(InputPrmGetPort *callPort)
Register an input port.
void init()
Object initializer.
virtual void dataIn_handler(FwIndexType portNum, Fw::Buffer &fwBuffer)=0
Handler for input port dataIn.
Opcode to save parameter OutgoingFileChunkSize.
static constexpr FwIndexType getNum_logOut_OutputPorts()
SerializeStatus
forward declaration for string
void log_WARNING_LO_SendFileInitiateFail(const Fw::StringBase &sourceFileName) const
Log event SendFileInitiateFail.
void addCallPort(InputBufferGetPort *callPort)
Register an input port.
virtual SerializeStatus deserializeTo(U8 &val, Endianness mode=Endianness::BIG)=0
Deserialize an 8-bit unsigned integer value.
Message will block until space is available.
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.
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
void log_ACTIVITY_LO_PlaybackInitiated(const Fw::StringBase &sourceDirectory) const
Log event PlaybackInitiated.
Opcode to save parameter ChannelConfig.
#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)
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].
Channel ID for ChannelTelemetry.
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 RxCrcCalcBytesPerCycle.
Command to cancel a transaction with graceful close-out.
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
The maximum number of received bytes to calculate a CRC for in a single scheduler cycle...
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.
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
The size of the serial representation.
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.
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.
Default destination entity ID for fileIn port-initiated file transfers.
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.
Enum representing event severity.
virtual void PollDirectory_preMsgHook(FwOpcodeType opCode, U32 cmdSeq)
Pre-message hook for command PollDirectory.
Opcode to set parameter FileInDefaultClass.
void log_WARNING_LO_RxSeekFailed(const Svc::Ccsds::Cfdp::Class &cfdpClass, U32 srcEid, U32 seqNum, U32 offset, I32 status) const
Log event RxSeekFailed.
virtual void pingIn_preMsgHook(FwIndexType portNum, U32 key)
Pre-message hook for async input port pingIn.
FormatStatus format(const CHAR *formatString,...)
write formatted string to buffer
void init()
Initialization function.
Command successfully executed.
void log_WARNING_LO_TxNonFileDirectivePduReceived(const Svc::Ccsds::Cfdp::Class &cfdpClass, U32 srcEid, U32 seqNum) const
Log event TxNonFileDirectivePduReceived.
virtual void SuspendResumeTransaction_cmdHandler(FwOpcodeType opCode, U32 cmdSeq, U8 channelId, Svc::Ccsds::Cfdp::TransactionSeq transactionSeq, Svc::Ccsds::Cfdp::EntityId entityId, const Svc::Ccsds::Cfdp::SuspendResume &action)=0
Svc::InputSendFileRequestPort * get_fileIn_InputPort(FwIndexType portNum)
void log_WARNING_LO_RxTransactionLimitReached(U32 srcEid, U32 transactionSeq) const
Log event RxTransactionLimitReached.
Opcode to save parameter LocalEid.
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
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.
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.
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.
Opcode to set parameter PostInactivitySendRetries.
Opcode to set parameter LocalEid.
Fw::InputCmdPort * get_cmdIn_InputPort(FwIndexType portNum)
static constexpr FwIndexType getNum_dataIn_InputPorts()
void log_WARNING_LO_PlaybackDirReadFailed(const Fw::StringBase &directory, I32 status) const
Log event PlaybackDirReadFailed.
Command to suspend or resume a transaction.
void log_ACTIVITY_LO_TxFileQueued(const Fw::StringBase &sourceFileName, U32 transactionSeq) const
Log event TxFileQueued.
Default file retention policy for fileIn port-initiated file transfers.
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.
Opcode to save parameter FileInDefaultKeep.
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 FileInDefaultClass.
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
Opcode to set parameter FileInDefaultDestEntityId.
void init()
Initialization function.
virtual void StopPollDirectory_cmdHandler(FwOpcodeType opCode, U32 cmdSeq, U8 channelId, U8 pollId)=0
void init()
Initialization function.
void set_timeCaller_OutputPort(FwIndexType portNum, Fw::InputTimePort *port)
Connect port to timeCaller[portNum].
Command failed validation.
Parameter configuration for an array CFDP channels.
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
SerializeStatus deserializeTo(U8 &val, Endianness mode=Endianness::BIG) override
Deserialize an 8-bit unsigned integer value.
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
Command to abandon a transaction immediately.
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.
Opcode to save parameter FileInDefaultDestEntityId.
Transaction not found for command.
Opcode to save parameter PostInactivitySendRetries.
Opcode to set parameter FileInDefaultChannel.
void log_WARNING_LO_RxInactivityTimeout(const Svc::Ccsds::Cfdp::Class &cfdpClass, U32 srcEid, U32 seqNum) const
Log event RxInactivityTimeout.
Maximum number of bytes to put into a file PDU.
void log_WARNING_LO_PollDirNotActive(U8 channelId, U8 pollId) const
Log event PollDirNotActive.
Svc::Ccsds::Cfdp::ChannelArrayParams paramGet_ChannelConfig(Fw::ParamValid &valid)
Default priority for fileIn port-initiated file transfers.
void log_WARNING_LO_FailPduHeaderDeserialization(U8 channelId, I32 status) const
Log event FailPduHeaderDeserialization.
Message will return with status when space is unavailable.
Implementation of malloc based allocator.
void log_DIAGNOSTIC_ResetFreedTransaction() const
Log event ResetFreedTransaction.
virtual void PollDirectory_cmdHandler(FwOpcodeType opCode, U32 cmdSeq, U8 channelId, U8 pollId, Svc::Ccsds::Cfdp::EntityId destId, const Svc::Ccsds::Cfdp::Class &cfdpClass, U8 priority, U32 interval, const Fw::CmdStringArg &sourceDirectory, const Fw::CmdStringArg &destDirectory)=0
void init()
Initialization function.
void log_WARNING_LO_PollDirBusy(U8 channelId, U8 pollId) const
Log event PollDirBusy.
Command to start a CFDP file transaction.
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 OutgoingFileChunkSize.
static constexpr FwSizeType CAPACITY
void log_WARNING_LO_TxEarlyFinReceived(const Svc::Ccsds::Cfdp::Class &cfdpClass, U32 srcEid, U32 seqNum) const
Log event TxEarlyFinReceived.
void log_WARNING_LO_FailFinPduDeserialization(U8 channelId, I32 status) const
Log event FailFinPduDeserialization.
U8 paramGet_FileInDefaultChannel(Fw::ParamValid &valid)
void addCallPort(InputCmdResponsePort *callPort)
Register an input port.
void log_ACTIVITY_LO_PollDirStopped(U8 channelId, U8 pollId) const
Log event PollDirStopped.
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.
void log_WARNING_LO_FailMetadataPduDeserialization(U8 channelId, I32 status) const
Log event FailMetadataPduDeserialization.
BYTE cmdPortSize[Fw::CmdPortBuffer::CAPACITY]
Opcode to save parameter RxCrcCalcBytesPerCycle.
Default CFDP class for fileIn port-initiated file transfers.