F´ Flight Software - C/C++ Documentation
A framework for building embedded system applications to NASA flight quality standards.
DeframingProtocol.hpp
Go to the documentation of this file.
1 // ======================================================================
2 // \title DeframingProtocol.hpp
3 // \author mstarch
4 // \brief hpp file for DeframingProtocol class
5 //
6 // \copyright
7 // Copyright 2009-2022, by the California Institute of Technology.
8 // ALL RIGHTS RESERVED. United States Government Sponsorship
9 // acknowledged.
10 //
11 // ======================================================================
12 
13 #include "Fw/Com/ComPacket.hpp"
16 
17 #ifndef SVC_DEFRAMING_PROTOCOL_HPP
18 #define SVC_DEFRAMING_PROTOCOL_HPP
19 
20 namespace Svc {
21 
33  public:
34  virtual ~DeframingProtocol() {};
45  };
49 
52  void setup(DeframingProtocolInterface& interface
53  );
54 
58  U32& needed
59  ) = 0;
60 
61  protected:
63 };
64 } // namespace Svc
65 #endif // SVC_DEFRAMING_PROTOCOL_HPP
virtual DeframingStatus deframe(Types::CircularBuffer &buffer, U32 &needed)=0
DeframingProtocolInterface * m_interface
interface supplied to the deframing protocol
Abstract base class representing a deframing protocol.
DeframingStatus
Status of the deframing call.
RateGroupDivider component implementation.
void setup(DeframingProtocolInterface &interface)