F´ Flight Software - C/C++ Documentation
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
12
13namespace Svc {
14
16 public:
17 // ----------------------------------------------------------------------
18 // Construction, initialization, and destruction
19 // ----------------------------------------------------------------------
20
23 CmdSplitter(const char* const compName
24 );
25
29
32 void configure(const FwOpcodeType remoteBaseOpcode );
33
34 PRIVATE:
35
36 // ----------------------------------------------------------------------
37 // Handler implementations for user-defined typed input ports
38 // ----------------------------------------------------------------------
39
42 void CmdBuff_handler(const NATIVE_INT_TYPE portNum,
43 Fw::ComBuffer& data,
44 U32 context
45 );
46
49 void seqCmdStatus_handler(const NATIVE_INT_TYPE portNum,
50 FwOpcodeType opCode,
51 U32 cmdSeq,
52 const Fw::CmdResponse& response
53 );
54
55 FwOpcodeType m_remoteBase; // Opcodes greater than or equal than this value will route remotely
56};
57
58} // end namespace Svc
59
60#endif
PlatformIntType NATIVE_INT_TYPE
Definition BasicTypes.h:55
U32 FwOpcodeType
Definition FpConfig.h:91
Enum representing a command response.
Auto-generated base for CmdSplitter component.
void configure(const FwOpcodeType remoteBaseOpcode)