F´ Flight Software - C/C++ Documentation
A framework for building embedded system applications to NASA flight quality standards.
RecvBuffComponentImpl.hpp
Go to the documentation of this file.
1
#ifndef REF_LPR_ATM_IMPL_HPP
2
#define REF_LPR_ATM_IMPL_HPP
3
4
#include <Ref/RecvBuffApp/RecvBuffComponentAc.hpp>
5
6
namespace
Ref
{
7
8
class
RecvBuffImpl
final :
public
RecvBuffComponentBase {
9
public
:
10
// Only called by derived class
11
RecvBuffImpl
(
const
char
* compName);
12
13
~RecvBuffImpl
();
14
15
private
:
16
// downcall for input port
17
void
Data_handler(
FwIndexType
portNum,
Drv::DataBuffer
& buff);
18
Ref::PacketStat m_stats;
19
U32 m_buffsReceived;
// !< number of buffers received
20
bool
m_firstBuffReceived;
// !< first buffer received or not
21
U32 m_errBuffs;
// !< number of buffers with errors received
22
F32
m_sensor1;
23
F32
m_sensor2;
24
25
// parameter update notification
26
void
parameterUpdated(
FwPrmIdType
id
);
27
};
28
29
}
// namespace Ref
30
31
#endif
Ref::RecvBuffImpl::~RecvBuffImpl
~RecvBuffImpl()
Definition:
RecvBuffComponentImpl.cpp:21
FwPrmIdType
FwIdType FwPrmIdType
The type of a parameter identifier.
Definition:
FwPrmIdTypeAliasAc.h:14
Drv::DataBuffer
Definition:
DataBuffer.hpp:9
F32
float F32
32-bit floating point
Definition:
BasicTypes.h:84
Ref::RecvBuffImpl
Definition:
RecvBuffComponentImpl.hpp:8
Ref::RecvBuffImpl::RecvBuffImpl
RecvBuffImpl(const char *compName)
Definition:
RecvBuffComponentImpl.cpp:12
FwIndexType
PlatformIndexType FwIndexType
Definition:
FwIndexTypeAliasAc.h:15
Ref
Definition:
BlockDriver.cpp:5
TestDeploymentsProject
Ref
RecvBuffApp
RecvBuffComponentImpl.hpp
Generated by
1.8.14