![]() |
F´ Flight Software - C/C++ Documentation
NASA-v1.6.0
A framework for building embedded system applications to NASA flight quality standards.
|
#include <Svc/FramingProtocol/FprimeProtocol.hpp>
Public Member Functions | |
| FprimeDeframing () | |
| bool | validate (Types::CircularBuffer &buffer, U32 size) |
| DeframingStatus | deframe (Types::CircularBuffer &buffer, U32 &needed) |
Public Member Functions inherited from Svc::DeframingProtocol | |
| virtual | ~DeframingProtocol () |
| DeframingProtocol () | |
| void | setup (DeframingProtocolInterface &interface) |
Additional Inherited Members | |
Public Types inherited from Svc::DeframingProtocol | |
| enum | DeframingStatus { DEFRAMING_STATUS_SUCCESS, DEFRAMING_INVALID_SIZE, DEFRAMING_INVALID_CHECKSUM, DEFRAMING_MORE_NEEDED, DEFRAMING_MAX_STATUS } |
| Status of the deframing call. More... | |
Protected Attributes inherited from Svc::DeframingProtocol | |
| DeframingProtocolInterface * | m_interface |
Definition at line 33 of file FprimeProtocol.hpp.
| Svc::FprimeDeframing::FprimeDeframing | ( | ) |
Definition at line 22 of file FprimeProtocol.cpp.
|
virtual |
Deframe packets from within the circular buffer
| buffer | Deframe from circular buffer |
| needed | Return needed number of bytes |
Implements Svc::DeframingProtocol.
Definition at line 84 of file FprimeProtocol.cpp.
| bool Svc::FprimeDeframing::validate | ( | Types::CircularBuffer & | buffer, |
| U32 | size | ||
| ) |
Definition at line 61 of file FprimeProtocol.cpp.