F´ Flight Software - C/C++ Documentation
A framework for building embedded system applications to NASA flight quality standards.
PassThroughRouter.hpp
Go to the documentation of this file.
1 // ======================================================================
2 // \title PassThroughRouter.hpp
3 // \author kessler
4 // \brief hpp file for PassThroughRouter component implementation class
5 // ======================================================================
6 
7 #ifndef Svc_PassThroughRouter_HPP
8 #define Svc_PassThroughRouter_HPP
9 
11 
12 namespace Svc {
13 
15  public:
16  // ----------------------------------------------------------------------
17  // Component construction and destruction
18  // ----------------------------------------------------------------------
19 
21  PassThroughRouter(const char* const compName
22  );
23 
26 
27  private:
28  // ----------------------------------------------------------------------
29  // Handler implementations for typed input ports
30  // ----------------------------------------------------------------------
31 
35  void allPacketsReturnIn_handler(FwIndexType portNum,
36  Fw::Buffer& fwBuffer
37  ) override;
38 
42  void dataIn_handler(FwIndexType portNum,
43  Fw::Buffer& packetBuffer,
44  const ComCfg::FrameContext& context) override;
45 };
46 
47 } // namespace Svc
48 
49 #endif
PassThroughRouter(const char *const compName)
Construct PassThroughRouter object.
~PassThroughRouter()
Destroy PassThroughRouter object.
PlatformIndexType FwIndexType
Type used to pass context info between components during framing/deframing.
RateGroupDivider component implementation.
Auto-generated base for PassThroughRouter component.