![]() |
F´ Flight Software - C/C++ Documentation NASA-v1.6.0
A framework for building embedded system applications to NASA flight quality standards.
|
Auto-generated base for FileManager component. More...
#include <docs-cache/F-Prime/Svc/FileManager/FileManagerComponentAc.hpp>
Public Member Functions | |
| void | init (NATIVE_INT_TYPE queueDepth, NATIVE_INT_TYPE instance=0) |
| Initialize FileManagerComponentBase object. | |
| Fw::InputCmdPort * | get_cmdIn_InputPort (NATIVE_INT_TYPE portNum) |
| Svc::InputPingPort * | get_pingIn_InputPort (NATIVE_INT_TYPE portNum) |
| void | set_cmdRegOut_OutputPort (NATIVE_INT_TYPE portNum, Fw::InputCmdRegPort *port) |
| Connect port to cmdRegOut[portNum]. | |
| void | set_cmdResponseOut_OutputPort (NATIVE_INT_TYPE portNum, Fw::InputCmdResponsePort *port) |
| Connect port to cmdResponseOut[portNum]. | |
| void | set_eventOut_OutputPort (NATIVE_INT_TYPE portNum, Fw::InputLogPort *port) |
| Connect port to eventOut[portNum]. | |
| void | set_timeCaller_OutputPort (NATIVE_INT_TYPE portNum, Fw::InputTimePort *port) |
| Connect port to timeCaller[portNum]. | |
| void | set_tlmOut_OutputPort (NATIVE_INT_TYPE portNum, Fw::InputTlmPort *port) |
| Connect port to tlmOut[portNum]. | |
| void | set_pingOut_OutputPort (NATIVE_INT_TYPE portNum, Svc::InputPingPort *port) |
| Connect port to pingOut[portNum]. | |
| void | regCommands () |
| Register commands with the Command Dispatcher. | |
Public Member Functions inherited from Fw::ActiveComponentBase | |
| void | start (NATIVE_UINT_TYPE priority=Os::Task::TASK_DEFAULT, NATIVE_UINT_TYPE stackSize=Os::Task::TASK_DEFAULT, NATIVE_UINT_TYPE cpuAffinity=Os::Task::TASK_DEFAULT, NATIVE_UINT_TYPE identifier=Os::Task::TASK_DEFAULT) |
| called by instantiator when task is to be started | |
| DEPRECATED (void start(NATIVE_INT_TYPE identifier, NATIVE_INT_TYPE priority, NATIVE_INT_TYPE stackSize, NATIVE_INT_TYPE cpuAffinity=-1), "Please switch to start(NATIVE_UINT_TYPE priority, NATIVE_UINT_TYPE stackSize, NATIVE_UINT_TYPE cpuAffinity, NATIVE_UINT_TYPE identifier)") | |
| called by instantiator when task is to be started | |
| void | exit () |
| exit task in active component | |
| Os::Task::TaskStatus | join (void **value_ptr) |
| provide return value of thread if value_ptr is not NULL | |
Public Member Functions inherited from Fw::PassiveComponentBase | |
| void | setIdBase (const U32) |
| Set the ID base. | |
| U32 | getIdBase () const |
Protected Member Functions | |
| FileManagerComponentBase (const char *compName="") | |
| Construct FileManagerComponentBase object. | |
| virtual | ~FileManagerComponentBase () |
| Destroy FileManagerComponentBase object. | |
| NATIVE_INT_TYPE | getNum_cmdIn_InputPorts () |
| NATIVE_INT_TYPE | getNum_pingIn_InputPorts () |
| NATIVE_INT_TYPE | getNum_cmdRegOut_OutputPorts () |
| NATIVE_INT_TYPE | getNum_cmdResponseOut_OutputPorts () |
| NATIVE_INT_TYPE | getNum_eventOut_OutputPorts () |
| NATIVE_INT_TYPE | getNum_timeCaller_OutputPorts () |
| NATIVE_INT_TYPE | getNum_tlmOut_OutputPorts () |
| NATIVE_INT_TYPE | getNum_pingOut_OutputPorts () |
| 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_pingOut_OutputPort (NATIVE_INT_TYPE portNum) |
| virtual void | pingIn_handler (NATIVE_INT_TYPE portNum, U32 key)=0 |
| Handler for input port pingIn. | |
| void | pingIn_handlerBase (NATIVE_INT_TYPE portNum, U32 key) |
| Handler base-class function for input port pingIn. | |
| virtual void | pingIn_preMsgHook (NATIVE_INT_TYPE portNum, U32 key) |
| Pre-message hook for async input port pingIn. | |
| void | pingOut_out (NATIVE_INT_TYPE portNum, U32 key) |
| Invoke output port pingOut. | |
| void | cmdResponse_out (FwOpcodeType opCode, U32 cmdSeq, Fw::CmdResponse response) |
| Emit command response. | |
| virtual void | CreateDirectory_cmdHandler (FwOpcodeType opCode, U32 cmdSeq, const Fw::CmdStringArg &dirName)=0 |
| virtual void | MoveFile_cmdHandler (FwOpcodeType opCode, U32 cmdSeq, const Fw::CmdStringArg &sourceFileName, const Fw::CmdStringArg &destFileName)=0 |
| virtual void | RemoveDirectory_cmdHandler (FwOpcodeType opCode, U32 cmdSeq, const Fw::CmdStringArg &dirName)=0 |
| virtual void | RemoveFile_cmdHandler (FwOpcodeType opCode, U32 cmdSeq, const Fw::CmdStringArg &fileName, bool ignoreErrors)=0 |
| virtual void | ShellCommand_cmdHandler (FwOpcodeType opCode, U32 cmdSeq, const Fw::CmdStringArg &command, const Fw::CmdStringArg &logFileName)=0 |
| virtual void | AppendFile_cmdHandler (FwOpcodeType opCode, U32 cmdSeq, const Fw::CmdStringArg &source, const Fw::CmdStringArg &target)=0 |
| virtual void | FileSize_cmdHandler (FwOpcodeType opCode, U32 cmdSeq, const Fw::CmdStringArg &fileName)=0 |
| Handler for command FileSize. | |
| void | CreateDirectory_cmdHandlerBase (FwOpcodeType opCode, U32 cmdSeq, Fw::CmdArgBuffer &args) |
| void | MoveFile_cmdHandlerBase (FwOpcodeType opCode, U32 cmdSeq, Fw::CmdArgBuffer &args) |
| void | RemoveDirectory_cmdHandlerBase (FwOpcodeType opCode, U32 cmdSeq, Fw::CmdArgBuffer &args) |
| void | RemoveFile_cmdHandlerBase (FwOpcodeType opCode, U32 cmdSeq, Fw::CmdArgBuffer &args) |
| void | ShellCommand_cmdHandlerBase (FwOpcodeType opCode, U32 cmdSeq, Fw::CmdArgBuffer &args) |
| void | AppendFile_cmdHandlerBase (FwOpcodeType opCode, U32 cmdSeq, Fw::CmdArgBuffer &args) |
| void | FileSize_cmdHandlerBase (FwOpcodeType opCode, U32 cmdSeq, Fw::CmdArgBuffer &args) |
| Base-class handler function for command FileSize. | |
| virtual void | CreateDirectory_preMsgHook (FwOpcodeType opCode, U32 cmdSeq) |
| Pre-message hook for command CreateDirectory. | |
| virtual void | MoveFile_preMsgHook (FwOpcodeType opCode, U32 cmdSeq) |
| Pre-message hook for command MoveFile. | |
| virtual void | RemoveDirectory_preMsgHook (FwOpcodeType opCode, U32 cmdSeq) |
| Pre-message hook for command RemoveDirectory. | |
| virtual void | RemoveFile_preMsgHook (FwOpcodeType opCode, U32 cmdSeq) |
| Pre-message hook for command RemoveFile. | |
| virtual void | ShellCommand_preMsgHook (FwOpcodeType opCode, U32 cmdSeq) |
| Pre-message hook for command ShellCommand. | |
| virtual void | AppendFile_preMsgHook (FwOpcodeType opCode, U32 cmdSeq) |
| Pre-message hook for command AppendFile. | |
| virtual void | FileSize_preMsgHook (FwOpcodeType opCode, U32 cmdSeq) |
| Pre-message hook for command FileSize. | |
| void | log_WARNING_HI_DirectoryCreateError (const Fw::LogStringArg &dirName, U32 status) |
| void | log_WARNING_HI_DirectoryRemoveError (const Fw::LogStringArg &dirName, U32 status) |
| void | log_WARNING_HI_FileMoveError (const Fw::LogStringArg &sourceFileName, const Fw::LogStringArg &destFileName, U32 status) |
| void | log_WARNING_HI_FileRemoveError (const Fw::LogStringArg &fileName, U32 status) |
| void | log_WARNING_HI_ShellCommandFailed (const Fw::LogStringArg &command, U32 status) |
| void | log_WARNING_HI_AppendFileFailed (const Fw::LogStringArg &source, const Fw::LogStringArg &target, U32 status) |
| void | log_ACTIVITY_HI_AppendFileSucceeded (const Fw::LogStringArg &source, const Fw::LogStringArg &target) |
| void | log_ACTIVITY_HI_ShellCommandSucceeded (const Fw::LogStringArg &command) |
| void | log_ACTIVITY_HI_CreateDirectorySucceeded (const Fw::LogStringArg &dirName) |
| void | log_ACTIVITY_HI_RemoveDirectorySucceeded (const Fw::LogStringArg &dirName) |
| void | log_ACTIVITY_HI_MoveFileSucceeded (const Fw::LogStringArg &sourceFileName, const Fw::LogStringArg &destFileName) |
| void | log_ACTIVITY_HI_RemoveFileSucceeded (const Fw::LogStringArg &fileName) |
| void | log_ACTIVITY_HI_AppendFileStarted (const Fw::LogStringArg &source, const Fw::LogStringArg &target) |
| void | log_ACTIVITY_HI_ShellCommandStarted (const Fw::LogStringArg &command) |
| void | log_ACTIVITY_HI_CreateDirectoryStarted (const Fw::LogStringArg &dirName) |
| void | log_ACTIVITY_HI_RemoveDirectoryStarted (const Fw::LogStringArg &dirName) |
| void | log_ACTIVITY_HI_MoveFileStarted (const Fw::LogStringArg &sourceFileName, const Fw::LogStringArg &destFileName) |
| void | log_ACTIVITY_HI_RemoveFileStarted (const Fw::LogStringArg &fileName) |
| void | log_ACTIVITY_HI_FileSizeSucceeded (const Fw::LogStringArg &fileName, U64 size) |
| void | log_WARNING_HI_FileSizeError (const Fw::LogStringArg &fileName, U32 status) |
| void | log_ACTIVITY_HI_FileSizeStarted (const Fw::LogStringArg &fileName) |
| void | tlmWrite_CommandsExecuted (U32 arg, Fw::Time _tlmTime=Fw::Time()) |
| void | tlmWrite_Errors (U32 arg, Fw::Time _tlmTime=Fw::Time()) |
| Fw::Time | getTime () |
Protected Member Functions inherited from Fw::ActiveComponentBase | |
| ActiveComponentBase (const char *name) | |
| Constructor. | |
| virtual | ~ActiveComponentBase () |
| Destructor. | |
| void | init (NATIVE_INT_TYPE instance) |
| initialization code | |
| virtual void | preamble () |
| A function that will be called before the event loop is entered. | |
| virtual void | loop () |
| The function that will loop dispatching messages. | |
| virtual void | finalizer () |
| A function that will be called after exiting the loop. | |
Protected Member Functions inherited from Fw::QueuedComponentBase | |
| QueuedComponentBase (const char *name) | |
| Constructor. | |
| virtual | ~QueuedComponentBase () |
| Destructor. | |
| void | init (NATIVE_INT_TYPE instance) |
| initialization function | |
| Os::Queue::QueueStatus | createQueue (NATIVE_INT_TYPE depth, NATIVE_INT_TYPE msgSize) |
| NATIVE_INT_TYPE | getNumMsgsDropped () |
| return number of messages dropped | |
| void | incNumMsgDropped () |
| increment the number of messages dropped | |
Protected Member Functions inherited from Fw::PassiveComponentBase | |
| PassiveComponentBase (const char *name) | |
| Named constructor. | |
| virtual | ~PassiveComponentBase () |
| Destructor. | |
| void | init (NATIVE_INT_TYPE instance) |
| Initialization function. | |
| NATIVE_INT_TYPE | getInstance () const |
Protected Member Functions inherited from Fw::ObjBase | |
| ObjBase (const char *name) | |
| ObjBase constructor. | |
| virtual | ~ObjBase () |
| Destructor. | |
| void | init () |
| Object initializer. | |
Friends | |
| class | FileManagerComponentBaseFriend |
| Friend class for white-box testing. | |
Additional Inherited Members | |
Public Types inherited from Fw::ActiveComponentBase | |
| enum | { ACTIVE_COMPONENT_EXIT } |
Public Types inherited from Fw::QueuedComponentBase | |
| enum | MsgDispatchStatus { MSG_DISPATCH_OK , MSG_DISPATCH_EMPTY , MSG_DISPATCH_ERROR , MSG_DISPATCH_EXIT } |
Protected Attributes inherited from Fw::ActiveComponentBase | |
| Os::Task | m_task |
| task object for active component | |
Protected Attributes inherited from Fw::QueuedComponentBase | |
| Os::Queue | m_queue |
| queue object for active component | |
Auto-generated base for FileManager component.
A component for managing files
Definition at line 34 of file FileManagerComponentAc.hpp.
|
protected |
Enumerations for numbers of special input ports.
| Enumerator | |
|---|---|
| NUM_CMDIN_INPUT_PORTS | |
Definition at line 52 of file FileManagerComponentAc.hpp.
|
protected |
Enumerations for numbers of typed input ports.
| Enumerator | |
|---|---|
| NUM_PINGIN_INPUT_PORTS | |
Definition at line 57 of file FileManagerComponentAc.hpp.
|
protected |
Enumerations for numbers of special output ports.
| Enumerator | |
|---|---|
| NUM_LOGTEXT_OUTPUT_PORTS | |
| NUM_CMDREGOUT_OUTPUT_PORTS | |
| NUM_CMDRESPONSEOUT_OUTPUT_PORTS | |
| NUM_EVENTOUT_OUTPUT_PORTS | |
| NUM_TIMECALLER_OUTPUT_PORTS | |
| NUM_TLMOUT_OUTPUT_PORTS | |
Definition at line 62 of file FileManagerComponentAc.hpp.
|
protected |
Enumerations for numbers of typed output ports.
| Enumerator | |
|---|---|
| NUM_PINGOUT_OUTPUT_PORTS | |
Definition at line 72 of file FileManagerComponentAc.hpp.
|
protected |
Command opcodes.
Definition at line 77 of file FileManagerComponentAc.hpp.
|
protected |
Event IDs.
Definition at line 88 of file FileManagerComponentAc.hpp.
|
protected |
Channel IDs.
| Enumerator | |
|---|---|
| CHANNELID_COMMANDSEXECUTED | Channel ID for CommandsExecuted. |
| CHANNELID_ERRORS | Channel ID for Errors. |
Definition at line 113 of file FileManagerComponentAc.hpp.
|
protected |
Construct FileManagerComponentBase object.
| compName | The component name |
Definition at line 595 of file FileManagerComponentAc.cpp.
|
protectedvirtual |
Destroy FileManagerComponentBase object.
Definition at line 602 of file FileManagerComponentAc.cpp.
|
protectedpure virtual |
Handler for command AppendFile
Append 1 file's contents to the end of another.
| opCode | The opcode |
| cmdSeq | The command sequence number |
| source | The name of the file to take content from |
| target | The name of the file to append to |
|
protected |
Base-class handler function for command AppendFile
Append 1 file's contents to the end of another.
| opCode | The opcode |
| cmdSeq | The command sequence number |
| args | The command argument buffer |
Definition at line 1182 of file FileManagerComponentAc.cpp.
|
protectedvirtual |
Pre-message hook for command AppendFile.
| opCode | The opcode |
| cmdSeq | The command sequence number |
Definition at line 1353 of file FileManagerComponentAc.cpp.
|
protected |
Emit command response.
| opCode | The opcode |
| cmdSeq | The command sequence number |
| response | The command response |
Definition at line 870 of file FileManagerComponentAc.cpp.
|
protectedpure virtual |
Handler for command CreateDirectory
Create a directory
| opCode | The opcode |
| cmdSeq | The command sequence number |
| dirName | The directory to create |
|
protected |
Base-class handler function for command CreateDirectory
Create a directory
| opCode | The opcode |
| cmdSeq | The command sequence number |
| args | The command argument buffer |
Definition at line 887 of file FileManagerComponentAc.cpp.
|
protectedvirtual |
Pre-message hook for command CreateDirectory.
| opCode | The opcode |
| cmdSeq | The command sequence number |
Definition at line 1308 of file FileManagerComponentAc.cpp.
|
protectedpure virtual |
Handler for command FileSize.
| opCode | The opcode |
| cmdSeq | The command sequence number |
| fileName | The file to get the size of |
|
protected |
Base-class handler function for command FileSize.
| opCode | The opcode |
| cmdSeq | The command sequence number |
| args | The command argument buffer |
Definition at line 1241 of file FileManagerComponentAc.cpp.
|
protectedvirtual |
Pre-message hook for command FileSize.
| opCode | The opcode |
| cmdSeq | The command sequence number |
Definition at line 1362 of file FileManagerComponentAc.cpp.
| Fw::InputCmdPort * Svc::FileManagerComponentBase::get_cmdIn_InputPort | ( | NATIVE_INT_TYPE | portNum | ) |
Get special input port at index
| portNum | The port number |
Definition at line 299 of file FileManagerComponentAc.cpp.
| Svc::InputPingPort * Svc::FileManagerComponentBase::get_pingIn_InputPort | ( | NATIVE_INT_TYPE | portNum | ) |
Get typed input port at index
| portNum | The port number |
Definition at line 314 of file FileManagerComponentAc.cpp.
|
protected |
Get the number of cmdIn input ports
Definition at line 612 of file FileManagerComponentAc.cpp.
|
protected |
Get the number of cmdRegOut output ports
Definition at line 642 of file FileManagerComponentAc.cpp.
|
protected |
Get the number of cmdResponseOut output ports
Definition at line 648 of file FileManagerComponentAc.cpp.
|
protected |
Get the number of eventOut output ports
Definition at line 654 of file FileManagerComponentAc.cpp.
|
protected |
Get the number of pingIn input ports
Definition at line 622 of file FileManagerComponentAc.cpp.
|
protected |
Get the number of pingOut output ports
Definition at line 676 of file FileManagerComponentAc.cpp.
|
protected |
Get the number of timeCaller output ports
Definition at line 660 of file FileManagerComponentAc.cpp.
|
protected |
Get the number of tlmOut output ports
Definition at line 666 of file FileManagerComponentAc.cpp.
|
protected |
| void Svc::FileManagerComponentBase::init | ( | NATIVE_INT_TYPE | queueDepth, |
| NATIVE_INT_TYPE | instance = 0 ) |
Initialize FileManagerComponentBase object.
| queueDepth | The queue depth |
| instance | The instance number |
Definition at line 75 of file FileManagerComponentAc.cpp.
|
protected |
Check whether port cmdRegOut is connected
| portNum | The port number |
Definition at line 701 of file FileManagerComponentAc.cpp.
|
protected |
Check whether port cmdResponseOut is connected
| portNum | The port number |
Definition at line 712 of file FileManagerComponentAc.cpp.
|
protected |
Check whether port eventOut is connected
| portNum | The port number |
Definition at line 723 of file FileManagerComponentAc.cpp.
|
protected |
Check whether port pingOut is connected
| portNum | The port number |
Definition at line 760 of file FileManagerComponentAc.cpp.
|
protected |
Check whether port timeCaller is connected
| portNum | The port number |
Definition at line 734 of file FileManagerComponentAc.cpp.
|
protected |
Check whether port tlmOut is connected
| portNum | The port number |
Definition at line 745 of file FileManagerComponentAc.cpp.
|
protected |
Log event AppendFileStarted
The File System component appended 2 files without error
| source | The name of the file being read from |
| target | The name of the file to append to |
Definition at line 2467 of file FileManagerComponentAc.cpp.
|
protected |
Log event AppendFileSucceeded
The File System component appended 2 files without error
| source | The name of the file being read from |
| target | The name of the file to append to |
Definition at line 1979 of file FileManagerComponentAc.cpp.
|
protected |
Log event CreateDirectoryStarted
The File System component began creating a new directory
| dirName | The name of the directory |
Definition at line 2633 of file FileManagerComponentAc.cpp.
|
protected |
Log event CreateDirectorySucceeded
The File System component created a new directory without error
| dirName | The name of the directory |
Definition at line 2145 of file FileManagerComponentAc.cpp.
|
protected |
Log event FileSizeStarted
Checking file size
| fileName | The name of the file |
Definition at line 3151 of file FileManagerComponentAc.cpp.
|
protected |
Log event FileSizeSucceeded
File size response
| fileName | The name of the file |
| size | The size of the file in bytes |
Definition at line 2955 of file FileManagerComponentAc.cpp.
|
protected |
Log event MoveFileStarted
The File System component began moving a file to a new location
| sourceFileName | The name of the source file |
| destFileName | The name of the destination file |
Definition at line 2789 of file FileManagerComponentAc.cpp.
|
protected |
Log event MoveFileSucceeded
The File System component moved a file to a new location without error
| sourceFileName | The name of the source file |
| destFileName | The name of the destination file |
Definition at line 2301 of file FileManagerComponentAc.cpp.
|
protected |
Log event RemoveDirectoryStarted
The File System component began deleting a directory
| dirName | The name of the directory |
Definition at line 2711 of file FileManagerComponentAc.cpp.
|
protected |
Log event RemoveDirectorySucceeded
The File System component deleted and existing directory without error
| dirName | The name of the directory |
Definition at line 2223 of file FileManagerComponentAc.cpp.
|
protected |
Log event RemoveFileStarted
The File System component began deleting an existing file
| fileName | The name of the file |
Definition at line 2877 of file FileManagerComponentAc.cpp.
|
protected |
Log event RemoveFileSucceeded
The File System component deleted an existing file without error
| fileName | The name of the file |
Definition at line 2389 of file FileManagerComponentAc.cpp.
|
protected |
Log event ShellCommandStarted
The File System component began executing a shell command
| command | The command string |
Definition at line 2555 of file FileManagerComponentAc.cpp.
|
protected |
Log event ShellCommandSucceeded
The File System component executed a shell command that returned status zero
| command | The command string |
Definition at line 2067 of file FileManagerComponentAc.cpp.
|
protected |
Log event AppendFileFailed
The File System component returned status non-zero when trying to append 2 files together
| source | The name of the file being read from |
| target | The name of the file to append to |
| status | The error status |
Definition at line 1873 of file FileManagerComponentAc.cpp.
|
protected |
Log event DirectoryCreateError
An error occurred while attempting to create a directory
| dirName | The name of the directory |
| status | The error status |
Definition at line 1375 of file FileManagerComponentAc.cpp.
|
protected |
Log event DirectoryRemoveError
An error occurred while attempting to remove a directory
| dirName | The name of the directory |
| status | The error status |
Definition at line 1473 of file FileManagerComponentAc.cpp.
|
protected |
Log event FileMoveError
An error occurred while attempting to move a file
| sourceFileName | The name of the source file |
| destFileName | The name of the destination file |
| status | The error status |
Definition at line 1571 of file FileManagerComponentAc.cpp.
|
protected |
Log event FileRemoveError
An error occurred while attempting to remove a file
| fileName | The name of the file |
| status | The error status |
Definition at line 1677 of file FileManagerComponentAc.cpp.
|
protected |
Log event FileSizeError
Failed to get file size
| fileName | The name of the file |
| status | The error status |
Definition at line 3053 of file FileManagerComponentAc.cpp.
|
protected |
Log event ShellCommandFailed
The File System component executed a shell command that returned status non-zero
| command | The command string |
| status | The status code |
Definition at line 1775 of file FileManagerComponentAc.cpp.
|
protectedpure virtual |
Handler for command MoveFile
Move a file
| opCode | The opcode |
| cmdSeq | The command sequence number |
| sourceFileName | The source file name |
| destFileName | The destination file name |
|
protected |
Base-class handler function for command MoveFile
Move a file
| opCode | The opcode |
| cmdSeq | The command sequence number |
| args | The command argument buffer |
Definition at line 946 of file FileManagerComponentAc.cpp.
|
protectedvirtual |
Pre-message hook for command MoveFile.
| opCode | The opcode |
| cmdSeq | The command sequence number |
Definition at line 1317 of file FileManagerComponentAc.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 777 of file FileManagerComponentAc.cpp.
|
protectedvirtual |
Pre-message hook for async input port pingIn.
| portNum | The port number |
| key | Value to return to pinger |
Definition at line 838 of file FileManagerComponentAc.cpp.
|
protected |
Invoke output port pingOut.
| portNum | The port number |
| key | Value to return to pinger |
Definition at line 851 of file FileManagerComponentAc.cpp.
| void Svc::FileManagerComponentBase::regCommands | ( | ) |
Register commands with the Command Dispatcher.
Connect the dispatcher first
Definition at line 557 of file FileManagerComponentAc.cpp.
|
protectedpure virtual |
Handler for command RemoveDirectory
Remove a directory, which must be empty
| opCode | The opcode |
| cmdSeq | The command sequence number |
| dirName | The directory to remove |
|
protected |
Base-class handler function for command RemoveDirectory
Remove a directory, which must be empty
| opCode | The opcode |
| cmdSeq | The command sequence number |
| args | The command argument buffer |
Definition at line 1005 of file FileManagerComponentAc.cpp.
|
protectedvirtual |
Pre-message hook for command RemoveDirectory.
| opCode | The opcode |
| cmdSeq | The command sequence number |
Definition at line 1326 of file FileManagerComponentAc.cpp.
|
protectedpure virtual |
Handler for command RemoveFile
Remove a file
| opCode | The opcode |
| cmdSeq | The command sequence number |
| fileName | The file to remove |
| ignoreErrors | Ignore non-existent files |
|
protected |
Base-class handler function for command RemoveFile
Remove a file
| opCode | The opcode |
| cmdSeq | The command sequence number |
| args | The command argument buffer |
Definition at line 1064 of file FileManagerComponentAc.cpp.
|
protectedvirtual |
Pre-message hook for command RemoveFile.
| opCode | The opcode |
| cmdSeq | The command sequence number |
Definition at line 1335 of file FileManagerComponentAc.cpp.
| void Svc::FileManagerComponentBase::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 347 of file FileManagerComponentAc.cpp.
| void Svc::FileManagerComponentBase::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 361 of file FileManagerComponentAc.cpp.
| void Svc::FileManagerComponentBase::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 375 of file FileManagerComponentAc.cpp.
| void Svc::FileManagerComponentBase::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 421 of file FileManagerComponentAc.cpp.
| void Svc::FileManagerComponentBase::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 389 of file FileManagerComponentAc.cpp.
| void Svc::FileManagerComponentBase::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 403 of file FileManagerComponentAc.cpp.
|
protectedpure virtual |
Handler for command ShellCommand
Perform a Linux shell command and write the output to a log file.
| opCode | The opcode |
| cmdSeq | The command sequence number |
| command | The shell command string |
| logFileName | The name of the log file |
|
protected |
Base-class handler function for command ShellCommand
Perform a Linux shell command and write the output to a log file.
| opCode | The opcode |
| cmdSeq | The command sequence number |
| args | The command argument buffer |
Definition at line 1123 of file FileManagerComponentAc.cpp.
|
protectedvirtual |
Pre-message hook for command ShellCommand.
| opCode | The opcode |
| cmdSeq | The command sequence number |
Definition at line 1344 of file FileManagerComponentAc.cpp.
|
protected |
Write telemetry channel CommandsExecuted
The total number of commands successfully executed
| arg | The telemetry value |
| _tlmTime | Timestamp. Default: unspecified, request from getTime port |
Definition at line 3233 of file FileManagerComponentAc.cpp.
|
protected |
Write telemetry channel Errors
The total number of errors
| arg | The telemetry value |
| _tlmTime | Timestamp. Default: unspecified, request from getTime port |
Definition at line 3266 of file FileManagerComponentAc.cpp.
|
friend |
Friend class for white-box testing.
Definition at line 43 of file FileManagerComponentAc.hpp.