![]() |
F´ Flight Software - C/C++ Documentation
NASA-v2.0.0
A framework for building embedded system applications to NASA flight quality standards.
|
#include <Svc/FileDownlink/FileDownlink.hpp>
Public Member Functions | |
FileDownlink (const char *const compName) | |
void | init (const NATIVE_INT_TYPE queueDepth, const NATIVE_INT_TYPE instance) |
void | configure (U32 timeout, U32 cooldown, U32 cycleTime, U32 fileQueueDepth) |
void | start (NATIVE_INT_TYPE identifier, NATIVE_INT_TYPE priority, NATIVE_INT_TYPE stackSize, NATIVE_INT_TYPE cpuAffinity=-1) |
~FileDownlink (void) | |
Definition at line 25 of file FileDownlink.hpp.
Svc::FileDownlink::FileDownlink | ( | const char *const | compName | ) |
Construct object FileDownlink
compName | The component name |
Definition at line 25 of file FileDownlink.cpp.
Svc::FileDownlink::~FileDownlink | ( | void | ) |
Destroy object FileDownlink
Definition at line 88 of file FileDownlink.cpp.
void Svc::FileDownlink::configure | ( | U32 | timeout, |
U32 | cooldown, | ||
U32 | cycleTime, | ||
U32 | fileQueueDepth | ||
) |
Configure FileDownlink component
timeout | Timeout threshold (milliseconds) while in WAIT state |
cooldown | Cooldown (in ms) between finishing a downlink and starting the next file. |
cycleTime | Rate at which we are running |
fileQueueDepth | Max number of items in file downlink queue |
Definition at line 55 of file FileDownlink.cpp.
void Svc::FileDownlink::init | ( | const NATIVE_INT_TYPE | queueDepth, |
const NATIVE_INT_TYPE | instance | ||
) |
Initialize object FileDownlink
queueDepth | The queue depth |
instance | The instance number |
Definition at line 46 of file FileDownlink.cpp.
void Svc::FileDownlink::start | ( | NATIVE_INT_TYPE | identifier, |
NATIVE_INT_TYPE | priority, | ||
NATIVE_INT_TYPE | stackSize, | ||
NATIVE_INT_TYPE | cpuAffinity = -1 |
||
) |
Start FileDownlink component The component must be configured with configure() before starting.
Definition at line 76 of file FileDownlink.cpp.