F´ Flight Software - C/C++ Documentation
NASA-v1.6.0
A framework for building embedded system applications to NASA flight quality standards.
FramingProtocolInterface.hpp
Go to the documentation of this file.
1
// ======================================================================
2
// \title FramingProtocolInterface.hpp
3
// \author mstarch
4
// \brief hpp file for framing protocol interface
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
#ifndef FRAMING_PROTOCOLINTERFACE_HPP
15
#define FRAMING_PROTOCOLINTERFACE_HPP
16
17
#include <
Fw/Buffer/Buffer.hpp
>
18
#include <
Fw/Time/Time.hpp
>
26
class
FramingProtocolInterface
{
27
public
:
28
virtual
~FramingProtocolInterface
(){};
32
virtual
Fw::Buffer
allocate
(
const
U32 size) = 0;
33
36
virtual
void
send
(
Fw::Buffer
& outgoing) = 0;
37
38
};
39
40
#endif // OWLS_PROTOCOLINTERFACE_HPP
FramingProtocolInterface::~FramingProtocolInterface
virtual ~FramingProtocolInterface()
Definition:
FramingProtocolInterface.hpp:28
Buffer.hpp
FramingProtocolInterface
interface supplied to the framing protocol
Definition:
FramingProtocolInterface.hpp:26
Fw::Buffer
Definition:
Buffer.hpp:43
FramingProtocolInterface::send
virtual void send(Fw::Buffer &outgoing)=0
send framed data out of the framer
FramingProtocolInterface::allocate
virtual Fw::Buffer allocate(const U32 size)=0
allocation callback to allocate memory when framing
Time.hpp
Svc
FramingProtocol
FramingProtocolInterface.hpp
Generated by
1.8.17