|
F´ Flight Software - C/C++ Documentation
NASA-v1.5.0
A framework for building embedded system applications to NASA flight quality standards.
|
#include <Svc/FileManager/FileManager.hpp>
Definition at line 21 of file FileManager.hpp.
Construct object FileManager
| compName | The component name |
Definition at line 26 of file FileManager.cpp.
| Svc::FileManager::~FileManager | ( | void | ) |
Destroy object FileManager
Definition at line 46 of file FileManager.cpp.
|
virtual |
Implementation for ConcatFiles command handler Append 1 file's contents to the end of another.
| opCode | The opcode |
| cmdSeq | The command sequence number |
| target | The name of the file to take content from The name of the file to append to |
Implements Svc::FileManagerComponentBase.
Definition at line 185 of file FileManager.cpp.
| void Svc::FileManager::emitTelemetry | ( | const Os::FileSystem::Status | status | ) |
Emit telemetry based on status
| status | The status |
Definition at line 246 of file FileManager.cpp.
| void Svc::FileManager::init | ( | const NATIVE_INT_TYPE | queueDepth, |
| const NATIVE_INT_TYPE | instance | ||
| ) |
Initialize object FileManager
| queueDepth | The queue depth |
| instance | The instance number |
Definition at line 37 of file FileManager.cpp.
|
virtual |
Implementation for MoveFile command handler
| opCode | The opcode |
| cmdSeq | The command sequence number |
| sourceFileName | The source file name |
| destFileName | The destination file name |
Implements Svc::FileManagerComponentBase.
Definition at line 102 of file FileManager.cpp.
| void Svc::FileManager::pingIn_handler | ( | const NATIVE_INT_TYPE | portNum, |
| U32 | key | ||
| ) |
Handler implementation for pingIn
| portNum | The port number |
| key | Value to return to pinger |
Definition at line 216 of file FileManager.cpp.
|
virtual |
Implementation for RemoveDirectory command handler
| opCode | The opcode |
| cmdSeq | The command sequence number |
| dirName | The directory to remove |
Implements Svc::FileManagerComponentBase.
Definition at line 129 of file FileManager.cpp.
|
virtual |
Implementation for RemoveFile command handler
| opCode | The opcode |
| cmdSeq | The command sequence number |
| fileName | The file to remove |
Implements Svc::FileManagerComponentBase.
Definition at line 79 of file FileManager.cpp.
| void Svc::FileManager::sendCommandResponse | ( | const FwOpcodeType | opCode, |
| const U32 | cmdSeq, | ||
| const Os::FileSystem::Status | status | ||
| ) |
Send command response based on status
| opCode | The opcode |
| cmdSeq | The command sequence value |
| status | The status |
Definition at line 259 of file FileManager.cpp.
|
virtual |
Implementation for ShellCommand command handler
| opCode | The opcode |
| cmdSeq | The command sequence number |
| command | The shell command string |
| logFileName | The name of the log file |
Implements Svc::FileManagerComponentBase.
Definition at line 152 of file FileManager.cpp.
| PRIVATE Svc::FileManager::__pad0__ |
The opcode.
Definition at line 48 of file FileManager.hpp.
| PRIVATE Svc::FileManager::__pad1__ |
The command.
Definition at line 112 of file FileManager.hpp.
| PRIVATE Svc::FileManager::__pad2__ |
Definition at line 139 of file FileManager.hpp.
The command sequence number.
Definition at line 58 of file FileManager.hpp.
| PRIVATE const Fw::CmdStringArg& logFileName Svc::FileManager::const |
< The log file name
Definition at line 123 of file FileManager.hpp.
| PRIVATE const U32 const Fw::CmdStringArg& Svc::FileManager::dirName |
< The directory to create
Definition at line 59 of file FileManager.hpp.
| U32 Svc::FileManager::errorCount |
The total number of errors
Definition at line 151 of file FileManager.hpp.