F´ Flight Software - C/C++ Documentation
devel
A framework for building embedded system applications to NASA flight quality standards.
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
13
namespace
Svc
{
14
15
class
CmdSplitter
:
public
CmdSplitterComponentBase
{
16
public
:
17
// ----------------------------------------------------------------------
18
// Construction, initialization, and destruction
19
// ----------------------------------------------------------------------
20
23
CmdSplitter
(
const
char
*
const
compName
24
);
25
28
~CmdSplitter
();
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
NATIVE_INT_TYPE
PlatformIntType NATIVE_INT_TYPE
Definition:
BasicTypes.h:55
CmdResponsePortAc.hpp
CmdSplitterComponentAc.hpp
FwOpcodeType
U32 FwOpcodeType
Definition:
FpConfig.h:91
Fw::CmdResponse
Enum representing a command response.
Definition:
CmdResponseEnumAc.hpp:19
Fw::ComBuffer
Definition:
ComBuffer.hpp:20
Svc::CmdSplitterComponentBase
Auto-generated base for CmdSplitter component.
Definition:
CmdSplitterComponentAc.hpp:25
Svc::CmdSplitter
Definition:
CmdSplitter.hpp:15
Svc::CmdSplitter::configure
void configure(const FwOpcodeType remoteBaseOpcode)
Definition:
CmdSplitter.cpp:23
Svc::CmdSplitter::CmdSplitter
CmdSplitter(const char *const compName)
Definition:
CmdSplitter.cpp:19
Svc::CmdSplitter::~CmdSplitter
~CmdSplitter()
Definition:
CmdSplitter.cpp:21
Svc
Definition:
ActiveRateGroupCfg.hpp:18
Svc
CmdSplitter
CmdSplitter.hpp
Generated by
1.9.1