F´ Flight Software - C/C++ Documentation NASA-v1.6.0
A framework for building embedded system applications to NASA flight quality standards.
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
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"
16
17namespace Svc {
18
19DeframingProtocol::DeframingProtocol() : m_interface(nullptr) {}
20
22 FW_ASSERT(m_interface == nullptr);
23 m_interface = &interface;
24}
25};
#define FW_ASSERT(...)
Definition Assert.hpp:7
DeframingProtocolInterface * m_interface
void setup(DeframingProtocolInterface &interface)
interface supplied to the deframing protocol