![]() |
F´ Flight Software - C/C++ Documentation
devel
A framework for building embedded system applications to NASA flight quality standards.
|
Auto-generated base for FileDownlink component. More...
#include <Svc/FileDownlink/FileDownlinkComponentAc.hpp>
Protected Member Functions | |
FileDownlinkComponentBase (const char *compName="") | |
Construct FileDownlinkComponentBase object. More... | |
virtual | ~FileDownlinkComponentBase () |
Destroy FileDownlinkComponentBase object. More... | |
NATIVE_INT_TYPE | getNum_cmdIn_InputPorts () const |
NATIVE_INT_TYPE | getNum_Run_InputPorts () const |
NATIVE_INT_TYPE | getNum_SendFile_InputPorts () const |
NATIVE_INT_TYPE | getNum_bufferReturn_InputPorts () const |
NATIVE_INT_TYPE | getNum_pingIn_InputPorts () const |
NATIVE_INT_TYPE | getNum_cmdRegOut_OutputPorts () const |
NATIVE_INT_TYPE | getNum_cmdResponseOut_OutputPorts () const |
NATIVE_INT_TYPE | getNum_eventOut_OutputPorts () const |
NATIVE_INT_TYPE | getNum_timeCaller_OutputPorts () const |
NATIVE_INT_TYPE | getNum_tlmOut_OutputPorts () const |
NATIVE_INT_TYPE | getNum_FileComplete_OutputPorts () const |
NATIVE_INT_TYPE | getNum_bufferSendOut_OutputPorts () const |
NATIVE_INT_TYPE | getNum_pingOut_OutputPorts () const |
bool | isConnected_cmdRegOut_OutputPort (NATIVE_INT_TYPE portNum) |
bool | isConnected_cmdResponseOut_OutputPort (NATIVE_INT_TYPE portNum) |
bool | isConnected_eventOut_OutputPort (NATIVE_INT_TYPE portNum) |
bool | isConnected_timeCaller_OutputPort (NATIVE_INT_TYPE portNum) |
bool | isConnected_tlmOut_OutputPort (NATIVE_INT_TYPE portNum) |
bool | isConnected_FileComplete_OutputPort (NATIVE_INT_TYPE portNum) |
bool | isConnected_bufferSendOut_OutputPort (NATIVE_INT_TYPE portNum) |
bool | isConnected_pingOut_OutputPort (NATIVE_INT_TYPE portNum) |
virtual void | Run_handler (NATIVE_INT_TYPE portNum, NATIVE_UINT_TYPE context)=0 |
Handler for input port Run. More... | |
virtual Svc::SendFileResponse | SendFile_handler (NATIVE_INT_TYPE portNum, const Svc::SendFileRequestPortStrings::StringSize100 &sourceFileName, const Svc::SendFileRequestPortStrings::StringSize100 &destFileName, U32 offset, U32 length)=0 |
Handler for input port SendFile. More... | |
virtual void | bufferReturn_handler (NATIVE_INT_TYPE portNum, Fw::Buffer &fwBuffer)=0 |
Handler for input port bufferReturn. More... | |
virtual void | pingIn_handler (NATIVE_INT_TYPE portNum, U32 key)=0 |
Handler for input port pingIn. More... | |
void | Run_handlerBase (NATIVE_INT_TYPE portNum, NATIVE_UINT_TYPE context) |
Handler base-class function for input port Run. More... | |
Svc::SendFileResponse | SendFile_handlerBase (NATIVE_INT_TYPE portNum, const Svc::SendFileRequestPortStrings::StringSize100 &sourceFileName, const Svc::SendFileRequestPortStrings::StringSize100 &destFileName, U32 offset, U32 length) |
Handler base-class function for input port SendFile. More... | |
void | bufferReturn_handlerBase (NATIVE_INT_TYPE portNum, Fw::Buffer &fwBuffer) |
Handler base-class function for input port bufferReturn. More... | |
void | pingIn_handlerBase (NATIVE_INT_TYPE portNum, U32 key) |
Handler base-class function for input port pingIn. More... | |
virtual void | Run_preMsgHook (NATIVE_INT_TYPE portNum, NATIVE_UINT_TYPE context) |
Pre-message hook for async input port Run. More... | |
virtual void | bufferReturn_preMsgHook (NATIVE_INT_TYPE portNum, Fw::Buffer &fwBuffer) |
Pre-message hook for async input port bufferReturn. More... | |
virtual void | pingIn_preMsgHook (NATIVE_INT_TYPE portNum, U32 key) |
Pre-message hook for async input port pingIn. More... | |
void | FileComplete_out (NATIVE_INT_TYPE portNum, const Svc::SendFileResponse &resp) |
Invoke output port FileComplete. More... | |
void | bufferSendOut_out (NATIVE_INT_TYPE portNum, Fw::Buffer &fwBuffer) |
Invoke output port bufferSendOut. More... | |
void | pingOut_out (NATIVE_INT_TYPE portNum, U32 key) |
Invoke output port pingOut. More... | |
void | cmdResponse_out (FwOpcodeType opCode, U32 cmdSeq, Fw::CmdResponse response) |
Emit command response. More... | |
virtual void | SendFile_cmdHandler (FwOpcodeType opCode, U32 cmdSeq, const Fw::CmdStringArg &sourceFileName, const Fw::CmdStringArg &destFileName)=0 |
virtual void | Cancel_cmdHandler (FwOpcodeType opCode, U32 cmdSeq)=0 |
virtual void | SendPartial_cmdHandler (FwOpcodeType opCode, U32 cmdSeq, const Fw::CmdStringArg &sourceFileName, const Fw::CmdStringArg &destFileName, U32 startOffset, U32 length)=0 |
void | SendFile_cmdHandlerBase (FwOpcodeType opCode, U32 cmdSeq, Fw::CmdArgBuffer &args) |
void | Cancel_cmdHandlerBase (FwOpcodeType opCode, U32 cmdSeq, Fw::CmdArgBuffer &args) |
void | SendPartial_cmdHandlerBase (FwOpcodeType opCode, U32 cmdSeq, Fw::CmdArgBuffer &args) |
virtual void | SendFile_preMsgHook (FwOpcodeType opCode, U32 cmdSeq) |
Pre-message hook for command SendFile. More... | |
virtual void | Cancel_preMsgHook (FwOpcodeType opCode, U32 cmdSeq) |
Pre-message hook for command Cancel. More... | |
virtual void | SendPartial_preMsgHook (FwOpcodeType opCode, U32 cmdSeq) |
Pre-message hook for command SendPartial. More... | |
void | log_WARNING_HI_FileOpenError (const Fw::LogStringArg &fileName) |
void | log_WARNING_HI_FileReadError (const Fw::LogStringArg &fileName, I32 status) |
void | log_ACTIVITY_HI_FileSent (const Fw::LogStringArg &sourceFileName, const Fw::LogStringArg &destFileName) |
void | log_ACTIVITY_HI_DownlinkCanceled (const Fw::LogStringArg &sourceFileName, const Fw::LogStringArg &destFileName) |
void | log_WARNING_HI_DownlinkTimeout (const Fw::LogStringArg &sourceFileName, const Fw::LogStringArg &destFileName) |
void | log_WARNING_LO_DownlinkPartialWarning (U32 startOffset, U32 length, U32 filesize, const Fw::LogStringArg &sourceFileName, const Fw::LogStringArg &destFileName) |
void | log_WARNING_HI_DownlinkPartialFail (const Fw::LogStringArg &sourceFileName, const Fw::LogStringArg &destFileName, U32 startOffset, U32 filesize) |
void | log_WARNING_HI_SendDataFail (const Fw::LogStringArg &sourceFileName, U32 byteOffset) |
void | log_ACTIVITY_HI_SendStarted (U32 fileSize, const Fw::LogStringArg &sourceFileName, const Fw::LogStringArg &destFileName) |
void | tlmWrite_FilesSent (U32 arg, Fw::Time _tlmTime=Fw::Time()) |
void | tlmWrite_PacketsSent (U32 arg, Fw::Time _tlmTime=Fw::Time()) |
void | tlmWrite_Warnings (U32 arg, Fw::Time _tlmTime=Fw::Time()) |
Fw::Time | getTime () |
virtual void | lock () |
Lock the guarded mutex. More... | |
virtual void | unLock () |
Unlock the guarded mutex. More... | |
![]() | |
ActiveComponentBase (const char *name) | |
Constructor. More... | |
virtual | ~ActiveComponentBase () |
Destructor. More... | |
void | init (NATIVE_INT_TYPE instance) |
initialization code More... | |
virtual void | preamble () |
A function that will be called before the event loop is entered. More... | |
virtual void | loop () |
The function that will loop dispatching messages. More... | |
virtual void | finalizer () |
A function that will be called after exiting the loop. More... | |
![]() | |
QueuedComponentBase (const char *name) | |
Constructor. More... | |
virtual | ~QueuedComponentBase () |
Destructor. More... | |
void | init (NATIVE_INT_TYPE instance) |
initialization function More... | |
Os::Queue::QueueStatus | createQueue (NATIVE_INT_TYPE depth, NATIVE_INT_TYPE msgSize) |
NATIVE_INT_TYPE | getNumMsgsDropped () |
return number of messages dropped More... | |
void | incNumMsgDropped () |
increment the number of messages dropped More... | |
![]() | |
PassiveComponentBase (const char *name) | |
Named constructor. More... | |
virtual | ~PassiveComponentBase () |
Destructor. More... | |
void | init (NATIVE_INT_TYPE instance) |
Initialization function. More... | |
NATIVE_INT_TYPE | getInstance () const |
![]() | |
ObjBase (const char *name) | |
ObjBase constructor. More... | |
virtual | ~ObjBase () |
Destructor. More... | |
void | init () |
Object initializer. More... | |
Friends | |
class | FileDownlinkComponentBaseFriend |
Friend class for white-box testing. More... | |
Additional Inherited Members | |
![]() | |
enum | { ACTIVE_COMPONENT_EXIT } |
![]() | |
enum | MsgDispatchStatus { MSG_DISPATCH_OK , MSG_DISPATCH_EMPTY , MSG_DISPATCH_ERROR , MSG_DISPATCH_EXIT } |
![]() | |
Os::Task | m_task |
task object for active component More... | |
![]() | |
Os::Queue | m_queue |
queue object for active component More... | |
Auto-generated base for FileDownlink component.
A component for downlinking files
Definition at line 39 of file FileDownlinkComponentAc.hpp.
|
protected |
Enumerations for numbers of special input ports.
Enumerator | |
---|---|
NUM_CMDIN_INPUT_PORTS |
Definition at line 57 of file FileDownlinkComponentAc.hpp.
|
protected |
Enumerations for numbers of typed input ports.
Enumerator | |
---|---|
NUM_RUN_INPUT_PORTS | |
NUM_SENDFILE_INPUT_PORTS | |
NUM_BUFFERRETURN_INPUT_PORTS | |
NUM_PINGIN_INPUT_PORTS |
Definition at line 62 of file FileDownlinkComponentAc.hpp.
|
protected |
Enumerations for numbers of special output ports.
Enumerator | |
---|---|
NUM_CMDREGOUT_OUTPUT_PORTS | |
NUM_CMDRESPONSEOUT_OUTPUT_PORTS | |
NUM_EVENTOUT_OUTPUT_PORTS | |
NUM_TEXTEVENTOUT_OUTPUT_PORTS | |
NUM_TIMECALLER_OUTPUT_PORTS | |
NUM_TLMOUT_OUTPUT_PORTS |
Definition at line 70 of file FileDownlinkComponentAc.hpp.
|
protected |
Enumerations for numbers of typed output ports.
Enumerator | |
---|---|
NUM_FILECOMPLETE_OUTPUT_PORTS | |
NUM_BUFFERSENDOUT_OUTPUT_PORTS | |
NUM_PINGOUT_OUTPUT_PORTS |
Definition at line 80 of file FileDownlinkComponentAc.hpp.
|
protected |
Command opcodes.
Definition at line 87 of file FileDownlinkComponentAc.hpp.
|
protected |
Event IDs.
Definition at line 94 of file FileDownlinkComponentAc.hpp.
|
protected |
Channel IDs.
Enumerator | |
---|---|
CHANNELID_FILESSENT | Channel ID for FilesSent. |
CHANNELID_PACKETSSENT | Channel ID for PacketsSent. |
CHANNELID_WARNINGS | Channel ID for Warnings. |
Definition at line 107 of file FileDownlinkComponentAc.hpp.
|
protected |
Construct FileDownlinkComponentBase object.
compName | The component name |
Definition at line 873 of file FileDownlinkComponentAc.cpp.
|
protectedvirtual |
Destroy FileDownlinkComponentBase object.
Definition at line 880 of file FileDownlinkComponentAc.cpp.
|
protectedpure virtual |
Handler for input port bufferReturn.
portNum | The port number |
fwBuffer | The buffer |
|
protected |
Handler base-class function for input port bufferReturn.
portNum | The port number |
fwBuffer | The buffer |
Definition at line 1195 of file FileDownlinkComponentAc.cpp.
|
protectedvirtual |
Pre-message hook for async input port bufferReturn.
portNum | The port number |
fwBuffer | The buffer |
Definition at line 1318 of file FileDownlinkComponentAc.cpp.
|
protected |
Invoke output port bufferSendOut.
portNum | The port number |
fwBuffer | The buffer |
Definition at line 1355 of file FileDownlinkComponentAc.cpp.
|
protectedpure virtual |
Handler for command Cancel
Cancel the downlink in progress, if any
opCode | The opcode |
cmdSeq | The command sequence number |
|
protected |
Base-class handler function for command Cancel
Cancel the downlink in progress, if any
opCode | The opcode |
cmdSeq | The command sequence number |
args | The command argument buffer |
Definition at line 1465 of file FileDownlinkComponentAc.cpp.
|
protectedvirtual |
Pre-message hook for command Cancel.
opCode | The opcode |
cmdSeq | The command sequence number |
Definition at line 1602 of file FileDownlinkComponentAc.cpp.
|
protected |
Emit command response.
opCode | The opcode |
cmdSeq | The command sequence number |
response | The command response |
Definition at line 1389 of file FileDownlinkComponentAc.cpp.
|
protected |
Invoke output port FileComplete.
portNum | The port number |
Definition at line 1340 of file FileDownlinkComponentAc.cpp.
Fw::InputBufferSendPort * Svc::FileDownlinkComponentBase::get_bufferReturn_InputPort | ( | NATIVE_INT_TYPE | portNum | ) |
Get typed input port at index
portNum | The port number |
Definition at line 541 of file FileDownlinkComponentAc.cpp.
Fw::InputCmdPort * Svc::FileDownlinkComponentBase::get_cmdIn_InputPort | ( | NATIVE_INT_TYPE | portNum | ) |
Get special input port at index
portNum | The port number |
Definition at line 504 of file FileDownlinkComponentAc.cpp.
Svc::InputPingPort * Svc::FileDownlinkComponentBase::get_pingIn_InputPort | ( | NATIVE_INT_TYPE | portNum | ) |
Get typed input port at index
portNum | The port number |
Definition at line 552 of file FileDownlinkComponentAc.cpp.
Svc::InputSchedPort * Svc::FileDownlinkComponentBase::get_Run_InputPort | ( | NATIVE_INT_TYPE | portNum | ) |
Get typed input port at index
portNum | The port number |
Definition at line 519 of file FileDownlinkComponentAc.cpp.
Svc::InputSendFileRequestPort * Svc::FileDownlinkComponentBase::get_SendFile_InputPort | ( | NATIVE_INT_TYPE | portNum | ) |
Get typed input port at index
portNum | The port number |
Definition at line 530 of file FileDownlinkComponentAc.cpp.
|
protected |
Get the number of bufferReturn input ports
Definition at line 912 of file FileDownlinkComponentAc.cpp.
|
protected |
Get the number of bufferSendOut output ports
Definition at line 978 of file FileDownlinkComponentAc.cpp.
|
protected |
Get the number of cmdIn input ports
Definition at line 890 of file FileDownlinkComponentAc.cpp.
|
protected |
Get the number of cmdRegOut output ports
Definition at line 928 of file FileDownlinkComponentAc.cpp.
|
protected |
Get the number of cmdResponseOut output ports
Definition at line 934 of file FileDownlinkComponentAc.cpp.
|
protected |
Get the number of eventOut output ports
Definition at line 940 of file FileDownlinkComponentAc.cpp.
|
protected |
Get the number of FileComplete output ports
Definition at line 972 of file FileDownlinkComponentAc.cpp.
|
protected |
Get the number of pingIn input ports
Definition at line 918 of file FileDownlinkComponentAc.cpp.
|
protected |
Get the number of pingOut output ports
Definition at line 984 of file FileDownlinkComponentAc.cpp.
|
protected |
Get the number of Run input ports
Definition at line 900 of file FileDownlinkComponentAc.cpp.
|
protected |
Get the number of SendFile input ports
Definition at line 906 of file FileDownlinkComponentAc.cpp.
|
protected |
Get the number of timeCaller output ports
Definition at line 956 of file FileDownlinkComponentAc.cpp.
|
protected |
Get the number of tlmOut output ports
Definition at line 962 of file FileDownlinkComponentAc.cpp.
|
protected |
void Svc::FileDownlinkComponentBase::init | ( | NATIVE_INT_TYPE | queueDepth, |
NATIVE_INT_TYPE | instance = 0 |
||
) |
Initialize FileDownlinkComponentBase object.
queueDepth | The queue depth |
instance | The instance number |
Definition at line 76 of file FileDownlinkComponentAc.cpp.
|
protected |
Check whether port bufferSendOut is connected
portNum | The port number |
Definition at line 1079 of file FileDownlinkComponentAc.cpp.
|
protected |
Check whether port cmdRegOut is connected
portNum | The port number |
Definition at line 994 of file FileDownlinkComponentAc.cpp.
|
protected |
Check whether port cmdResponseOut is connected
portNum | The port number |
Definition at line 1005 of file FileDownlinkComponentAc.cpp.
|
protected |
Check whether port eventOut is connected
portNum | The port number |
Definition at line 1016 of file FileDownlinkComponentAc.cpp.
|
protected |
Check whether port FileComplete is connected
portNum | The port number |
Definition at line 1068 of file FileDownlinkComponentAc.cpp.
|
protected |
Check whether port pingOut is connected
portNum | The port number |
Definition at line 1090 of file FileDownlinkComponentAc.cpp.
|
protected |
Check whether port timeCaller is connected
portNum | The port number |
Definition at line 1042 of file FileDownlinkComponentAc.cpp.
|
protected |
Check whether port tlmOut is connected
portNum | The port number |
Definition at line 1053 of file FileDownlinkComponentAc.cpp.
|
protectedvirtual |
Lock the guarded mutex.
Definition at line 2665 of file FileDownlinkComponentAc.cpp.
|
protected |
Log event DownlinkCanceled
The File Downlink component canceled downlink of a file
sourceFileName | The source file name |
destFileName | The destination file name |
Definition at line 1892 of file FileDownlinkComponentAc.cpp.
|
protected |
Log event FileSent
The File Downlink component successfully sent a file
sourceFileName | The source file name |
destFileName | The destination file name |
Definition at line 1804 of file FileDownlinkComponentAc.cpp.
|
protected |
Log event SendStarted
The File Downlink component started a file download.
fileSize | The source file size |
sourceFileName | The source filename |
destFileName | The destination filename |
Definition at line 2432 of file FileDownlinkComponentAc.cpp.
|
protected |
Log event DownlinkPartialFail
The File Downlink component has detected a timeout. Downlink has been canceled.
sourceFileName | The source filename |
destFileName | The destination file name |
startOffset | Starting file offset in bytes |
filesize | Size of source file |
Definition at line 2210 of file FileDownlinkComponentAc.cpp.
|
protected |
Log event DownlinkTimeout
The File Downlink component has detected a timeout. Downlink has been canceled.
sourceFileName | The source filename |
destFileName | The destination file name |
Definition at line 1980 of file FileDownlinkComponentAc.cpp.
|
protected |
Log event FileOpenError
An error occurred opening a file
fileName | The name of the file |
Definition at line 1628 of file FileDownlinkComponentAc.cpp.
|
protected |
Log event FileReadError
An error occurred reading a file
fileName | The name of the file |
status | The file status of read |
Definition at line 1706 of file FileDownlinkComponentAc.cpp.
|
protected |
Log event SendDataFail
The File Downlink component generated an error when trying to send a data packet.
sourceFileName | The source filename |
byteOffset | Byte offset |
Definition at line 2334 of file FileDownlinkComponentAc.cpp.
|
protected |
Log event DownlinkPartialWarning
The File Downlink component has detected a timeout. Downlink has been canceled.
startOffset | Starting file offset in bytes |
length | Number of bytes to downlink |
filesize | Size of source file |
sourceFileName | The source filename |
destFileName | The destination file name |
Definition at line 2068 of file FileDownlinkComponentAc.cpp.
|
protectedpure virtual |
Handler for input port pingIn.
portNum | The port number |
key | Value to return to pinger |
|
protected |
Handler base-class function for input port pingIn.
portNum | The port number |
key | Value to return to pinger |
Definition at line 1248 of file FileDownlinkComponentAc.cpp.
|
protectedvirtual |
Pre-message hook for async input port pingIn.
portNum | The port number |
key | Value to return to pinger |
Definition at line 1327 of file FileDownlinkComponentAc.cpp.
|
protected |
Invoke output port pingOut.
portNum | The port number |
key | Value to return to pinger |
Definition at line 1370 of file FileDownlinkComponentAc.cpp.
void Svc::FileDownlinkComponentBase::regCommands | ( | ) |
Register commands with the Command Dispatcher.
Connect the dispatcher first
Definition at line 851 of file FileDownlinkComponentAc.cpp.
|
protectedpure virtual |
Handler for input port Run.
portNum | The port number |
context | The call order |
|
protected |
Handler base-class function for input port Run.
portNum | The port number |
context | The call order |
Definition at line 1107 of file FileDownlinkComponentAc.cpp.
|
protectedvirtual |
Pre-message hook for async input port Run.
portNum | The port number |
context | The call order |
Definition at line 1309 of file FileDownlinkComponentAc.cpp.
|
protectedpure virtual |
Handler for command SendFile
Read a named file off the disk. Divide it into packets and send the packets for transmission to the ground.
opCode | The opcode |
cmdSeq | The command sequence number |
sourceFileName | The name of the on-board file to send |
destFileName | The name of the destination file on the ground |
|
protected |
Base-class handler function for command SendFile
Read a named file off the disk. Divide it into packets and send the packets for transmission to the ground.
opCode | The opcode |
cmdSeq | The command sequence number |
args | The command argument buffer |
Definition at line 1406 of file FileDownlinkComponentAc.cpp.
|
protectedpure virtual |
Handler for input port SendFile.
portNum | The port number |
sourceFileName | Path of file to downlink |
destFileName | Path to store downlinked file at |
offset | Amount of data in bytes to downlink from file. 0 to read until end of file |
length | Amount of data in bytes to downlink from file. 0 to read until end of file |
|
protected |
Handler base-class function for input port SendFile.
portNum | The port number |
sourceFileName | Path of file to downlink |
destFileName | Path to store downlinked file at |
offset | Amount of data in bytes to downlink from file. 0 to read until end of file |
length | Amount of data in bytes to downlink from file. 0 to read until end of file |
Definition at line 1160 of file FileDownlinkComponentAc.cpp.
|
protectedvirtual |
Pre-message hook for command SendFile.
opCode | The opcode |
cmdSeq | The command sequence number |
Definition at line 1591 of file FileDownlinkComponentAc.cpp.
|
protectedpure virtual |
Handler for command SendPartial
Read a named file off the disk from a starting position. Divide it into packets and send the packets for transmission to the ground.
opCode | The opcode |
cmdSeq | The command sequence number |
sourceFileName | The name of the on-board file to send |
destFileName | The name of the destination file on the ground |
startOffset | Starting offset of the source file |
length | Number of bytes to send from starting offset. Length of 0 implies until the end of the file |
|
protected |
Base-class handler function for command SendPartial
Read a named file off the disk from a starting position. Divide it into packets and send the packets for transmission to the ground.
opCode | The opcode |
cmdSeq | The command sequence number |
args | The command argument buffer |
Definition at line 1524 of file FileDownlinkComponentAc.cpp.
|
protectedvirtual |
Pre-message hook for command SendPartial.
opCode | The opcode |
cmdSeq | The command sequence number |
Definition at line 1613 of file FileDownlinkComponentAc.cpp.
void Svc::FileDownlinkComponentBase::set_bufferSendOut_OutputPort | ( | NATIVE_INT_TYPE | portNum, |
Fw::InputBufferSendPort * | port | ||
) |
Connect port to bufferSendOut[portNum].
portNum | The port number |
port | The input port |
Definition at line 673 of file FileDownlinkComponentAc.cpp.
void Svc::FileDownlinkComponentBase::set_cmdRegOut_OutputPort | ( | NATIVE_INT_TYPE | portNum, |
Fw::InputCmdRegPort * | port | ||
) |
Connect port to cmdRegOut[portNum].
portNum | The port number |
port | The input port |
Definition at line 567 of file FileDownlinkComponentAc.cpp.
void Svc::FileDownlinkComponentBase::set_cmdResponseOut_OutputPort | ( | NATIVE_INT_TYPE | portNum, |
Fw::InputCmdResponsePort * | port | ||
) |
Connect port to cmdResponseOut[portNum].
portNum | The port number |
port | The input port |
Definition at line 581 of file FileDownlinkComponentAc.cpp.
void Svc::FileDownlinkComponentBase::set_eventOut_OutputPort | ( | NATIVE_INT_TYPE | portNum, |
Fw::InputLogPort * | port | ||
) |
Connect port to eventOut[portNum].
portNum | The port number |
port | The input port |
Definition at line 595 of file FileDownlinkComponentAc.cpp.
void Svc::FileDownlinkComponentBase::set_FileComplete_OutputPort | ( | NATIVE_INT_TYPE | portNum, |
Svc::InputSendFileCompletePort * | port | ||
) |
Connect port to FileComplete[portNum].
portNum | The port number |
port | The input port |
Definition at line 659 of file FileDownlinkComponentAc.cpp.
void Svc::FileDownlinkComponentBase::set_pingOut_OutputPort | ( | NATIVE_INT_TYPE | portNum, |
Svc::InputPingPort * | port | ||
) |
Connect port to pingOut[portNum].
portNum | The port number |
port | The input port |
Definition at line 687 of file FileDownlinkComponentAc.cpp.
void Svc::FileDownlinkComponentBase::set_timeCaller_OutputPort | ( | NATIVE_INT_TYPE | portNum, |
Fw::InputTimePort * | port | ||
) |
Connect port to timeCaller[portNum].
portNum | The port number |
port | The input port |
Definition at line 627 of file FileDownlinkComponentAc.cpp.
void Svc::FileDownlinkComponentBase::set_tlmOut_OutputPort | ( | NATIVE_INT_TYPE | portNum, |
Fw::InputTlmPort * | port | ||
) |
Connect port to tlmOut[portNum].
portNum | The port number |
port | The input port |
Definition at line 641 of file FileDownlinkComponentAc.cpp.
|
protected |
Write telemetry channel FilesSent
The total number of files sent
arg | The telemetry value |
_tlmTime | Timestamp. Default: unspecified, request from getTime port |
Definition at line 2542 of file FileDownlinkComponentAc.cpp.
|
protected |
Write telemetry channel PacketsSent
The total number of packets sent
arg | The telemetry value |
_tlmTime | Timestamp. Default: unspecified, request from getTime port |
Definition at line 2575 of file FileDownlinkComponentAc.cpp.
|
protected |
Write telemetry channel Warnings
The total number of warnings
arg | The telemetry value |
_tlmTime | Timestamp. Default: unspecified, request from getTime port |
Definition at line 2608 of file FileDownlinkComponentAc.cpp.
|
protectedvirtual |
Unlock the guarded mutex.
Definition at line 2671 of file FileDownlinkComponentAc.cpp.
|
friend |
Friend class for white-box testing.
Definition at line 48 of file FileDownlinkComponentAc.hpp.