F´ Flight Software - C/C++ Documentation
devel
A framework for building embedded system applications to NASA flight quality standards.
|
#include <Svc/BufferRepeater/BufferRepeater.hpp>
Public Types | |
enum | BufferRepeaterFailureOption { NO_RESPONSE_ON_OUT_OF_MEMORY , WARNING_ON_OUT_OF_MEMORY , FATAL_ON_OUT_OF_MEMORY , NUM_BUFFER_REPEATER_FAILURE_OPTIONS } |
Public Member Functions | |
BufferRepeater (const char *const compName) | |
~BufferRepeater () | |
void | configure (BufferRepeaterFailureOption allocation_failure_response) |
Public Member Functions inherited from Svc::BufferRepeaterComponentBase | |
void | init (FwEnumStoreType instance=0) |
Initialize BufferRepeaterComponentBase object. More... | |
Fw::InputBufferSendPort * | get_portIn_InputPort (FwIndexType portNum) |
void | set_Log_OutputPort (FwIndexType portNum, Fw::InputLogPort *port) |
Connect port to Log[portNum]. More... | |
void | set_Time_OutputPort (FwIndexType portNum, Fw::InputTimePort *port) |
Connect port to Time[portNum]. More... | |
void | set_allocate_OutputPort (FwIndexType portNum, Fw::InputBufferGetPort *port) |
Connect port to allocate[portNum]. More... | |
void | set_deallocate_OutputPort (FwIndexType portNum, Fw::InputBufferSendPort *port) |
Connect port to deallocate[portNum]. More... | |
void | set_portOut_OutputPort (FwIndexType portNum, Fw::InputBufferSendPort *port) |
Connect port to portOut[portNum]. More... | |
Public Member Functions inherited from Fw::PassiveComponentBase | |
void | setIdBase (const U32) |
Set the ID base. More... | |
U32 | getIdBase () const |
Definition at line 20 of file BufferRepeater.hpp.
Set of responses to failures to allocate a buffer when requested
Definition at line 25 of file BufferRepeater.hpp.
Svc::BufferRepeater::BufferRepeater | ( | const char *const | compName | ) |
Construct object BufferRepeater
compName | The component name |
Definition at line 22 of file BufferRepeater.cpp.
Svc::BufferRepeater::~BufferRepeater | ( | ) |
Destroy object BufferRepeater
Definition at line 26 of file BufferRepeater.cpp.
void Svc::BufferRepeater::configure | ( | BufferRepeater::BufferRepeaterFailureOption | allocation_failure_response | ) |
Set the response used when an allocation request fails to produce a buffer. By default this will assert.
allocation_failure_response | set response |
Definition at line 28 of file BufferRepeater.cpp.