F´ Flight Software - C/C++ Documentation NASA-v1.6.0
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) | |
void | init (const NATIVE_INT_TYPE instance=0) |
~BufferRepeater () | |
void | configure (BufferRepeaterFailureOption allocation_failure_response) |
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 30 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 32 of file BufferRepeater.cpp.
void Svc::BufferRepeater::init | ( | const NATIVE_INT_TYPE | instance = 0 | ) |
Initialize object BufferRepeater
instance | The instance number |
Definition at line 26 of file BufferRepeater.cpp.