F´ Flight Software - C/C++ Documentation
A framework for building embedded system applications to NASA flight quality standards.
ClearTextEncryptor.hpp
Go to the documentation of this file.
1 // ======================================================================
2 // \title ClearTextEncryptor.hpp
3 // \author lestarch-autobot
4 // \brief hpp file for ClearTextEncryptor component implementation class
5 // ======================================================================
6 
7 #ifndef Svc_Ccsds_ClearTextEncryptor_HPP
8 #define Svc_Ccsds_ClearTextEncryptor_HPP
9 
10 #include "Svc/Ccsds/ClearTextEncryptor/ClearTextEncryptorComponentAc.hpp"
11 
12 namespace Svc {
13 
14 namespace Ccsds {
15 
16 class ClearTextEncryptor final : public ClearTextEncryptorComponentBase {
17  public:
18  // ----------------------------------------------------------------------
19  // Component construction and destruction
20  // ----------------------------------------------------------------------
21 
23  ClearTextEncryptor(const char* const compName
24  );
25 
28 
29  private:
30  // ----------------------------------------------------------------------
31  // Handler implementations for typed input ports
32  // ----------------------------------------------------------------------
33 
37  void encryptIn_handler(FwIndexType portNum,
38  U16 securityAssociationIndex,
39  Fw::Buffer& data,
40  const ComCfg::FrameContext& context) override;
41 
45  void encryptReturnIn_handler(FwIndexType portNum,
46  Fw::Buffer& data,
47  const ComCfg::FrameContext& context) override;
48 };
49 
50 } // namespace Ccsds
51 
52 } // namespace Svc
53 
54 #endif
~ClearTextEncryptor()
Destroy ClearTextEncryptor object.
PlatformIndexType FwIndexType
Type used to pass context info between components during framing/deframing.
RateGroupDivider component implementation.
ClearTextEncryptor(const char *const compName)
Construct ClearTextEncryptor object.