F´ Flight Software - C/C++ Documentation
A framework for building embedded system applications to NASA flight quality standards.
SdlsKeyPortAc.hpp
Go to the documentation of this file.
1 // ======================================================================
2 // \title SdlsKeyPortAc.hpp
3 // \author Generated by fpp-to-cpp
4 // \brief hpp file for SdlsKey port
5 // ======================================================================
6 
7 #ifndef Svc_Ccsds_SdlsKeyPortAc_HPP
8 #define Svc_Ccsds_SdlsKeyPortAc_HPP
9 
10 #include "Fw/FPrimeBasicTypes.hpp"
13 #if !FW_DIRECT_PORT_CALLS
17 #endif
18 
19 namespace Svc {
20 
21  namespace Ccsds {
22 
23 #if !FW_DIRECT_PORT_CALLS
24 
28  public Fw::InputPortBase
29  {
30 
31  public:
32 
33  // ----------------------------------------------------------------------
34  // Public types for InputSdlsKeyPort
35  // ----------------------------------------------------------------------
36 
39  Fw::PassiveComponentBase* callComp,
40  FwIndexType portNum,
42  );
43 
44  public:
45 
46  // ----------------------------------------------------------------------
47  // Public constructors for InputSdlsKeyPort
48  // ----------------------------------------------------------------------
49 
52 
53  public:
54 
55  // ----------------------------------------------------------------------
56  // Public member functions for InputSdlsKeyPort
57  // ----------------------------------------------------------------------
58 
60  void init();
61 
63  void addCallComp(
64  Fw::PassiveComponentBase* callComp,
65  CompFuncPtr funcPtr
66  );
67 
70 
71  private:
72 
73  // ----------------------------------------------------------------------
74  // Private member functions for InputSdlsKeyPort
75  // ----------------------------------------------------------------------
76 
77 #if FW_PORT_SERIALIZATION == 1
78 
81  Fw::SerializeStatus invokeSerial(
82  Fw::LinearBufferBase& _buffer
83  );
84 
85 #endif
86 
87  private:
88 
89  // ----------------------------------------------------------------------
90  // Private member variables for InputSdlsKeyPort
91  // ----------------------------------------------------------------------
92 
94  CompFuncPtr m_func;
95 
96  };
97 
101  public Fw::OutputPortBase
102  {
103 
104  public:
105 
106  // ----------------------------------------------------------------------
107  // Public constructors for OutputSdlsKeyPort
108  // ----------------------------------------------------------------------
109 
112 
113  public:
114 
115  // ----------------------------------------------------------------------
116  // Public member functions for OutputSdlsKeyPort
117  // ----------------------------------------------------------------------
118 
120  void init();
121 
123  void addCallPort(
124  InputSdlsKeyPort* callPort
125  );
126 
130 
131  private:
132 
133  // ----------------------------------------------------------------------
134  // Private member variables for OutputSdlsKeyPort
135  // ----------------------------------------------------------------------
136 
138  InputSdlsKeyPort* m_port;
139 
140  };
141 
142 #endif
143 
144  }
145 
146 }
147 
148 #endif
Svc::Ccsds::SdlsStatus(* CompFuncPtr)(Fw::PassiveComponentBase *callComp, FwIndexType portNum, Svc::Ccsds::SdlsKeyBuffer &key)
The port callback function type.
Svc::Ccsds::SdlsStatus invoke(Svc::Ccsds::SdlsKeyBuffer &key)
Invoke a port interface.
void addCallPort(InputSdlsKeyPort *callPort)
Register an input port.
Status of an SDLS (Space Data Link Security) encryption/decryption request.
SerializeStatus
forward declaration for string
void init()
Initialization function.
PlatformIndexType FwIndexType
RateGroupDivider component implementation.
Svc::Ccsds::SdlsStatus invoke(Svc::Ccsds::SdlsKeyBuffer &key) const
void addCallComp(Fw::PassiveComponentBase *callComp, CompFuncPtr funcPtr)
Register a component.
void init()
Initialization function.