F´ Flight Software - C/C++ Documentation
A framework for building embedded system applications to NASA flight quality standards.
GenericHubComponentAc.hpp
Go to the documentation of this file.
1 // ======================================================================
2 // \title GenericHubComponentAc.hpp
3 // \author Generated by fpp-to-cpp
4 // \brief hpp file for GenericHub component base class
5 // ======================================================================
6 
7 #ifndef Svc_GenericHubComponentAc_HPP
8 #define Svc_GenericHubComponentAc_HPP
9 
13 #include "Fw/Com/ComPortAc.hpp"
15 #include "Fw/FPrimeBasicTypes.hpp"
16 #include "Fw/Log/LogPortAc.hpp"
17 #if !FW_DIRECT_PORT_CALLS
19 #endif
20 #if !FW_DIRECT_PORT_CALLS
22 #endif
23 #include "Fw/Tlm/TlmPortAc.hpp"
24 
25 static_assert(
27  "GenericHub component requires serialization"
28 );
29 
30 namespace Svc {
31 
77  {
78 
79  // ----------------------------------------------------------------------
80  // Friend classes
81  // ----------------------------------------------------------------------
82 
84  friend class GenericHubTesterBase;
86  friend class GenericHubTester;
87 
88  protected:
89 
90  // ----------------------------------------------------------------------
91  // Constants
92  // ----------------------------------------------------------------------
93 
95  enum {
104  };
105 
107  enum {
109  };
110 
112  enum {
123  };
124 
126  enum {
128  };
129 
130  public:
131 
132  // ----------------------------------------------------------------------
133  // Component initialization
134  // ----------------------------------------------------------------------
135 
137  void init(
138  FwEnumStoreType instance = 0
139  );
140 
141 #if !FW_DIRECT_PORT_CALLS
142 
143  public:
144 
145  // ----------------------------------------------------------------------
146  // Getters for typed input ports
147  // ----------------------------------------------------------------------
148 
153  FwIndexType portNum
154  );
155 
160  FwIndexType portNum
161  );
162 
167  FwIndexType portNum
168  );
169 
174  FwIndexType portNum
175  );
176 
181  FwIndexType portNum
182  );
183 
188  FwIndexType portNum
189  );
190 
195  FwIndexType portNum
196  );
197 
202  FwIndexType portNum
203  );
204 
205 #endif
206 
207 #if !FW_DIRECT_PORT_CALLS
208 
209  public:
210 
211  // ----------------------------------------------------------------------
212  // Getters for serial input ports
213  // ----------------------------------------------------------------------
214 
218  Fw::InputSerializePort* get_serialIn_InputPort(
219  FwIndexType portNum
220  );
221 
222 #endif
223 
224 #if !FW_DIRECT_PORT_CALLS
225 
226  public:
227 
228  // ----------------------------------------------------------------------
229  // Connect typed input ports to typed output ports
230  // ----------------------------------------------------------------------
231 
234  FwIndexType portNum,
236  );
237 
240  FwIndexType portNum,
242  );
243 
246  FwIndexType portNum,
248  );
249 
252  FwIndexType portNum,
253  Fw::InputComPort* port
254  );
255 
258  FwIndexType portNum,
260  );
261 
264  FwIndexType portNum,
266  );
267 
270  FwIndexType portNum,
271  Fw::InputLogPort* port
272  );
273 
276  FwIndexType portNum,
278  );
279 
282  FwIndexType portNum,
283  Fw::InputTlmPort* port
284  );
285 
288  FwIndexType portNum,
290  );
291 
292 #endif
293 
294 #if !FW_DIRECT_PORT_CALLS && FW_PORT_SERIALIZATION
295 
296  public:
297 
298  // ----------------------------------------------------------------------
299  // Connect serial input ports to typed output ports
300  // ----------------------------------------------------------------------
301 
304  FwIndexType portNum,
305  Fw::InputSerializePort* port
306  );
307 
310  FwIndexType portNum,
311  Fw::InputSerializePort* port
312  );
313 
316  FwIndexType portNum,
317  Fw::InputSerializePort* port
318  );
319 
322  FwIndexType portNum,
323  Fw::InputSerializePort* port
324  );
325 
328  FwIndexType portNum,
329  Fw::InputSerializePort* port
330  );
331 
334  FwIndexType portNum,
335  Fw::InputSerializePort* port
336  );
337 
340  FwIndexType portNum,
341  Fw::InputSerializePort* port
342  );
343 
346  FwIndexType portNum,
347  Fw::InputSerializePort* port
348  );
349 
352  FwIndexType portNum,
353  Fw::InputSerializePort* port
354  );
355 
356 #endif
357 
358 #if !FW_DIRECT_PORT_CALLS && FW_PORT_SERIALIZATION
359 
360  public:
361 
362  // ----------------------------------------------------------------------
363  // Connect typed and serial input ports to serial output ports
364  // ----------------------------------------------------------------------
365 
367  void set_serialOut_OutputPort(
368  FwIndexType portNum,
369  Fw::InputPortBase* port
370  );
371 
372 #endif
373 
374  protected:
375 
376  // ----------------------------------------------------------------------
377  // Component construction and destruction
378  // ----------------------------------------------------------------------
379 
382  const char* compName = ""
383  );
384 
386  virtual ~GenericHubComponentBase();
387 
388  protected:
389 
390  // ----------------------------------------------------------------------
391  // Getters for numbers of typed input ports
392  // ----------------------------------------------------------------------
393 
399  }
400 
406  }
407 
413  }
414 
420  }
421 
427  }
428 
434  }
435 
440  return NUM_TLMIN_INPUT_PORTS;
441  }
442 
448  }
449 
450  protected:
451 
452  // ----------------------------------------------------------------------
453  // Getters for numbers of serial input ports
454  // ----------------------------------------------------------------------
455 
461  }
462 
463  protected:
464 
465  // ----------------------------------------------------------------------
466  // Getters for numbers of typed output ports
467  // ----------------------------------------------------------------------
468 
474  }
475 
481  }
482 
488  }
489 
495  }
496 
502  }
503 
509  }
510 
516  }
517 
523  }
524 
530  }
531 
537  }
538 
539  protected:
540 
541  // ----------------------------------------------------------------------
542  // Getters for numbers of serial output ports
543  // ----------------------------------------------------------------------
544 
550  }
551 
552  protected:
553 
554  // ----------------------------------------------------------------------
555  // Connection status queries for typed output ports
556  // ----------------------------------------------------------------------
557 
562  FwIndexType portNum
563  ) const;
564 
569  FwIndexType portNum
570  ) const;
571 
576  FwIndexType portNum
577  ) const;
578 
583  FwIndexType portNum
584  ) const;
585 
590  FwIndexType portNum
591  ) const;
592 
597  FwIndexType portNum
598  ) const;
599 
604  FwIndexType portNum
605  ) const;
606 
611  FwIndexType portNum
612  ) const;
613 
618  FwIndexType portNum
619  ) const;
620 
625  FwIndexType portNum
626  ) const;
627 
628  protected:
629 
630  // ----------------------------------------------------------------------
631  // Connection status queries for serial output ports
632  // ----------------------------------------------------------------------
633 
638  FwIndexType portNum
639  ) const;
640 
641  protected:
642 
643  // ----------------------------------------------------------------------
644  // Handlers to implement for typed input ports
645  // ----------------------------------------------------------------------
646 
648  virtual void bufferIn_handler(
649  FwIndexType portNum,
650  Fw::Buffer& fwBuffer
651  ) = 0;
652 
654  virtual void bufferOutReturn_handler(
655  FwIndexType portNum,
656  Fw::Buffer& fwBuffer
657  ) = 0;
658 
660  virtual void cmdDispIn_handler(
661  FwIndexType portNum,
662  Fw::ComBuffer& data,
663  U32 context
664  ) = 0;
665 
667  virtual void cmdRespIn_handler(
668  FwIndexType portNum,
669  FwOpcodeType opCode,
670  U32 cmdSeq,
671  const Fw::CmdResponse& response
672  ) = 0;
673 
675  virtual void eventIn_handler(
676  FwIndexType portNum,
677  FwEventIdType id,
678  Fw::Time& timeTag,
679  const Fw::LogSeverity& severity,
680  Fw::LogBuffer& args
681  ) = 0;
682 
684  virtual void fromBufferDriver_handler(
685  FwIndexType portNum,
686  Fw::Buffer& fwBuffer
687  ) = 0;
688 
690  virtual void tlmIn_handler(
691  FwIndexType portNum,
692  FwChanIdType id,
693  Fw::Time& timeTag,
694  Fw::TlmBuffer& val
695  ) = 0;
696 
698  virtual void toBufferDriverReturn_handler(
699  FwIndexType portNum,
700  Fw::Buffer& fwBuffer
701  ) = 0;
702 
703 #if FW_DIRECT_PORT_CALLS
704  public:
705 #else
706  protected:
707 #endif
708 
709  // ----------------------------------------------------------------------
710  // Port handler base-class functions for typed input ports
711  //
712  // Call these functions directly to bypass the corresponding ports
713  // ----------------------------------------------------------------------
714 
717  FwIndexType portNum,
718  Fw::Buffer& fwBuffer
719  );
720 
723  FwIndexType portNum,
724  Fw::Buffer& fwBuffer
725  );
726 
729  FwIndexType portNum,
730  Fw::ComBuffer& data,
731  U32 context
732  );
733 
736  FwIndexType portNum,
737  FwOpcodeType opCode,
738  U32 cmdSeq,
739  const Fw::CmdResponse& response
740  );
741 
743  void eventIn_handlerBase(
744  FwIndexType portNum,
745  FwEventIdType id,
746  Fw::Time& timeTag,
747  const Fw::LogSeverity& severity,
748  Fw::LogBuffer& args
749  );
750 
753  FwIndexType portNum,
754  Fw::Buffer& fwBuffer
755  );
756 
758  void tlmIn_handlerBase(
759  FwIndexType portNum,
760  FwChanIdType id,
761  Fw::Time& timeTag,
762  Fw::TlmBuffer& val
763  );
764 
767  FwIndexType portNum,
768  Fw::Buffer& fwBuffer
769  );
770 
771  protected:
772 
773  // ----------------------------------------------------------------------
774  // Handlers to implement for serial input ports
775  // ----------------------------------------------------------------------
776 
778  virtual void serialIn_handler(
779  FwIndexType portNum,
780  Fw::LinearBufferBase& buffer
781  ) = 0;
782 
783 #if FW_DIRECT_PORT_CALLS
784  public:
785 #else
786  protected:
787 #endif
788 
789  // ----------------------------------------------------------------------
790  // Port handler base-class functions for serial input ports
791  //
792  // Call these functions directly to bypass the corresponding ports
793  // ----------------------------------------------------------------------
794 
797  FwIndexType portNum,
798  Fw::LinearBufferBase& buffer
799  );
800 
801  protected:
802 
803  // ----------------------------------------------------------------------
804  // Invocation functions for typed output ports
805  // ----------------------------------------------------------------------
806 
809  FwIndexType portNum,
810  FwSizeType size
811  ) const;
812 
814  void bufferInReturn_out(
815  FwIndexType portNum,
816  Fw::Buffer& fwBuffer
817  ) const;
818 
820  void bufferOut_out(
821  FwIndexType portNum,
822  Fw::Buffer& fwBuffer
823  ) const;
824 
826  void cmdDispOut_out(
827  FwIndexType portNum,
828  Fw::ComBuffer& data,
829  U32 context
830  ) const;
831 
833  void cmdRespOut_out(
834  FwIndexType portNum,
835  FwOpcodeType opCode,
836  U32 cmdSeq,
837  const Fw::CmdResponse& response
838  ) const;
839 
841  void deallocate_out(
842  FwIndexType portNum,
843  Fw::Buffer& fwBuffer
844  ) const;
845 
847  void eventOut_out(
848  FwIndexType portNum,
849  FwEventIdType id,
850  Fw::Time& timeTag,
851  const Fw::LogSeverity& severity,
852  Fw::LogBuffer& args
853  ) const;
854 
857  FwIndexType portNum,
858  Fw::Buffer& fwBuffer
859  ) const;
860 
862  void tlmOut_out(
863  FwIndexType portNum,
864  FwChanIdType id,
865  Fw::Time& timeTag,
866  Fw::TlmBuffer& val
867  ) const;
868 
870  void toBufferDriver_out(
871  FwIndexType portNum,
872  Fw::Buffer& fwBuffer
873  ) const;
874 
875  protected:
876 
877  // ----------------------------------------------------------------------
878  // Invocation functions for serial output ports
879  // ----------------------------------------------------------------------
880 
883  FwIndexType portNum,
884  Fw::LinearBufferBase& buffer
885  );
886 
887  private:
888 
889  // ----------------------------------------------------------------------
890  // Calls for messages received on typed input ports
891  // ----------------------------------------------------------------------
892 
894  static void m_p_bufferIn_in(
895  Fw::PassiveComponentBase* callComp,
896  FwIndexType portNum,
897  Fw::Buffer& fwBuffer
898  );
899 
901  static void m_p_bufferOutReturn_in(
902  Fw::PassiveComponentBase* callComp,
903  FwIndexType portNum,
904  Fw::Buffer& fwBuffer
905  );
906 
908  static void m_p_cmdDispIn_in(
909  Fw::PassiveComponentBase* callComp,
910  FwIndexType portNum,
911  Fw::ComBuffer& data,
912  U32 context
913  );
914 
916  static void m_p_cmdRespIn_in(
917  Fw::PassiveComponentBase* callComp,
918  FwIndexType portNum,
919  FwOpcodeType opCode,
920  U32 cmdSeq,
921  const Fw::CmdResponse& response
922  );
923 
925  static void m_p_eventIn_in(
926  Fw::PassiveComponentBase* callComp,
927  FwIndexType portNum,
928  FwEventIdType id,
929  Fw::Time& timeTag,
930  const Fw::LogSeverity& severity,
931  Fw::LogBuffer& args
932  );
933 
935  static void m_p_fromBufferDriver_in(
936  Fw::PassiveComponentBase* callComp,
937  FwIndexType portNum,
938  Fw::Buffer& fwBuffer
939  );
940 
942  static void m_p_tlmIn_in(
943  Fw::PassiveComponentBase* callComp,
944  FwIndexType portNum,
945  FwChanIdType id,
946  Fw::Time& timeTag,
947  Fw::TlmBuffer& val
948  );
949 
951  static void m_p_toBufferDriverReturn_in(
952  Fw::PassiveComponentBase* callComp,
953  FwIndexType portNum,
954  Fw::Buffer& fwBuffer
955  );
956 
957  private:
958 
959  // ----------------------------------------------------------------------
960  // Calls for messages received on serial input ports
961  // ----------------------------------------------------------------------
962 
963 #if FW_PORT_SERIALIZATION
964 
966  static void m_p_serialIn_in(
967  Fw::PassiveComponentBase* callComp,
968  FwIndexType portNum,
969  Fw::LinearBufferBase& buffer
970  );
971 
972 #endif
973 
974 #if !FW_DIRECT_PORT_CALLS
975 
976  private:
977 
978  // ----------------------------------------------------------------------
979  // Typed input ports
980  // ----------------------------------------------------------------------
981 
984 
986  Fw::InputBufferSendPort m_bufferOutReturn_InputPort[NUM_BUFFEROUTRETURN_INPUT_PORTS];
987 
989  Fw::InputComPort m_cmdDispIn_InputPort[NUM_CMDDISPIN_INPUT_PORTS];
990 
993 
995  Fw::InputLogPort m_eventIn_InputPort[NUM_EVENTIN_INPUT_PORTS];
996 
998  Fw::InputBufferSendPort m_fromBufferDriver_InputPort[NUM_FROMBUFFERDRIVER_INPUT_PORTS];
999 
1001  Fw::InputTlmPort m_tlmIn_InputPort[NUM_TLMIN_INPUT_PORTS];
1002 
1004  Fw::InputBufferSendPort m_toBufferDriverReturn_InputPort[NUM_TOBUFFERDRIVERRETURN_INPUT_PORTS];
1005 
1006 #endif
1007 
1008 #if !FW_DIRECT_PORT_CALLS
1009 
1010  private:
1011 
1012  // ----------------------------------------------------------------------
1013  // Serial input ports
1014  // ----------------------------------------------------------------------
1015 
1017  Fw::InputSerializePort m_serialIn_InputPort[NUM_SERIALIN_INPUT_PORTS];
1018 
1019 #endif
1020 
1021 #if !FW_DIRECT_PORT_CALLS
1022 
1023  private:
1024 
1025  // ----------------------------------------------------------------------
1026  // Typed output ports
1027  // ----------------------------------------------------------------------
1028 
1030  Fw::OutputBufferGetPort m_allocate_OutputPort[NUM_ALLOCATE_OUTPUT_PORTS];
1031 
1033  Fw::OutputBufferSendPort m_bufferInReturn_OutputPort[NUM_BUFFERINRETURN_OUTPUT_PORTS];
1034 
1036  Fw::OutputBufferSendPort m_bufferOut_OutputPort[NUM_BUFFEROUT_OUTPUT_PORTS];
1037 
1039  Fw::OutputComPort m_cmdDispOut_OutputPort[NUM_CMDDISPOUT_OUTPUT_PORTS];
1040 
1042  Fw::OutputCmdResponsePort m_cmdRespOut_OutputPort[NUM_CMDRESPOUT_OUTPUT_PORTS];
1043 
1045  Fw::OutputBufferSendPort m_deallocate_OutputPort[NUM_DEALLOCATE_OUTPUT_PORTS];
1046 
1048  Fw::OutputLogPort m_eventOut_OutputPort[NUM_EVENTOUT_OUTPUT_PORTS];
1049 
1051  Fw::OutputBufferSendPort m_fromBufferDriverReturn_OutputPort[NUM_FROMBUFFERDRIVERRETURN_OUTPUT_PORTS];
1052 
1054  Fw::OutputTlmPort m_tlmOut_OutputPort[NUM_TLMOUT_OUTPUT_PORTS];
1055 
1057  Fw::OutputBufferSendPort m_toBufferDriver_OutputPort[NUM_TOBUFFERDRIVER_OUTPUT_PORTS];
1058 
1059 #endif
1060 
1061 #if !FW_DIRECT_PORT_CALLS
1062 
1063  private:
1064 
1065  // ----------------------------------------------------------------------
1066  // Serial output ports
1067  // ----------------------------------------------------------------------
1068 
1070  Fw::OutputSerializePort m_serialOut_OutputPort[NUM_SERIALOUT_OUTPUT_PORTS];
1071 
1072 #endif
1073 
1074  };
1075 
1076 }
1077 
1078 #endif
static constexpr FwIndexType getNum_allocate_OutputPorts()
friend class GenericHubTester
Friend class tester implementation to support white-box testing.
void set_bufferOut_OutputPort(FwIndexType portNum, Fw::InputBufferSendPort *port)
Connect port to bufferOut[portNum].
static constexpr FwIndexType getNum_cmdDispIn_InputPorts()
virtual ~GenericHubComponentBase()
Destroy GenericHubComponentBase object.
virtual void fromBufferDriver_handler(FwIndexType portNum, Fw::Buffer &fwBuffer)=0
Handler for input port fromBufferDriver.
FwIdType FwOpcodeType
The type of a command opcode.
bool isConnected_tlmOut_OutputPort(FwIndexType portNum) const
bool isConnected_cmdDispOut_OutputPort(FwIndexType portNum) const
PlatformSizeType FwSizeType
void fromBufferDriver_handlerBase(FwIndexType portNum, Fw::Buffer &fwBuffer)
Handler base-class function for input port fromBufferDriver.
I32 FwEnumStoreType
void set_allocate_OutputPort(FwIndexType portNum, Fw::InputBufferGetPort *port)
Connect port to allocate[portNum].
Fw::Buffer allocate_out(FwIndexType portNum, FwSizeType size) const
Invoke output port allocate.
void set_cmdDispOut_OutputPort(FwIndexType portNum, Fw::InputComPort *port)
Connect port to cmdDispOut[portNum].
virtual void toBufferDriverReturn_handler(FwIndexType portNum, Fw::Buffer &fwBuffer)=0
Handler for input port toBufferDriverReturn.
void set_eventOut_OutputPort(FwIndexType portNum, Fw::InputLogPort *port)
Connect port to eventOut[portNum].
static constexpr FwIndexType getNum_tlmIn_InputPorts()
static constexpr FwIndexType getNum_cmdDispOut_OutputPorts()
static constexpr FwIndexType getNum_serialIn_InputPorts()
static constexpr FwIndexType getNum_eventOut_OutputPorts()
bool isConnected_allocate_OutputPort(FwIndexType portNum) const
void set_bufferInReturn_OutputPort(FwIndexType portNum, Fw::InputBufferSendPort *port)
Connect port to bufferInReturn[portNum].
static constexpr FwIndexType getNum_fromBufferDriver_InputPorts()
bool isConnected_bufferOut_OutputPort(FwIndexType portNum) const
void cmdRespIn_handlerBase(FwIndexType portNum, FwOpcodeType opCode, U32 cmdSeq, const Fw::CmdResponse &response)
Handler base-class function for input port cmdRespIn.
static constexpr FwIndexType getNum_serialOut_OutputPorts()
virtual void cmdRespIn_handler(FwIndexType portNum, FwOpcodeType opCode, U32 cmdSeq, const Fw::CmdResponse &response)=0
Handler for input port cmdRespIn.
static constexpr FwIndexType getNum_bufferInReturn_OutputPorts()
Enum representing a command response.
Fw::InputBufferSendPort * get_bufferOutReturn_InputPort(FwIndexType portNum)
void eventIn_handlerBase(FwIndexType portNum, FwEventIdType id, Fw::Time &timeTag, const Fw::LogSeverity &severity, Fw::LogBuffer &args)
Handler base-class function for input port eventIn.
void tlmIn_handlerBase(FwIndexType portNum, FwChanIdType id, Fw::Time &timeTag, Fw::TlmBuffer &val)
Handler base-class function for input port tlmIn.
bool isConnected_deallocate_OutputPort(FwIndexType portNum) const
static constexpr FwIndexType getNum_bufferOut_OutputPorts()
void init()
Object initializer.
Definition: ObjBase.cpp:24
void set_tlmOut_OutputPort(FwIndexType portNum, Fw::InputTlmPort *port)
Connect port to tlmOut[portNum].
static constexpr FwIndexType getNum_cmdRespIn_InputPorts()
Auto-generated base for GenericHub component.
SerializeStatus
forward declaration for string
void set_toBufferDriver_OutputPort(FwIndexType portNum, Fw::InputBufferSendPort *port)
Connect port to toBufferDriver[portNum].
FwIdType FwEventIdType
The type of an event identifier.
void cmdDispIn_handlerBase(FwIndexType portNum, Fw::ComBuffer &data, U32 context)
Handler base-class function for input port cmdDispIn.
Fw::InputCmdResponsePort * get_cmdRespIn_InputPort(FwIndexType portNum)
Fw::InputSerializePort * get_serialIn_InputPort(FwIndexType portNum)
void bufferOutReturn_handlerBase(FwIndexType portNum, Fw::Buffer &fwBuffer)
Handler base-class function for input port bufferOutReturn.
static constexpr FwIndexType getNum_cmdRespOut_OutputPorts()
void deallocate_out(FwIndexType portNum, Fw::Buffer &fwBuffer) const
Invoke output port deallocate.
void set_fromBufferDriverReturn_OutputPort(FwIndexType portNum, Fw::InputBufferSendPort *port)
Connect port to fromBufferDriverReturn[portNum].
static constexpr FwIndexType getNum_eventIn_InputPorts()
bool isConnected_cmdRespOut_OutputPort(FwIndexType portNum) const
void bufferOut_out(FwIndexType portNum, Fw::Buffer &fwBuffer) const
Invoke output port bufferOut.
void set_cmdRespOut_OutputPort(FwIndexType portNum, Fw::InputCmdResponsePort *port)
Connect port to cmdRespOut[portNum].
FwIdType FwChanIdType
The type of a telemetry channel identifier.
virtual void eventIn_handler(FwIndexType portNum, FwEventIdType id, Fw::Time &timeTag, const Fw::LogSeverity &severity, Fw::LogBuffer &args)=0
Handler for input port eventIn.
friend class GenericHubTesterBase
Friend class tester to support autocoded test harness.
static constexpr FwIndexType getNum_tlmOut_OutputPorts()
void bufferInReturn_out(FwIndexType portNum, Fw::Buffer &fwBuffer) const
Invoke output port bufferInReturn.
Enum representing event severity.
void cmdRespOut_out(FwIndexType portNum, FwOpcodeType opCode, U32 cmdSeq, const Fw::CmdResponse &response) const
Invoke output port cmdRespOut.
static constexpr FwIndexType getNum_bufferIn_InputPorts()
void eventOut_out(FwIndexType portNum, FwEventIdType id, Fw::Time &timeTag, const Fw::LogSeverity &severity, Fw::LogBuffer &args) const
Invoke output port eventOut.
Fw::SerializeStatus serialOut_out(FwIndexType portNum, Fw::LinearBufferBase &buffer)
Invoke output port serialOut.
static constexpr FwIndexType getNum_fromBufferDriverReturn_OutputPorts()
bool isConnected_serialOut_OutputPort(FwIndexType portNum) const
Fw::InputLogPort * get_eventIn_InputPort(FwIndexType portNum)
virtual void cmdDispIn_handler(FwIndexType portNum, Fw::ComBuffer &data, U32 context)=0
Handler for input port cmdDispIn.
void tlmOut_out(FwIndexType portNum, FwChanIdType id, Fw::Time &timeTag, Fw::TlmBuffer &val) const
Invoke output port tlmOut.
PlatformIndexType FwIndexType
void bufferIn_handlerBase(FwIndexType portNum, Fw::Buffer &fwBuffer)
Handler base-class function for input port bufferIn.
void toBufferDriverReturn_handlerBase(FwIndexType portNum, Fw::Buffer &fwBuffer)
Handler base-class function for input port toBufferDriverReturn.
Fw::InputComPort * get_cmdDispIn_InputPort(FwIndexType portNum)
bool isConnected_eventOut_OutputPort(FwIndexType portNum) const
RateGroupDivider component implementation.
bool isConnected_fromBufferDriverReturn_OutputPort(FwIndexType portNum) const
Fw::InputBufferSendPort * get_bufferIn_InputPort(FwIndexType portNum)
Fw::InputBufferSendPort * get_fromBufferDriver_InputPort(FwIndexType portNum)
virtual void tlmIn_handler(FwIndexType portNum, FwChanIdType id, Fw::Time &timeTag, Fw::TlmBuffer &val)=0
Handler for input port tlmIn.
void set_deallocate_OutputPort(FwIndexType portNum, Fw::InputBufferSendPort *port)
Connect port to deallocate[portNum].
Fw::InputTlmPort * get_tlmIn_InputPort(FwIndexType portNum)
GenericHubComponentBase(const char *compName="")
Construct GenericHubComponentBase object.
void toBufferDriver_out(FwIndexType portNum, Fw::Buffer &fwBuffer) const
Invoke output port toBufferDriver.
static constexpr FwIndexType getNum_toBufferDriverReturn_InputPorts()
Fw::InputBufferSendPort * get_toBufferDriverReturn_InputPort(FwIndexType portNum)
bool isConnected_toBufferDriver_OutputPort(FwIndexType portNum) const
static constexpr FwIndexType getNum_deallocate_OutputPorts()
static constexpr FwIndexType getNum_bufferOutReturn_InputPorts()
virtual void bufferIn_handler(FwIndexType portNum, Fw::Buffer &fwBuffer)=0
Handler for input port bufferIn.
virtual void bufferOutReturn_handler(FwIndexType portNum, Fw::Buffer &fwBuffer)=0
Handler for input port bufferOutReturn.
void cmdDispOut_out(FwIndexType portNum, Fw::ComBuffer &data, U32 context) const
Invoke output port cmdDispOut.
static constexpr FwIndexType getNum_toBufferDriver_OutputPorts()
virtual void serialIn_handler(FwIndexType portNum, Fw::LinearBufferBase &buffer)=0
Handler for input port serialIn.
bool isConnected_bufferInReturn_OutputPort(FwIndexType portNum) const
void serialIn_handlerBase(FwIndexType portNum, Fw::LinearBufferBase &buffer)
Handler base-class function for input port serialIn.
#define FW_PORT_SERIALIZATION
calls for multi-note systems)
Definition: FpConfig.h:83
void fromBufferDriverReturn_out(FwIndexType portNum, Fw::Buffer &fwBuffer) const
Invoke output port fromBufferDriverReturn.