F´ Flight Software - C/C++ Documentation
devel
A framework for building embedded system applications to NASA flight quality standards.
|
#include <Svc/FileDownlinkPorts/SendFileRequestPortAc.hpp>
Public Member Functions | |
OutputSendFileRequestPort () | |
Constructor. More... | |
void | init () |
Initialization function. More... | |
void | addCallPort (InputSendFileRequestPort *callPort) |
Register an input port. More... | |
Svc::SendFileResponse | invoke (const Fw::StringBase &sourceFileName, const Fw::StringBase &destFileName, U32 offset, U32 length) |
Invoke a port interface. More... | |
Public Member Functions inherited from Fw::PortBase | |
bool | isConnected () |
Additional Inherited Members | |
Protected Member Functions inherited from Fw::OutputPortBase | |
OutputPortBase () | |
virtual | ~OutputPortBase () |
Protected Member Functions inherited from Fw::PortBase | |
PortBase () | |
virtual | ~PortBase () |
Protected Member Functions inherited from Fw::ObjBase | |
ObjBase (const char *name) | |
ObjBase constructor. More... | |
virtual | ~ObjBase () |
Destructor. More... | |
void | init () |
Object initializer. More... | |
Protected Attributes inherited from Fw::PortBase | |
Fw::ObjBase * | m_connObj |
Output SendFileRequest port Request that FileDownlink downlink a file
Definition at line 107 of file SendFileRequestPortAc.hpp.
Svc::OutputSendFileRequestPort::OutputSendFileRequestPort | ( | ) |
Constructor.
Definition at line 81 of file SendFileRequestPortAc.cpp.
void Svc::OutputSendFileRequestPort::addCallPort | ( | InputSendFileRequestPort * | callPort | ) |
Register an input port.
callPort | The input port |
Definition at line 95 of file SendFileRequestPortAc.cpp.
|
virtual |
Initialization function.
Reimplemented from Fw::OutputPortBase.
Definition at line 89 of file SendFileRequestPortAc.cpp.
Svc::SendFileResponse Svc::OutputSendFileRequestPort::invoke | ( | const Fw::StringBase & | sourceFileName, |
const Fw::StringBase & | destFileName, | ||
U32 | offset, | ||
U32 | length | ||
) |
Invoke a port interface.
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 108 of file SendFileRequestPortAc.cpp.