F´ Flight Software - C/C++ Documentation
A framework for building embedded system applications to NASA flight quality standards.
FprimeFramer.hpp
Go to the documentation of this file.
1 // ======================================================================
2 // \title FprimeFramer.hpp
3 // \author thomas-bc
4 // \brief hpp file for FprimeFramer component implementation class
5 // ======================================================================
6 
7 #ifndef Svc_FprimeFramer_HPP
8 #define Svc_FprimeFramer_HPP
9 
11 
12 namespace Svc {
13 
15  public:
16  // ----------------------------------------------------------------------
17  // Component construction and destruction
18  // ----------------------------------------------------------------------
19 
21  FprimeFramer(const char* const compName
22  );
23 
25  ~FprimeFramer();
26 
27  PRIVATE:
28  // ----------------------------------------------------------------------
29  // Handler implementations for typed input ports
30  // ----------------------------------------------------------------------
31 
36  void comStatusIn_handler(FwIndexType portNum,
37  Fw::Success& condition
38  ) override;
39 
43  void dataIn_handler(FwIndexType portNum,
44  Fw::Buffer& data,
45  const ComCfg::FrameContext& context) override;
46 
50  void dataReturnIn_handler(FwIndexType portNum,
51  Fw::Buffer& data,
52  const ComCfg::FrameContext& context) override;
53 
54  // ----------------------------------------------------------------------
55  // Helpers
56  // ----------------------------------------------------------------------
57 
60  void framedOut_helper(Fw::Buffer& frameBuffer,
61  const ComCfg::FrameContext& context);
62 };
63 
64 } // namespace Svc
65 
66 #endif
Auto-generated base for FprimeFramer component.
~FprimeFramer()
Destroy FprimeFramer object.
PlatformIndexType FwIndexType
Type used to pass context info between components during framing/deframing.
RateGroupDivider component implementation.
FprimeFramer(const char *const compName)
Construct FprimeFramer object.
Success/Failure.