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"
32 
33 namespace Svc {
34 
41  {
42 
43  // ----------------------------------------------------------------------
44  // Friend classes
45  // ----------------------------------------------------------------------
46 
48  friend class DpWriterTesterBase;
50  friend class DpWriterTester;
51 
52  PROTECTED:
53 
54  // ----------------------------------------------------------------------
55  // Constants
56  // ----------------------------------------------------------------------
57 
59  enum {
61  };
62 
64  enum {
67  };
68 
70  enum {
77  };
78 
80  enum {
84  };
85 
87  enum {
89  };
90 
92  enum {
101  };
102 
104  enum {
112  };
113 
115  enum {
121  };
122 
123  public:
124 
125  // ----------------------------------------------------------------------
126  // Component initialization
127  // ----------------------------------------------------------------------
128 
130  void init(
131  FwSizeType queueDepth,
132  FwEnumStoreType instance = 0
133  );
134 
135  public:
136 
137  // ----------------------------------------------------------------------
138  // Getters for special input ports
139  // ----------------------------------------------------------------------
140 
145  FwIndexType portNum
146  );
147 
148  public:
149 
150  // ----------------------------------------------------------------------
151  // Getters for typed input ports
152  // ----------------------------------------------------------------------
153 
158  FwIndexType portNum
159  );
160 
165  FwIndexType portNum
166  );
167 
168  public:
169 
170  // ----------------------------------------------------------------------
171  // Connect input ports to special output ports
172  // ----------------------------------------------------------------------
173 
176  FwIndexType portNum,
177  Fw::InputCmdRegPort* port
178  );
179 
182  FwIndexType portNum,
184  );
185 
188  FwIndexType portNum,
189  Fw::InputLogPort* port
190  );
191 
192 #if FW_ENABLE_TEXT_LOGGING == 1
193 
195  void set_textEventOut_OutputPort(
196  FwIndexType portNum,
197  Fw::InputLogTextPort* port
198  );
199 
200 #endif
201 
204  FwIndexType portNum,
205  Fw::InputTimePort* port
206  );
207 
210  FwIndexType portNum,
211  Fw::InputTlmPort* port
212  );
213 
214  public:
215 
216  // ----------------------------------------------------------------------
217  // Connect typed input ports to typed output ports
218  // ----------------------------------------------------------------------
219 
222  FwIndexType portNum,
224  );
225 
228  FwIndexType portNum,
230  );
231 
234  FwIndexType portNum,
236  );
237 
238 #if FW_PORT_SERIALIZATION
239 
240  public:
241 
242  // ----------------------------------------------------------------------
243  // Connect serial input ports to special output ports
244  // ----------------------------------------------------------------------
245 
248  FwIndexType portNum,
249  Fw::InputSerializePort* port
250  );
251 
254  FwIndexType portNum,
255  Fw::InputSerializePort* port
256  );
257 
260  FwIndexType portNum,
261  Fw::InputSerializePort* port
262  );
263 
264 #if FW_ENABLE_TEXT_LOGGING == 1
265 
267  void set_textEventOut_OutputPort(
268  FwIndexType portNum,
269  Fw::InputSerializePort* port
270  );
271 
272 #endif
273 
276  FwIndexType portNum,
277  Fw::InputSerializePort* port
278  );
279 
282  FwIndexType portNum,
283  Fw::InputSerializePort* port
284  );
285 
286 #endif
287 
288 #if FW_PORT_SERIALIZATION
289 
290  public:
291 
292  // ----------------------------------------------------------------------
293  // Connect serial input ports to typed output ports
294  // ----------------------------------------------------------------------
295 
298  FwIndexType portNum,
299  Fw::InputSerializePort* port
300  );
301 
304  FwIndexType portNum,
305  Fw::InputSerializePort* port
306  );
307 
310  FwIndexType portNum,
311  Fw::InputSerializePort* port
312  );
313 
314 #endif
315 
316  public:
317 
318  // ----------------------------------------------------------------------
319  // Command registration
320  // ----------------------------------------------------------------------
321 
325  void regCommands();
326 
327  PROTECTED:
328 
329  // ----------------------------------------------------------------------
330  // Component construction and destruction
331  // ----------------------------------------------------------------------
332 
335  const char* compName = ""
336  );
337 
339  virtual ~DpWriterComponentBase();
340 
341  PROTECTED:
342 
343  // ----------------------------------------------------------------------
344  // Getters for numbers of special input ports
345  // ----------------------------------------------------------------------
346 
351 
352  PROTECTED:
353 
354  // ----------------------------------------------------------------------
355  // Getters for numbers of typed input ports
356  // ----------------------------------------------------------------------
357 
362 
367 
368  PROTECTED:
369 
370  // ----------------------------------------------------------------------
371  // Getters for numbers of special output ports
372  // ----------------------------------------------------------------------
373 
378 
383 
388 
389 #if FW_ENABLE_TEXT_LOGGING == 1
390 
394  FwIndexType getNum_textEventOut_OutputPorts() const;
395 
396 #endif
397 
402 
407 
408  PROTECTED:
409 
410  // ----------------------------------------------------------------------
411  // Getters for numbers of typed output ports
412  // ----------------------------------------------------------------------
413 
418 
423 
428 
429  PROTECTED:
430 
431  // ----------------------------------------------------------------------
432  // Connection status queries for special output ports
433  // ----------------------------------------------------------------------
434 
439  FwIndexType portNum
440  );
441 
446  FwIndexType portNum
447  );
448 
453  FwIndexType portNum
454  );
455 
456 #if FW_ENABLE_TEXT_LOGGING == 1
457 
461  bool isConnected_textEventOut_OutputPort(
462  FwIndexType portNum
463  );
464 
465 #endif
466 
471  FwIndexType portNum
472  );
473 
478  FwIndexType portNum
479  );
480 
481  PROTECTED:
482 
483  // ----------------------------------------------------------------------
484  // Connection status queries for typed output ports
485  // ----------------------------------------------------------------------
486 
491  FwIndexType portNum
492  );
493 
498  FwIndexType portNum
499  );
500 
505  FwIndexType portNum
506  );
507 
508  PROTECTED:
509 
510  // ----------------------------------------------------------------------
511  // Handlers to implement for typed input ports
512  // ----------------------------------------------------------------------
513 
515  virtual void bufferSendIn_handler(
516  FwIndexType portNum,
517  Fw::Buffer& fwBuffer
518  ) = 0;
519 
521  virtual void schedIn_handler(
522  FwIndexType portNum,
523  U32 context
524  ) = 0;
525 
526  PROTECTED:
527 
528  // ----------------------------------------------------------------------
529  // Port handler base-class functions for typed input ports
530  //
531  // Call these functions directly to bypass the corresponding ports
532  // ----------------------------------------------------------------------
533 
536  FwIndexType portNum,
537  Fw::Buffer& fwBuffer
538  );
539 
541  void schedIn_handlerBase(
542  FwIndexType portNum,
543  U32 context
544  );
545 
546  PROTECTED:
547 
548  // ----------------------------------------------------------------------
549  // Pre-message hooks for typed async input ports
550  //
551  // Each of these functions is invoked just before processing a message
552  // on the corresponding port. By default, they do nothing. You can
553  // override them to provide specific pre-message behavior.
554  // ----------------------------------------------------------------------
555 
557  virtual void bufferSendIn_preMsgHook(
558  FwIndexType portNum,
559  Fw::Buffer& fwBuffer
560  );
561 
563  virtual void schedIn_preMsgHook(
564  FwIndexType portNum,
565  U32 context
566  );
567 
568  PROTECTED:
569 
570  // ----------------------------------------------------------------------
571  // Invocation functions for typed output ports
572  // ----------------------------------------------------------------------
573 
576  FwIndexType portNum,
577  Fw::Buffer& fwBuffer
578  );
579 
581  void dpWrittenOut_out(
582  FwIndexType portNum,
583  const Fw::StringBase& fileName,
584  FwDpPriorityType priority,
585  FwSizeType size
586  );
587 
590  FwIndexType portNum,
591  Fw::Buffer& fwBuffer
592  );
593 
594  PROTECTED:
595 
596  // ----------------------------------------------------------------------
597  // Command response
598  // ----------------------------------------------------------------------
599 
601  void cmdResponse_out(
602  FwOpcodeType opCode,
603  U32 cmdSeq,
604  Fw::CmdResponse response
605  );
606 
607  PROTECTED:
608 
609  // ----------------------------------------------------------------------
610  // Command handlers to implement
611  // ----------------------------------------------------------------------
612 
616  virtual void CLEAR_EVENT_THROTTLE_cmdHandler(
617  FwOpcodeType opCode,
618  U32 cmdSeq
619  ) = 0;
620 
621  PROTECTED:
622 
623  // ----------------------------------------------------------------------
624  // Command handler base-class functions
625  //
626  // Call these functions directly to bypass the command input port
627  // ----------------------------------------------------------------------
628 
633  FwOpcodeType opCode,
634  U32 cmdSeq,
635  Fw::CmdArgBuffer& args
636  );
637 
638  PROTECTED:
639 
640  // ----------------------------------------------------------------------
641  // Pre-message hooks for async commands
642  //
643  // Each of these functions is invoked just before processing the
644  // corresponding command. By default they do nothing. You can
645  // override them to provide specific pre-command behavior.
646  // ----------------------------------------------------------------------
647 
649  virtual void CLEAR_EVENT_THROTTLE_preMsgHook(
650  FwOpcodeType opCode,
651  U32 cmdSeq
652  );
653 
654  PROTECTED:
655 
656  // ----------------------------------------------------------------------
657  // Event logging functions
658  // ----------------------------------------------------------------------
659 
664 
669  FwSizeType bufferSize,
670  U32 minSize
671  );
672 
677  FwSizeType bufferSize,
678  U32 storedHash,
679  U32 computedHash
680  );
681 
686  FwSizeType bufferSize,
687  U32 errorCode
688  );
689 
694  FwSizeType bufferSize,
695  U32 minSize
696  );
697 
702  U32 status,
703  const Fw::StringBase& file
704  );
705 
710  U32 status,
711  U32 bytesWritten,
712  U32 bytesToWrite,
713  const Fw::StringBase& file
714  );
715 
720  U32 bytes,
721  const Fw::StringBase& file
722  ) const;
723 
724  PROTECTED:
725 
726  // ----------------------------------------------------------------------
727  // Event throttle reset functions
728  // ----------------------------------------------------------------------
729 
732 
735 
738 
741 
744 
747 
750 
751  PROTECTED:
752 
753  // ----------------------------------------------------------------------
754  // Telemetry write functions
755  // ----------------------------------------------------------------------
756 
761  U32 arg,
762  Fw::Time _tlmTime = Fw::Time()
763  );
764 
769  U64 arg,
770  Fw::Time _tlmTime = Fw::Time()
771  );
772 
777  U32 arg,
778  Fw::Time _tlmTime = Fw::Time()
779  );
780 
785  U32 arg,
786  Fw::Time _tlmTime = Fw::Time()
787  );
788 
792  void tlmWrite_NumErrors(
793  U32 arg,
794  Fw::Time _tlmTime = Fw::Time()
795  );
796 
797  PROTECTED:
798 
799  // ----------------------------------------------------------------------
800  // Time
801  // ----------------------------------------------------------------------
802 
806  Fw::Time getTime() const;
807 
808  PRIVATE:
809 
810  // ----------------------------------------------------------------------
811  // Message dispatch functions
812  // ----------------------------------------------------------------------
813 
815  virtual MsgDispatchStatus doDispatch();
816 
817  PRIVATE:
818 
819  // ----------------------------------------------------------------------
820  // Calls for messages received on special input ports
821  // ----------------------------------------------------------------------
822 
824  static void m_p_cmdIn_in(
825  Fw::PassiveComponentBase* callComp,
826  FwIndexType portNum,
827  FwOpcodeType opCode,
828  U32 cmdSeq,
829  Fw::CmdArgBuffer& args
830  );
831 
832  PRIVATE:
833 
834  // ----------------------------------------------------------------------
835  // Calls for messages received on typed input ports
836  // ----------------------------------------------------------------------
837 
839  static void m_p_bufferSendIn_in(
840  Fw::PassiveComponentBase* callComp,
841  FwIndexType portNum,
842  Fw::Buffer& fwBuffer
843  );
844 
846  static void m_p_schedIn_in(
847  Fw::PassiveComponentBase* callComp,
848  FwIndexType portNum,
849  U32 context
850  );
851 
852  PRIVATE:
853 
854  // ----------------------------------------------------------------------
855  // Special input ports
856  // ----------------------------------------------------------------------
857 
859  Fw::InputCmdPort m_cmdIn_InputPort[NUM_CMDIN_INPUT_PORTS];
860 
861  PRIVATE:
862 
863  // ----------------------------------------------------------------------
864  // Typed input ports
865  // ----------------------------------------------------------------------
866 
868  Fw::InputBufferSendPort m_bufferSendIn_InputPort[NUM_BUFFERSENDIN_INPUT_PORTS];
869 
871  Svc::InputSchedPort m_schedIn_InputPort[NUM_SCHEDIN_INPUT_PORTS];
872 
873  PRIVATE:
874 
875  // ----------------------------------------------------------------------
876  // Special output ports
877  // ----------------------------------------------------------------------
878 
880  Fw::OutputCmdRegPort m_cmdRegIn_OutputPort[NUM_CMDREGIN_OUTPUT_PORTS];
881 
883  Fw::OutputCmdResponsePort m_cmdResponseOut_OutputPort[NUM_CMDRESPONSEOUT_OUTPUT_PORTS];
884 
886  Fw::OutputLogPort m_eventOut_OutputPort[NUM_EVENTOUT_OUTPUT_PORTS];
887 
888 #if FW_ENABLE_TEXT_LOGGING == 1
889 
891  Fw::OutputLogTextPort m_textEventOut_OutputPort[NUM_TEXTEVENTOUT_OUTPUT_PORTS];
892 
893 #endif
894 
896  Fw::OutputTimePort m_timeGetOut_OutputPort[NUM_TIMEGETOUT_OUTPUT_PORTS];
897 
899  Fw::OutputTlmPort m_tlmOut_OutputPort[NUM_TLMOUT_OUTPUT_PORTS];
900 
901  PRIVATE:
902 
903  // ----------------------------------------------------------------------
904  // Typed output ports
905  // ----------------------------------------------------------------------
906 
908  Fw::OutputBufferSendPort m_deallocBufferSendOut_OutputPort[NUM_DEALLOCBUFFERSENDOUT_OUTPUT_PORTS];
909 
911  Svc::OutputDpWrittenPort m_dpWrittenOut_OutputPort[NUM_DPWRITTENOUT_OUTPUT_PORTS];
912 
914  Fw::OutputBufferSendPort m_procBufferSendOut_OutputPort[NUM_PROCBUFFERSENDOUT_OUTPUT_PORTS];
915 
916  PRIVATE:
917 
918  // ----------------------------------------------------------------------
919  // Counter values for event throttling
920  // ----------------------------------------------------------------------
921 
923  std::atomic<FwIndexType> m_InvalidBufferThrottle;
924 
926  std::atomic<FwIndexType> m_BufferTooSmallForPacketThrottle;
927 
929  std::atomic<FwIndexType> m_InvalidHeaderHashThrottle;
930 
932  std::atomic<FwIndexType> m_InvalidHeaderThrottle;
933 
935  std::atomic<FwIndexType> m_BufferTooSmallForDataThrottle;
936 
938  std::atomic<FwIndexType> m_FileOpenErrorThrottle;
939 
941  std::atomic<FwIndexType> m_FileWriteErrorThrottle;
942 
943  PRIVATE:
944 
945  // ----------------------------------------------------------------------
946  // First update flags for telemetry channels
947  // ----------------------------------------------------------------------
948 
950  bool m_first_update_NumBuffersReceived;
951 
953  bool m_first_update_NumBytesWritten;
954 
956  bool m_first_update_NumSuccessfulWrites;
957 
959  bool m_first_update_NumFailedWrites;
960 
962  bool m_first_update_NumErrors;
963 
964  PRIVATE:
965 
966  // ----------------------------------------------------------------------
967  // Last value storage for telemetry channels
968  // ----------------------------------------------------------------------
969 
971  U32 m_last_NumBuffersReceived;
972 
974  U64 m_last_NumBytesWritten;
975 
977  U32 m_last_NumSuccessfulWrites;
978 
980  U32 m_last_NumFailedWrites;
981 
983  U32 m_last_NumErrors;
984 
985  };
986 
987 }
988 
989 #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)
FwIdType FwOpcodeType
The type of a command opcode.
void log_WARNING_HI_BufferTooSmallForData(FwSizeType bufferSize, U32 minSize)
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)
Received buffer is too small to hold a data product packet.
void cmdResponse_out(FwOpcodeType opCode, U32 cmdSeq, Fw::CmdResponse response)
Emit command response.
friend class DpWriterTester
Friend class tester implementation to support white-box testing.
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.
An error occurred when opening a file.
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.
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.
The received buffer has an invalid header hash.
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 log_WARNING_HI_InvalidHeaderHash(FwSizeType bufferSize, U32 storedHash, U32 computedHash)
void set_deallocBufferSendOut_OutputPort(FwIndexType portNum, Fw::InputBufferSendPort *port)
Connect port to deallocBufferSendOut[portNum].
An error occurred when writing to a file.
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.
void log_WARNING_HI_BufferTooSmallForPacket(FwSizeType bufferSize, U32 minSize)
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].
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
void log_WARNING_HI_FileWriteError(U32 status, U32 bytesWritten, U32 bytesToWrite, const Fw::StringBase &file)
void set_timeGetOut_OutputPort(FwIndexType portNum, Fw::InputTimePort *port)
Connect port to timeGetOut[portNum].
RateGroupDivider component implementation.
Received buffer is too small to hold the data specified in the header.
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())
virtual void schedIn_preMsgHook(FwIndexType portNum, U32 context)
Pre-message hook for async input port schedIn.
void log_WARNING_HI_InvalidHeader(FwSizeType bufferSize, U32 errorCode)
void tlmWrite_NumSuccessfulWrites(U32 arg, Fw::Time _tlmTime=Fw::Time())
void log_WARNING_HI_BufferTooSmallForPacket_ThrottleClear()
Reset throttle value for BufferTooSmallForPacket.
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