F´ Flight Software - C/C++ Documentation  devel
A framework for building embedded system applications to NASA flight quality standards.
Svc::OutputSendFileRequestPort Class Reference

#include <Svc/FileDownlinkPorts/SendFileRequestPortAc.hpp>

Inheritance diagram for Svc::OutputSendFileRequestPort:
Fw::OutputPortBase Fw::PortBase Fw::ObjBase

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::ObjBasem_connObj
 

Detailed Description

Output SendFileRequest port Request that FileDownlink downlink a file

Definition at line 107 of file SendFileRequestPortAc.hpp.

Constructor & Destructor Documentation

◆ OutputSendFileRequestPort()

Svc::OutputSendFileRequestPort::OutputSendFileRequestPort ( )

Constructor.

Definition at line 81 of file SendFileRequestPortAc.cpp.

Member Function Documentation

◆ addCallPort()

void Svc::OutputSendFileRequestPort::addCallPort ( InputSendFileRequestPort callPort)

Register an input port.

Parameters
callPortThe input port

Definition at line 95 of file SendFileRequestPortAc.cpp.

◆ init()

void Svc::OutputSendFileRequestPort::init ( )
virtual

Initialization function.

Reimplemented from Fw::OutputPortBase.

Definition at line 89 of file SendFileRequestPortAc.cpp.

◆ invoke()

Svc::SendFileResponse Svc::OutputSendFileRequestPort::invoke ( const Fw::StringBase sourceFileName,
const Fw::StringBase destFileName,
U32  offset,
U32  length 
)

Invoke a port interface.

Parameters
sourceFileNamePath of file to downlink
destFileNamePath to store downlinked file at
offsetAmount of data in bytes to downlink from file. 0 to read until end of file
lengthAmount of data in bytes to downlink from file. 0 to read until end of file

Definition at line 108 of file SendFileRequestPortAc.cpp.


The documentation for this class was generated from the following files: