![]() |
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) | |
| void | init (const NATIVE_INT_TYPE instance=0) |
| ~BufferRepeater () | |
| void | configure (BufferRepeaterFailureOption allocation_failure_response) |
Public Member Functions inherited from Svc::BufferRepeaterComponentBase | |
| void | init (NATIVE_INT_TYPE instance=0) |
| Initialize BufferRepeaterComponentBase object. More... | |
| Fw::InputBufferSendPort * | get_portIn_InputPort (NATIVE_INT_TYPE portNum) |
| void | set_Log_OutputPort (NATIVE_INT_TYPE portNum, Fw::InputLogPort *port) |
| Connect port to Log[portNum]. More... | |
| void | set_Time_OutputPort (NATIVE_INT_TYPE portNum, Fw::InputTimePort *port) |
| Connect port to Time[portNum]. More... | |
| void | set_allocate_OutputPort (NATIVE_INT_TYPE portNum, Fw::InputBufferGetPort *port) |
| Connect port to allocate[portNum]. More... | |
| void | set_deallocate_OutputPort (NATIVE_INT_TYPE portNum, Fw::InputBufferSendPort *port) |
| Connect port to deallocate[portNum]. More... | |
| void | set_portOut_OutputPort (NATIVE_INT_TYPE 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 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.