![]() |
F´ Flight Software - C/C++ Documentation NASA-v1.6.0
A framework for building embedded system applications to NASA flight quality standards.
|
Generic framing component using FramingProtocol implementation for actual framing. More...
#include <Svc/Framer/Framer.hpp>
Public Member Functions | |
| Framer (const char *const compName) | |
| void | init (const NATIVE_INT_TYPE instance=0) |
| void | setup (FramingProtocol &protocol) |
| Setup this component with a supplied framing protocol. | |
| ~Framer () | |
Public Member Functions inherited from Svc::FramingProtocolInterface | |
| virtual | ~FramingProtocolInterface () |
| virtual Fw::Buffer | allocate (const U32 size)=0 |
| allocation callback to allocate memory when framing | |
| virtual void | send (Fw::Buffer &outgoing)=0 |
| send framed data out of the framer | |
Generic framing component using FramingProtocol implementation for actual framing.
Framing component used to take Com and File packets and frame serialize them using a framing protocol specified in a FramingProtocol instance. The instance must be supplied using the setup method.
Using this component, projects can implement and supply a fresh FramingProtocol implementation without changing the reference topology.
Definition at line 31 of file Framer.hpp.
| Svc::Framer::Framer | ( | const char *const | compName | ) |
Construct object Framer
| compName | The component name |
Definition at line 24 of file Framer.cpp.
| Svc::Framer::~Framer | ( | ) |
Destroy object Framer
Definition at line 31 of file Framer.cpp.
| void Svc::Framer::init | ( | const NATIVE_INT_TYPE | instance = 0 | ) |
Initialize object Framer
| instance | The instance number |
Definition at line 27 of file Framer.cpp.
| void Svc::Framer::setup | ( | FramingProtocol & | protocol | ) |
Setup this component with a supplied framing protocol.
| protocol | Protocol used in framing |
Definition at line 33 of file Framer.cpp.