F´ Flight Software - C/C++ Documentation
A framework for building embedded system applications to NASA flight quality standards.
FprimeFramer.hpp
Go to the documentation of this file.
1
// ======================================================================
2
// \title FprimeFramer.hpp
3
// \author thomas-bc
4
// \brief hpp file for FprimeFramer component implementation class
5
// ======================================================================
6
7
#ifndef Svc_FprimeFramer_HPP
8
#define Svc_FprimeFramer_HPP
9
10
#include "
Svc/FprimeFramer/FprimeFramerComponentAc.hpp
"
11
12
namespace
Svc
{
13
14
class
FprimeFramer
final :
public
FprimeFramerComponentBase
{
15
public
:
16
// ----------------------------------------------------------------------
17
// Component construction and destruction
18
// ----------------------------------------------------------------------
19
21
FprimeFramer
(
const
char
*
const
compName
22
);
23
25
~FprimeFramer
();
26
27
PRIVATE:
28
// ----------------------------------------------------------------------
29
// Handler implementations for typed input ports
30
// ----------------------------------------------------------------------
31
36
void
comStatusIn_handler(
FwIndexType
portNum,
37
Fw::Success
& condition
38
)
override
;
39
43
void
dataIn_handler(
FwIndexType
portNum,
44
Fw::Buffer
& data,
45
const
ComCfg::FrameContext
& context)
override
;
46
50
void
dataReturnIn_handler(
FwIndexType
portNum,
51
Fw::Buffer
& data,
52
const
ComCfg::FrameContext
& context)
override
;
53
54
// ----------------------------------------------------------------------
55
// Helpers
56
// ----------------------------------------------------------------------
57
60
void
framedOut_helper(
Fw::Buffer
& frameBuffer,
61
const
ComCfg::FrameContext
& context);
62
};
63
64
}
// namespace Svc
65
66
#endif
Svc::FprimeFramerComponentBase
Auto-generated base for FprimeFramer component.
Definition:
FprimeFramerComponentAc.hpp:26
FprimeFramerComponentAc.hpp
Svc::FprimeFramer::~FprimeFramer
~FprimeFramer()
Destroy FprimeFramer object.
Definition:
FprimeFramer.cpp:20
FwIndexType
PlatformIndexType FwIndexType
Definition:
FwIndexTypeAliasAc.h:15
ComCfg::FrameContext
Type used to pass context info between components during framing/deframing.
Definition:
FrameContextSerializableAc.hpp:19
Svc
RateGroupDivider component implementation.
Definition:
ActiveRateGroupCfg.hpp:18
Fw::Buffer
Definition:
Buffer.hpp:42
Svc::FprimeFramer::FprimeFramer
FprimeFramer(const char *const compName)
Construct FprimeFramer object.
Definition:
FprimeFramer.cpp:18
Svc::FprimeFramer
Definition:
FprimeFramer.hpp:14
Fw::Success
Success/Failure.
Definition:
SuccessEnumAc.hpp:17
Svc
FprimeFramer
FprimeFramer.hpp
Generated by
1.8.14