F´ Flight Software - C/C++ Documentation
A framework for building embedded system applications to NASA flight quality standards.
SpacePacketFramer.hpp
Go to the documentation of this file.
1 // ======================================================================
2 // \title SpacePacketFramer.hpp
3 // \author thomas-bc
4 // \brief hpp file for SpacePacketFramer component implementation class
5 // ======================================================================
6 
7 #ifndef Svc_CCSDS_SpacePacketFramer_HPP
8 #define Svc_CCSDS_SpacePacketFramer_HPP
9 
11 #include "config/APIDEnumAc.hpp"
12 
13 namespace Svc {
14 
15 namespace CCSDS {
16 
18  public:
19  // ----------------------------------------------------------------------
20  // Component construction and destruction
21  // ----------------------------------------------------------------------
22 
24  SpacePacketFramer(const char* const compName
25  );
26 
29 
30  private:
31  // ----------------------------------------------------------------------
32  // Handler implementations for typed input ports
33  // ----------------------------------------------------------------------
34 
39  void comStatusIn_handler(FwIndexType portNum,
40  Fw::Success& condition
41  ) override;
42 
49  void dataIn_handler(FwIndexType portNum,
50  Fw::Buffer& data,
51  const ComCfg::FrameContext& context) override;
52 
56  void dataReturnIn_handler(FwIndexType portNum,
57  Fw::Buffer& data,
58  const ComCfg::FrameContext& context) override;
59 
60 };
61 
62 } // namespace CCSDS
63 
64 } // namespace Svc
65 
66 #endif
Auto-generated base for SpacePacketFramer component.
PlatformIndexType FwIndexType
Type used to pass context info between components during framing/deframing.
RateGroupDivider component implementation.
SpacePacketFramer(const char *const compName)
Construct SpacePacketFramer object.
Success/Failure.
~SpacePacketFramer()
Destroy SpacePacketFramer object.