F´ Flight Software - C/C++ Documentation NASA-v1.6.0
A framework for building embedded system applications to NASA flight quality standards.
Loading...
Searching...
No Matches
CmdSplitter.hpp
Go to the documentation of this file.
1// ======================================================================
2// \title CmdSplitter.hpp
3// \author watney
4// \brief hpp file for CmdSplitter component implementation class
5// ======================================================================
6
7#ifndef CmdSplitter_HPP
8#define CmdSplitter_HPP
9
10#include <Fw/Cmd/CmdResponsePortAc.hpp>
11#include "Svc/CmdSplitter/CmdSplitterComponentAc.hpp"
12
13namespace Svc {
14
15class CmdSplitter : public CmdSplitterComponentBase {
16 public:
17 // ----------------------------------------------------------------------
18 // Construction, initialization, and destruction
19 // ----------------------------------------------------------------------
20
23 CmdSplitter(const char* const compName
24 );
25
29
30 PRIVATE :
31
32 // ----------------------------------------------------------------------
33 // Handler implementations for user-defined typed input ports
34 // ----------------------------------------------------------------------
35
38 void CmdBuff_handler(const NATIVE_INT_TYPE portNum,
39 Fw::ComBuffer& data,
40 U32 context
41 );
42
45 void seqCmdStatus_handler(const NATIVE_INT_TYPE portNum,
46 FwOpcodeType opCode,
47 U32 cmdSeq,
48 const Fw::CmdResponse& response
49 );
50};
51
52} // end namespace Svc
53
54#endif
PlatformIntType NATIVE_INT_TYPE
Definition BasicTypes.h:51
U32 FwOpcodeType
Definition FpConfig.h:56