F´ Flight Software - C/C++ Documentation
A framework for building embedded system applications to NASA flight quality standards.
DpWriterComponentAc.hpp
Go to the documentation of this file.
1 // ======================================================================
2 // \title DpWriterComponentAc.hpp
3 // \author Generated by fpp-to-cpp
4 // \brief hpp file for DpWriter component base class
5 // ======================================================================
6 
7 #ifndef Svc_DpWriterComponentAc_HPP
8 #define Svc_DpWriterComponentAc_HPP
9 
10 #include <atomic>
11 
13 #include "Fw/Cmd/CmdPortAc.hpp"
14 #include "Fw/Cmd/CmdRegPortAc.hpp"
16 #include "Fw/Cmd/CmdString.hpp"
18 #include "Fw/FPrimeBasicTypes.hpp"
19 #include "Fw/Log/LogPortAc.hpp"
20 #include "Fw/Log/LogString.hpp"
21 #if FW_ENABLE_TEXT_LOGGING == 1
22 #include "Fw/Log/LogTextPortAc.hpp"
23 #endif
26 #include "Fw/Time/TimePortAc.hpp"
27 #include "Fw/Tlm/TlmPortAc.hpp"
28 #include "Fw/Tlm/TlmString.hpp"
31 
32 namespace Svc {
33 
40  {
41 
42  // ----------------------------------------------------------------------
43  // Friend classes
44  // ----------------------------------------------------------------------
45 
49  friend class DpWriterTesterBase;
50 
51  PROTECTED:
52 
53  // ----------------------------------------------------------------------
54  // Constants
55  // ----------------------------------------------------------------------
56 
58  enum {
60  };
61 
63  enum {
66  };
67 
69  enum {
76  };
77 
79  enum {
83  };
84 
86  enum {
88  };
89 
91  enum {
100  };
101 
103  enum {
111  };
112 
114  enum {
120  };
121 
122  public:
123 
124  // ----------------------------------------------------------------------
125  // Component initialization
126  // ----------------------------------------------------------------------
127 
129  void init(
130  FwSizeType queueDepth,
131  FwEnumStoreType instance = 0
132  );
133 
134  public:
135 
136  // ----------------------------------------------------------------------
137  // Getters for special input ports
138  // ----------------------------------------------------------------------
139 
144  FwIndexType portNum
145  );
146 
147  public:
148 
149  // ----------------------------------------------------------------------
150  // Getters for typed input ports
151  // ----------------------------------------------------------------------
152 
157  FwIndexType portNum
158  );
159 
164  FwIndexType portNum
165  );
166 
167  public:
168 
169  // ----------------------------------------------------------------------
170  // Connect input ports to special output ports
171  // ----------------------------------------------------------------------
172 
175  FwIndexType portNum,
176  Fw::InputCmdRegPort* port
177  );
178 
181  FwIndexType portNum,
183  );
184 
187  FwIndexType portNum,
188  Fw::InputLogPort* port
189  );
190 
191 #if FW_ENABLE_TEXT_LOGGING == 1
192 
194  void set_textEventOut_OutputPort(
195  FwIndexType portNum,
196  Fw::InputLogTextPort* port
197  );
198 
199 #endif
200 
203  FwIndexType portNum,
204  Fw::InputTimePort* port
205  );
206 
209  FwIndexType portNum,
210  Fw::InputTlmPort* port
211  );
212 
213  public:
214 
215  // ----------------------------------------------------------------------
216  // Connect typed input ports to typed output ports
217  // ----------------------------------------------------------------------
218 
221  FwIndexType portNum,
223  );
224 
227  FwIndexType portNum,
229  );
230 
233  FwIndexType portNum,
235  );
236 
237 #if FW_PORT_SERIALIZATION
238 
239  public:
240 
241  // ----------------------------------------------------------------------
242  // Connect serial input ports to special output ports
243  // ----------------------------------------------------------------------
244 
247  FwIndexType portNum,
248  Fw::InputSerializePort* port
249  );
250 
253  FwIndexType portNum,
254  Fw::InputSerializePort* port
255  );
256 
259  FwIndexType portNum,
260  Fw::InputSerializePort* port
261  );
262 
263 #if FW_ENABLE_TEXT_LOGGING == 1
264 
266  void set_textEventOut_OutputPort(
267  FwIndexType portNum,
268  Fw::InputSerializePort* port
269  );
270 
271 #endif
272 
275  FwIndexType portNum,
276  Fw::InputSerializePort* port
277  );
278 
281  FwIndexType portNum,
282  Fw::InputSerializePort* port
283  );
284 
285 #endif
286 
287 #if FW_PORT_SERIALIZATION
288 
289  public:
290 
291  // ----------------------------------------------------------------------
292  // Connect serial input ports to typed output ports
293  // ----------------------------------------------------------------------
294 
297  FwIndexType portNum,
298  Fw::InputSerializePort* port
299  );
300 
303  FwIndexType portNum,
304  Fw::InputSerializePort* port
305  );
306 
309  FwIndexType portNum,
310  Fw::InputSerializePort* port
311  );
312 
313 #endif
314 
315  public:
316 
317  // ----------------------------------------------------------------------
318  // Command registration
319  // ----------------------------------------------------------------------
320 
324  void regCommands();
325 
326  PROTECTED:
327 
328  // ----------------------------------------------------------------------
329  // Component construction and destruction
330  // ----------------------------------------------------------------------
331 
334  const char* compName = ""
335  );
336 
338  virtual ~DpWriterComponentBase();
339 
340  PROTECTED:
341 
342  // ----------------------------------------------------------------------
343  // Getters for numbers of special input ports
344  // ----------------------------------------------------------------------
345 
350 
351  PROTECTED:
352 
353  // ----------------------------------------------------------------------
354  // Getters for numbers of typed input ports
355  // ----------------------------------------------------------------------
356 
361 
366 
367  PROTECTED:
368 
369  // ----------------------------------------------------------------------
370  // Getters for numbers of special output ports
371  // ----------------------------------------------------------------------
372 
377 
382 
387 
388 #if FW_ENABLE_TEXT_LOGGING == 1
389 
393  FwIndexType getNum_textEventOut_OutputPorts() const;
394 
395 #endif
396 
401 
406 
407  PROTECTED:
408 
409  // ----------------------------------------------------------------------
410  // Getters for numbers of typed output ports
411  // ----------------------------------------------------------------------
412 
417 
422 
427 
428  PROTECTED:
429 
430  // ----------------------------------------------------------------------
431  // Connection status queries for special output ports
432  // ----------------------------------------------------------------------
433 
438  FwIndexType portNum
439  );
440 
445  FwIndexType portNum
446  );
447 
452  FwIndexType portNum
453  );
454 
455 #if FW_ENABLE_TEXT_LOGGING == 1
456 
460  bool isConnected_textEventOut_OutputPort(
461  FwIndexType portNum
462  );
463 
464 #endif
465 
470  FwIndexType portNum
471  );
472 
477  FwIndexType portNum
478  );
479 
480  PROTECTED:
481 
482  // ----------------------------------------------------------------------
483  // Connection status queries for typed output ports
484  // ----------------------------------------------------------------------
485 
490  FwIndexType portNum
491  );
492 
497  FwIndexType portNum
498  );
499 
504  FwIndexType portNum
505  );
506 
507  PROTECTED:
508 
509  // ----------------------------------------------------------------------
510  // Handlers to implement for typed input ports
511  // ----------------------------------------------------------------------
512 
514  virtual void bufferSendIn_handler(
515  FwIndexType portNum,
516  Fw::Buffer& fwBuffer
517  ) = 0;
518 
520  virtual void schedIn_handler(
521  FwIndexType portNum,
522  U32 context
523  ) = 0;
524 
525  PROTECTED:
526 
527  // ----------------------------------------------------------------------
528  // Port handler base-class functions for typed input ports
529  //
530  // Call these functions directly to bypass the corresponding ports
531  // ----------------------------------------------------------------------
532 
535  FwIndexType portNum,
536  Fw::Buffer& fwBuffer
537  );
538 
540  void schedIn_handlerBase(
541  FwIndexType portNum,
542  U32 context
543  );
544 
545  PROTECTED:
546 
547  // ----------------------------------------------------------------------
548  // Pre-message hooks for typed async input ports
549  //
550  // Each of these functions is invoked just before processing a message
551  // on the corresponding port. By default, they do nothing. You can
552  // override them to provide specific pre-message behavior.
553  // ----------------------------------------------------------------------
554 
556  virtual void bufferSendIn_preMsgHook(
557  FwIndexType portNum,
558  Fw::Buffer& fwBuffer
559  );
560 
562  virtual void schedIn_preMsgHook(
563  FwIndexType portNum,
564  U32 context
565  );
566 
567  PROTECTED:
568 
569  // ----------------------------------------------------------------------
570  // Invocation functions for typed output ports
571  // ----------------------------------------------------------------------
572 
575  FwIndexType portNum,
576  Fw::Buffer& fwBuffer
577  );
578 
580  void dpWrittenOut_out(
581  FwIndexType portNum,
582  const Fw::StringBase& fileName,
583  FwDpPriorityType priority,
584  FwSizeType size
585  );
586 
589  FwIndexType portNum,
590  Fw::Buffer& fwBuffer
591  );
592 
593  PROTECTED:
594 
595  // ----------------------------------------------------------------------
596  // Command response
597  // ----------------------------------------------------------------------
598 
600  void cmdResponse_out(
601  FwOpcodeType opCode,
602  U32 cmdSeq,
603  Fw::CmdResponse response
604  );
605 
606  PROTECTED:
607 
608  // ----------------------------------------------------------------------
609  // Command handlers to implement
610  // ----------------------------------------------------------------------
611 
615  virtual void CLEAR_EVENT_THROTTLE_cmdHandler(
616  FwOpcodeType opCode,
617  U32 cmdSeq
618  ) = 0;
619 
620  PROTECTED:
621 
622  // ----------------------------------------------------------------------
623  // Command handler base-class functions
624  //
625  // Call these functions directly to bypass the command input port
626  // ----------------------------------------------------------------------
627 
632  FwOpcodeType opCode,
633  U32 cmdSeq,
634  Fw::CmdArgBuffer& args
635  );
636 
637  PROTECTED:
638 
639  // ----------------------------------------------------------------------
640  // Pre-message hooks for async commands
641  //
642  // Each of these functions is invoked just before processing the
643  // corresponding command. By default they do nothing. You can
644  // override them to provide specific pre-command behavior.
645  // ----------------------------------------------------------------------
646 
648  virtual void CLEAR_EVENT_THROTTLE_preMsgHook(
649  FwOpcodeType opCode,
650  U32 cmdSeq
651  );
652 
653  PROTECTED:
654 
655  // ----------------------------------------------------------------------
656  // Event logging functions
657  // ----------------------------------------------------------------------
658 
663 
668  U32 bufferSize,
669  U32 minSize
670  );
671 
676  U32 bufferSize,
677  U32 storedHash,
678  U32 computedHash
679  );
680 
685  U32 bufferSize,
686  U32 errorCode
687  );
688 
693  U32 bufferSize,
694  U32 minSize
695  );
696 
701  U32 status,
702  const Fw::StringBase& file
703  );
704 
709  U32 status,
710  U32 bytesWritten,
711  U32 bytesToWrite,
712  const Fw::StringBase& file
713  );
714 
719  U32 bytes,
720  const Fw::StringBase& file
721  ) const;
722 
723  PROTECTED:
724 
725  // ----------------------------------------------------------------------
726  // Event throttle reset functions
727  // ----------------------------------------------------------------------
728 
731 
734 
737 
740 
743 
746 
749 
750  PROTECTED:
751 
752  // ----------------------------------------------------------------------
753  // Telemetry write functions
754  // ----------------------------------------------------------------------
755 
760  U32 arg,
761  Fw::Time _tlmTime = Fw::Time()
762  );
763 
768  U64 arg,
769  Fw::Time _tlmTime = Fw::Time()
770  );
771 
776  U32 arg,
777  Fw::Time _tlmTime = Fw::Time()
778  );
779 
784  U32 arg,
785  Fw::Time _tlmTime = Fw::Time()
786  );
787 
791  void tlmWrite_NumErrors(
792  U32 arg,
793  Fw::Time _tlmTime = Fw::Time()
794  );
795 
796  PROTECTED:
797 
798  // ----------------------------------------------------------------------
799  // Time
800  // ----------------------------------------------------------------------
801 
805  Fw::Time getTime() const;
806 
807  PRIVATE:
808 
809  // ----------------------------------------------------------------------
810  // Message dispatch functions
811  // ----------------------------------------------------------------------
812 
814  virtual MsgDispatchStatus doDispatch();
815 
816  PRIVATE:
817 
818  // ----------------------------------------------------------------------
819  // Calls for messages received on special input ports
820  // ----------------------------------------------------------------------
821 
823  static void m_p_cmdIn_in(
824  Fw::PassiveComponentBase* callComp,
825  FwIndexType portNum,
826  FwOpcodeType opCode,
827  U32 cmdSeq,
828  Fw::CmdArgBuffer& args
829  );
830 
831  PRIVATE:
832 
833  // ----------------------------------------------------------------------
834  // Calls for messages received on typed input ports
835  // ----------------------------------------------------------------------
836 
838  static void m_p_bufferSendIn_in(
839  Fw::PassiveComponentBase* callComp,
840  FwIndexType portNum,
841  Fw::Buffer& fwBuffer
842  );
843 
845  static void m_p_schedIn_in(
846  Fw::PassiveComponentBase* callComp,
847  FwIndexType portNum,
848  U32 context
849  );
850 
851  PRIVATE:
852 
853  // ----------------------------------------------------------------------
854  // Special input ports
855  // ----------------------------------------------------------------------
856 
858  Fw::InputCmdPort m_cmdIn_InputPort[NUM_CMDIN_INPUT_PORTS];
859 
860  PRIVATE:
861 
862  // ----------------------------------------------------------------------
863  // Typed input ports
864  // ----------------------------------------------------------------------
865 
867  Fw::InputBufferSendPort m_bufferSendIn_InputPort[NUM_BUFFERSENDIN_INPUT_PORTS];
868 
870  Svc::InputSchedPort m_schedIn_InputPort[NUM_SCHEDIN_INPUT_PORTS];
871 
872  PRIVATE:
873 
874  // ----------------------------------------------------------------------
875  // Special output ports
876  // ----------------------------------------------------------------------
877 
879  Fw::OutputCmdRegPort m_cmdRegIn_OutputPort[NUM_CMDREGIN_OUTPUT_PORTS];
880 
882  Fw::OutputCmdResponsePort m_cmdResponseOut_OutputPort[NUM_CMDRESPONSEOUT_OUTPUT_PORTS];
883 
885  Fw::OutputLogPort m_eventOut_OutputPort[NUM_EVENTOUT_OUTPUT_PORTS];
886 
887 #if FW_ENABLE_TEXT_LOGGING == 1
888 
890  Fw::OutputLogTextPort m_textEventOut_OutputPort[NUM_TEXTEVENTOUT_OUTPUT_PORTS];
891 
892 #endif
893 
895  Fw::OutputTimePort m_timeGetOut_OutputPort[NUM_TIMEGETOUT_OUTPUT_PORTS];
896 
898  Fw::OutputTlmPort m_tlmOut_OutputPort[NUM_TLMOUT_OUTPUT_PORTS];
899 
900  PRIVATE:
901 
902  // ----------------------------------------------------------------------
903  // Typed output ports
904  // ----------------------------------------------------------------------
905 
907  Fw::OutputBufferSendPort m_deallocBufferSendOut_OutputPort[NUM_DEALLOCBUFFERSENDOUT_OUTPUT_PORTS];
908 
910  Svc::OutputDpWrittenPort m_dpWrittenOut_OutputPort[NUM_DPWRITTENOUT_OUTPUT_PORTS];
911 
913  Fw::OutputBufferSendPort m_procBufferSendOut_OutputPort[NUM_PROCBUFFERSENDOUT_OUTPUT_PORTS];
914 
915  PRIVATE:
916 
917  // ----------------------------------------------------------------------
918  // Counter values for event throttling
919  // ----------------------------------------------------------------------
920 
922  std::atomic<FwIndexType> m_InvalidBufferThrottle;
923 
925  std::atomic<FwIndexType> m_BufferTooSmallForPacketThrottle;
926 
928  std::atomic<FwIndexType> m_InvalidHeaderHashThrottle;
929 
931  std::atomic<FwIndexType> m_InvalidHeaderThrottle;
932 
934  std::atomic<FwIndexType> m_BufferTooSmallForDataThrottle;
935 
937  std::atomic<FwIndexType> m_FileOpenErrorThrottle;
938 
940  std::atomic<FwIndexType> m_FileWriteErrorThrottle;
941 
942  PRIVATE:
943 
944  // ----------------------------------------------------------------------
945  // First update flags for telemetry channels
946  // ----------------------------------------------------------------------
947 
949  bool m_first_update_NumBuffersReceived;
950 
952  bool m_first_update_NumBytesWritten;
953 
955  bool m_first_update_NumSuccessfulWrites;
956 
958  bool m_first_update_NumFailedWrites;
959 
961  bool m_first_update_NumErrors;
962 
963  PRIVATE:
964 
965  // ----------------------------------------------------------------------
966  // Last value storage for telemetry channels
967  // ----------------------------------------------------------------------
968 
970  U32 m_last_NumBuffersReceived;
971 
973  U64 m_last_NumBytesWritten;
974 
976  U32 m_last_NumSuccessfulWrites;
977 
979  U32 m_last_NumFailedWrites;
980 
982  U32 m_last_NumErrors;
983 
984  };
985 
986 }
987 
988 #endif
void deallocBufferSendOut_out(FwIndexType portNum, Fw::Buffer &fwBuffer)
Invoke output port deallocBufferSendOut.
FwIndexType getNum_cmdResponseOut_OutputPorts() const
Definition: Time.hpp:9
virtual ~DpWriterComponentBase()
Destroy DpWriterComponentBase object.
bool isConnected_procBufferSendOut_OutputPort(FwIndexType portNum)
void schedIn_handlerBase(FwIndexType portNum, U32 context)
Handler base-class function for input port schedIn.
virtual void CLEAR_EVENT_THROTTLE_cmdHandler(FwOpcodeType opCode, U32 cmdSeq)=0
PlatformSizeType FwSizeType
U32 FwDpPriorityType
The type of a data product priority.
I32 FwEnumStoreType
void set_dpWrittenOut_OutputPort(FwIndexType portNum, Svc::InputDpWrittenPort *port)
Connect port to dpWrittenOut[portNum].
bool isConnected_deallocBufferSendOut_OutputPort(FwIndexType portNum)
void log_WARNING_HI_BufferTooSmallForPacket(U32 bufferSize, U32 minSize)
void log_WARNING_HI_BufferTooSmallForData(U32 bufferSize, U32 minSize)
void cmdResponse_out(FwOpcodeType opCode, U32 cmdSeq, Fw::CmdResponse response)
Emit command response.
FwIndexType getNum_cmdRegIn_OutputPorts() const
Enum representing a command response.
virtual void bufferSendIn_preMsgHook(FwIndexType portNum, Fw::Buffer &fwBuffer)
Pre-message hook for async input port bufferSendIn.
bool isConnected_tlmOut_OutputPort(FwIndexType portNum)
void tlmWrite_NumErrors(U32 arg, Fw::Time _tlmTime=Fw::Time())
void init()
Object initializer.
Definition: ObjBase.cpp:26
FwIndexType getNum_schedIn_InputPorts() const
Fw::InputBufferSendPort * get_bufferSendIn_InputPort(FwIndexType portNum)
void log_WARNING_HI_InvalidBuffer_ThrottleClear()
Reset throttle value for InvalidBuffer.
void tlmWrite_NumFailedWrites(U32 arg, Fw::Time _tlmTime=Fw::Time())
void log_WARNING_HI_FileWriteError_ThrottleClear()
Reset throttle value for FileWriteError.
U32 FwOpcodeType
The type of a command opcode.
void CLEAR_EVENT_THROTTLE_cmdHandlerBase(FwOpcodeType opCode, U32 cmdSeq, Fw::CmdArgBuffer &args)
FwIndexType getNum_timeGetOut_OutputPorts() const
bool isConnected_dpWrittenOut_OutputPort(FwIndexType portNum)
Error occurred when deserializing the packet header.
void procBufferSendOut_out(FwIndexType portNum, Fw::Buffer &fwBuffer)
Invoke output port procBufferSendOut.
void dpWrittenOut_out(FwIndexType portNum, const Fw::StringBase &fileName, FwDpPriorityType priority, FwSizeType size)
Invoke output port dpWrittenOut.
Fw::InputCmdPort * get_cmdIn_InputPort(FwIndexType portNum)
void set_deallocBufferSendOut_OutputPort(FwIndexType portNum, Fw::InputBufferSendPort *port)
Connect port to deallocBufferSendOut[portNum].
void tlmWrite_NumBuffersReceived(U32 arg, Fw::Time _tlmTime=Fw::Time())
bool isConnected_eventOut_OutputPort(FwIndexType portNum)
void log_WARNING_HI_BufferTooSmallForData_ThrottleClear()
Reset throttle value for BufferTooSmallForData.
void log_WARNING_HI_FileOpenError_ThrottleClear()
Reset throttle value for FileOpenError.
DpWriterComponentBase(const char *compName="")
Construct DpWriterComponentBase object.
void log_WARNING_HI_FileOpenError(U32 status, const Fw::StringBase &file)
void log_WARNING_HI_InvalidHeader_ThrottleClear()
Reset throttle value for InvalidHeader.
void log_WARNING_HI_InvalidHeaderHash_ThrottleClear()
Reset throttle value for InvalidHeaderHash.
friend class DpWriterComponentBaseFriend
Friend class for white-box testing.
void regCommands()
Register commands with the Command Dispatcher.
FwIndexType getNum_bufferSendIn_InputPorts() const
void set_tlmOut_OutputPort(FwIndexType portNum, Fw::InputTlmPort *port)
Connect port to tlmOut[portNum].
void set_cmdResponseOut_OutputPort(FwIndexType portNum, Fw::InputCmdResponsePort *port)
Connect port to cmdResponseOut[portNum].
void log_ACTIVITY_LO_FileWritten(U32 bytes, const Fw::StringBase &file) const
virtual void CLEAR_EVENT_THROTTLE_preMsgHook(FwOpcodeType opCode, U32 cmdSeq)
Pre-message hook for command CLEAR_EVENT_THROTTLE.
virtual void schedIn_handler(FwIndexType portNum, U32 context)=0
Handler for input port schedIn.
FwIndexType getNum_tlmOut_OutputPorts() const
PlatformIndexType FwIndexType
void set_eventOut_OutputPort(FwIndexType portNum, Fw::InputLogPort *port)
Connect port to eventOut[portNum].
Received buffer is too small to hold a data product packet.
FwIndexType getNum_cmdIn_InputPorts() const
virtual void bufferSendIn_handler(FwIndexType portNum, Fw::Buffer &fwBuffer)=0
Handler for input port bufferSendIn.
bool isConnected_cmdResponseOut_OutputPort(FwIndexType portNum)
FwIndexType getNum_dpWrittenOut_OutputPorts() const
Received buffer is too small to hold the data specified in the header.
void log_WARNING_HI_FileWriteError(U32 status, U32 bytesWritten, U32 bytesToWrite, const Fw::StringBase &file)
The received buffer has an invalid header hash.
void set_timeGetOut_OutputPort(FwIndexType portNum, Fw::InputTimePort *port)
Connect port to timeGetOut[portNum].
RateGroupDivider component implementation.
bool isConnected_cmdRegIn_OutputPort(FwIndexType portNum)
friend class DpWriterTesterBase
Friend class tester to support autocoded test harness.
FwIndexType getNum_deallocBufferSendOut_OutputPorts() const
void bufferSendIn_handlerBase(FwIndexType portNum, Fw::Buffer &fwBuffer)
Handler base-class function for input port bufferSendIn.
void tlmWrite_NumBytesWritten(U64 arg, Fw::Time _tlmTime=Fw::Time())
An error occurred when writing to a file.
virtual void schedIn_preMsgHook(FwIndexType portNum, U32 context)
Pre-message hook for async input port schedIn.
void log_WARNING_HI_InvalidHeaderHash(U32 bufferSize, U32 storedHash, U32 computedHash)
void log_WARNING_HI_InvalidHeader(U32 bufferSize, U32 errorCode)
void tlmWrite_NumSuccessfulWrites(U32 arg, Fw::Time _tlmTime=Fw::Time())
void log_WARNING_HI_BufferTooSmallForPacket_ThrottleClear()
Reset throttle value for BufferTooSmallForPacket.
An error occurred when opening a file.
void set_procBufferSendOut_OutputPort(FwIndexType portNum, Fw::InputBufferSendPort *port)
Connect port to procBufferSendOut[portNum].
FwIndexType getNum_procBufferSendOut_OutputPorts() const
Svc::InputSchedPort * get_schedIn_InputPort(FwIndexType portNum)
void set_cmdRegIn_OutputPort(FwIndexType portNum, Fw::InputCmdRegPort *port)
Connect port to cmdRegIn[portNum].
Auto-generated base for DpWriter component.
FwIndexType getNum_eventOut_OutputPorts() const
bool isConnected_timeGetOut_OutputPort(FwIndexType portNum)
#define U64(C)
Definition: sha.h:180