F´ Flight Software - C/C++ Documentation
A framework for building embedded system applications to NASA flight quality standards.
PingReceiverComponentImpl.hpp
Go to the documentation of this file.
1
// ======================================================================
2
// \title PingReceiverImpl.hpp
3
// \author tim
4
// \brief hpp file for PingReceiver component implementation class
5
//
6
// \copyright
7
// Copyright 2009-2015, by the California Institute of Technology.
8
// ALL RIGHTS RESERVED. United States Government Sponsorship
9
// acknowledged.
10
//
11
// ======================================================================
12
13
#ifndef PingReceiver_HPP
14
#define PingReceiver_HPP
15
16
#include "Ref/PingReceiver/PingReceiverComponentAc.hpp"
17
18
namespace
Ref
{
19
20
class
PingReceiverComponentImpl
final :
public
PingReceiverComponentBase {
21
public
:
22
// ----------------------------------------------------------------------
23
// Construction, initialization, and destruction
24
// ----------------------------------------------------------------------
25
28
PingReceiverComponentImpl
(
const
char
*
const
compName
29
);
30
33
~PingReceiverComponentImpl
();
34
35
private
:
36
// ----------------------------------------------------------------------
37
// Handler implementations for user-defined typed input ports
38
// ----------------------------------------------------------------------
39
42
void
PingIn_handler(
const
FwIndexType
portNum,
43
U32 key
44
);
45
46
void
PR_StopPings_cmdHandler(
FwOpcodeType
opCode,
47
U32 cmdSeq
48
);
49
50
bool
m_inhibitPings;
51
U32 m_pingsRecvd;
52
};
53
54
}
// end namespace Ref
55
56
#endif
FwOpcodeType
FwIdType FwOpcodeType
The type of a command opcode.
Definition:
FwOpcodeTypeAliasAc.h:14
Ref::PingReceiverComponentImpl
Definition:
PingReceiverComponentImpl.hpp:20
FwIndexType
PlatformIndexType FwIndexType
Definition:
FwIndexTypeAliasAc.h:15
Ref::PingReceiverComponentImpl::PingReceiverComponentImpl
PingReceiverComponentImpl(const char *const compName)
Definition:
PingReceiverComponentImpl.cpp:22
Ref
Definition:
BlockDriver.cpp:5
Ref::PingReceiverComponentImpl::~PingReceiverComponentImpl
~PingReceiverComponentImpl()
Definition:
PingReceiverComponentImpl.cpp:25
TestDeploymentsProject
Ref
PingReceiver
PingReceiverComponentImpl.hpp
Generated by
1.8.14