F´ Flight Software - C/C++ Documentation
devel
A framework for building embedded system applications to NASA flight quality standards.
DeframingProtocol.cpp
Go to the documentation of this file.
1
// ======================================================================
2
// \title DeframingProtocol.cpp
3
// \author mstarch
4
// \brief cpp file for DeframingProtocol class
5
//
6
// \copyright
7
// Copyright 2009-2021, by the California Institute of Technology.
8
// ALL RIGHTS RESERVED. United States Government Sponsorship
9
// acknowledged.
10
//
11
// ======================================================================
12
13
14
#include "
DeframingProtocol.hpp
"
15
#include "
DeframingProtocolInterface.hpp
"
16
17
namespace
Svc
{
18
19
DeframingProtocol::DeframingProtocol
() : m_interface(nullptr) {}
20
21
void
DeframingProtocol::setup
(
DeframingProtocolInterface
& interface) {
22
FW_ASSERT
(
m_interface
==
nullptr
);
23
m_interface
= &interface;
24
}
25
}
FW_ASSERT
#define FW_ASSERT(...)
Definition:
Assert.hpp:14
DeframingProtocol.hpp
DeframingProtocolInterface.hpp
Svc::DeframingProtocol::DeframingProtocol
DeframingProtocol()
Definition:
DeframingProtocol.cpp:19
Svc::DeframingProtocol::m_interface
DeframingProtocolInterface * m_interface
Definition:
DeframingProtocol.hpp:63
Svc::DeframingProtocol::setup
void setup(DeframingProtocolInterface &interface)
Definition:
DeframingProtocol.cpp:21
Svc::DeframingProtocolInterface
interface supplied to the deframing protocol
Definition:
DeframingProtocolInterface.hpp:29
Svc
Definition:
ActiveRateGroupCfg.hpp:18
Svc
FramingProtocol
DeframingProtocol.cpp
Generated by
1.9.1