![]() |
F´ Flight Software - C/C++ Documentation
A framework for building embedded system applications to NASA flight quality standards.
|
#include <Svc/FrameAccumulator/FrameAccumulator.hpp>
Public Member Functions | |
| FrameAccumulator (const char *const compName) | |
| Construct FrameAccumulator object. More... | |
| ~FrameAccumulator () | |
| Destroy FrameAccumulator object. More... | |
| void | configure (const FrameDetector &detector, FwEnumStoreType allocationId, Fw::MemAllocator &allocator, FwSizeType store_size) |
| configure memory allocation for the circular buffer More... | |
| void | cleanup () |
| Deallocate internal resources (set up by configure() call) More... | |
Public Member Functions inherited from Svc::FrameAccumulatorComponentBase | |
| void | init (FwEnumStoreType instance=0) |
| Initialize FrameAccumulatorComponentBase object. More... | |
| Svc::InputComDataWithContextPort * | get_dataIn_InputPort (FwIndexType portNum) |
| Svc::InputComDataWithContextPort * | get_dataReturnIn_InputPort (FwIndexType portNum) |
| void | set_logOut_OutputPort (FwIndexType portNum, Fw::InputLogPort *port) |
| Connect port to logOut[portNum]. More... | |
| void | set_timeCaller_OutputPort (FwIndexType portNum, Fw::InputTimePort *port) |
| Connect port to timeCaller[portNum]. More... | |
| void | set_bufferAllocate_OutputPort (FwIndexType portNum, Fw::InputBufferGetPort *port) |
| Connect port to bufferAllocate[portNum]. More... | |
| void | set_bufferDeallocate_OutputPort (FwIndexType portNum, Fw::InputBufferSendPort *port) |
| Connect port to bufferDeallocate[portNum]. More... | |
| void | set_dataOut_OutputPort (FwIndexType portNum, Svc::InputComDataWithContextPort *port) |
| Connect port to dataOut[portNum]. More... | |
| void | set_dataReturnOut_OutputPort (FwIndexType portNum, Svc::InputComDataWithContextPort *port) |
| Connect port to dataReturnOut[portNum]. More... | |
Public Member Functions inherited from Fw::PassiveComponentBase | |
| void | setIdBase (const FwIdType) |
| Set the ID base. More... | |
| FwIdType | getIdBase () const |
| virtual void | deinit () |
| Deinitialization function. More... | |
Friends | |
| class | FrameAccumulatorTester |
Definition at line 17 of file FrameAccumulator.hpp.
| Svc::FrameAccumulator::FrameAccumulator | ( | const char *const | compName | ) |
Construct FrameAccumulator object.
| compName | The component name |
Definition at line 17 of file FrameAccumulator.cpp.
| Svc::FrameAccumulator::~FrameAccumulator | ( | ) |
Destroy FrameAccumulator object.
Definition at line 24 of file FrameAccumulator.cpp.
| void Svc::FrameAccumulator::cleanup | ( | ) |
Deallocate internal resources (set up by configure() call)
Definition at line 41 of file FrameAccumulator.cpp.
| void Svc::FrameAccumulator::configure | ( | const FrameDetector & | detector, |
| FwEnumStoreType | allocationId, | ||
| Fw::MemAllocator & | allocator, | ||
| FwSizeType | store_size | ||
| ) |
configure memory allocation for the circular buffer
Takes in parameters used in the Fw::MemAllocator pattern and configures a memory allocation for storing the circular buffer.
| detector | Frame detector helper instance |
| allocationId | Identifier used when dealing with the Fw::MemAllocator |
| allocator | Fw::MemAllocator used to acquire memory |
| store_size | Size to request for circular buffer |
Definition at line 26 of file FrameAccumulator.cpp.
|
friend |
Definition at line 18 of file FrameAccumulator.hpp.