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