F´ Flight Software - C/C++ Documentation
devel
A framework for building embedded system applications to NASA flight quality standards.
DeframingProtocolInterface.hpp
Go to the documentation of this file.
1
// ======================================================================
2
// \title DeframingProtocolInterface.hpp
3
// \author mstarch
4
// \brief hpp file for deframing 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 SVC_DEFRAMING_PROTOCOL_INTERFACE_HPP
15
#define SVC_DEFRAMING_PROTOCOL_INTERFACE_HPP
16
17
#include <
Fw/Buffer/Buffer.hpp
>
18
#include <
Fw/Time/Time.hpp
>
19
20
namespace
Svc
{
21
29
class
DeframingProtocolInterface
{
30
public
:
31
virtual
~DeframingProtocolInterface
(){};
37
virtual
Fw::Buffer
allocate
(
const
U32 size) = 0;
38
43
virtual
void
route
(
Fw::Buffer
& data) = 0;
44
45
};
46
47
}
48
#endif
// SVC_DEFRAMING_PROTOCOL_INTERFACE_HPP
Buffer.hpp
Time.hpp
Fw::Buffer
Definition:
Buffer.hpp:43
Svc::DeframingProtocolInterface
interface supplied to the deframing protocol
Definition:
DeframingProtocolInterface.hpp:29
Svc::DeframingProtocolInterface::allocate
virtual Fw::Buffer allocate(const U32 size)=0
called to allocate memory, typically delegating to an allocate port call
Svc::DeframingProtocolInterface::~DeframingProtocolInterface
virtual ~DeframingProtocolInterface()
Definition:
DeframingProtocolInterface.hpp:31
Svc::DeframingProtocolInterface::route
virtual void route(Fw::Buffer &data)=0
send deframed data into the system
Svc
Definition:
ActiveRateGroupCfg.hpp:18
Svc
FramingProtocol
DeframingProtocolInterface.hpp
Generated by
1.9.1