F´ Flight Software - C/C++ Documentation
A framework for building embedded system applications to NASA flight quality standards.
BufferLoggerComponentAc.hpp
Go to the documentation of this file.
1 // ======================================================================
2 // \title BufferLoggerComponentAc.hpp
3 // \author Generated by fpp-to-cpp
4 // \brief hpp file for BufferLogger component base class
5 // ======================================================================
6 
7 #ifndef Svc_BufferLoggerComponentAc_HPP
8 #define Svc_BufferLoggerComponentAc_HPP
9 
10 #include <atomic>
11 
13 #include "Fw/Cmd/CmdPortAc.hpp"
14 #include "Fw/Cmd/CmdRegPortAc.hpp"
16 #include "Fw/Cmd/CmdString.hpp"
17 #include "Fw/Com/ComPortAc.hpp"
19 #include "Fw/FPrimeBasicTypes.hpp"
20 #include "Fw/Log/LogPortAc.hpp"
21 #include "Fw/Log/LogString.hpp"
22 #if FW_ENABLE_TEXT_LOGGING == 1
23 #include "Fw/Log/LogTextPortAc.hpp"
24 #endif
27 #include "Fw/Time/TimePortAc.hpp"
28 #include "Fw/Tlm/TlmPortAc.hpp"
29 #include "Fw/Tlm/TlmString.hpp"
31 #include "Svc/Ping/PingPortAc.hpp"
34 
35 namespace Svc {
36 
41  {
42 
43  // ----------------------------------------------------------------------
44  // Friend classes
45  // ----------------------------------------------------------------------
46 
48  friend class BufferLoggerTesterBase;
50  friend class BufferLoggerTester;
51 
52  protected:
53 
54  // ----------------------------------------------------------------------
55  // Constants
56  // ----------------------------------------------------------------------
57 
59  enum {
61  };
62 
64  enum {
69  };
70 
72  enum {
79  };
80 
82  enum {
85  };
86 
88  enum {
93  };
94 
96  enum {
104  };
105 
107  enum {
109  };
110 
111  public:
112 
113  // ----------------------------------------------------------------------
114  // Component initialization
115  // ----------------------------------------------------------------------
116 
118  void init(
119  FwSizeType queueDepth,
120  FwEnumStoreType instance = 0
121  );
122 
123  public:
124 
125  // ----------------------------------------------------------------------
126  // Getters for special input ports
127  // ----------------------------------------------------------------------
128 
133  FwIndexType portNum
134  );
135 
136  public:
137 
138  // ----------------------------------------------------------------------
139  // Getters for typed input ports
140  // ----------------------------------------------------------------------
141 
146  FwIndexType portNum
147  );
148 
153  FwIndexType portNum
154  );
155 
160  FwIndexType portNum
161  );
162 
167  FwIndexType portNum
168  );
169 
170  public:
171 
172  // ----------------------------------------------------------------------
173  // Connect input ports to special output ports
174  // ----------------------------------------------------------------------
175 
178  FwIndexType portNum,
179  Fw::InputCmdRegPort* port
180  );
181 
184  FwIndexType portNum,
186  );
187 
190  FwIndexType portNum,
191  Fw::InputLogPort* port
192  );
193 
194 #if FW_ENABLE_TEXT_LOGGING == 1
195 
197  void set_eventOutText_OutputPort(
198  FwIndexType portNum,
199  Fw::InputLogTextPort* port
200  );
201 
202 #endif
203 
206  FwIndexType portNum,
207  Fw::InputTimePort* port
208  );
209 
212  FwIndexType portNum,
213  Fw::InputTlmPort* port
214  );
215 
216  public:
217 
218  // ----------------------------------------------------------------------
219  // Connect typed input ports to typed output ports
220  // ----------------------------------------------------------------------
221 
224  FwIndexType portNum,
226  );
227 
230  FwIndexType portNum,
231  Svc::InputPingPort* port
232  );
233 
234 #if FW_PORT_SERIALIZATION
235 
236  public:
237 
238  // ----------------------------------------------------------------------
239  // Connect serial input ports to special output ports
240  // ----------------------------------------------------------------------
241 
244  FwIndexType portNum,
245  Fw::InputSerializePort* port
246  );
247 
250  FwIndexType portNum,
251  Fw::InputSerializePort* port
252  );
253 
256  FwIndexType portNum,
257  Fw::InputSerializePort* port
258  );
259 
260 #if FW_ENABLE_TEXT_LOGGING == 1
261 
263  void set_eventOutText_OutputPort(
264  FwIndexType portNum,
265  Fw::InputSerializePort* port
266  );
267 
268 #endif
269 
272  FwIndexType portNum,
273  Fw::InputSerializePort* port
274  );
275 
278  FwIndexType portNum,
279  Fw::InputSerializePort* port
280  );
281 
282 #endif
283 
284 #if FW_PORT_SERIALIZATION
285 
286  public:
287 
288  // ----------------------------------------------------------------------
289  // Connect serial input ports to typed output ports
290  // ----------------------------------------------------------------------
291 
294  FwIndexType portNum,
295  Fw::InputSerializePort* port
296  );
297 
300  FwIndexType portNum,
301  Fw::InputSerializePort* port
302  );
303 
304 #endif
305 
306  public:
307 
308  // ----------------------------------------------------------------------
309  // Command registration
310  // ----------------------------------------------------------------------
311 
315  void regCommands();
316 
317  protected:
318 
319  // ----------------------------------------------------------------------
320  // Component construction and destruction
321  // ----------------------------------------------------------------------
322 
325  const char* compName = ""
326  );
327 
329  virtual ~BufferLoggerComponentBase();
330 
331  protected:
332 
333  // ----------------------------------------------------------------------
334  // Getters for numbers of special input ports
335  // ----------------------------------------------------------------------
336 
341  return NUM_CMDIN_INPUT_PORTS;
342  }
343 
344  protected:
345 
346  // ----------------------------------------------------------------------
347  // Getters for numbers of typed input ports
348  // ----------------------------------------------------------------------
349 
355  }
356 
361  return NUM_COMIN_INPUT_PORTS;
362  }
363 
368  return NUM_PINGIN_INPUT_PORTS;
369  }
370 
376  }
377 
378  protected:
379 
380  // ----------------------------------------------------------------------
381  // Getters for numbers of special output ports
382  // ----------------------------------------------------------------------
383 
389  }
390 
396  }
397 
403  }
404 
405 #if FW_ENABLE_TEXT_LOGGING == 1
406 
410  static constexpr FwIndexType getNum_eventOutText_OutputPorts() {
412  }
413 
414 #endif
415 
421  }
422 
428  }
429 
430  protected:
431 
432  // ----------------------------------------------------------------------
433  // Getters for numbers of typed output ports
434  // ----------------------------------------------------------------------
435 
441  }
442 
448  }
449 
450  protected:
451 
452  // ----------------------------------------------------------------------
453  // Connection status queries for special output ports
454  // ----------------------------------------------------------------------
455 
460  FwIndexType portNum
461  );
462 
467  FwIndexType portNum
468  );
469 
474  FwIndexType portNum
475  );
476 
477 #if FW_ENABLE_TEXT_LOGGING == 1
478 
482  bool isConnected_eventOutText_OutputPort(
483  FwIndexType portNum
484  );
485 
486 #endif
487 
492  FwIndexType portNum
493  );
494 
499  FwIndexType portNum
500  );
501 
502  protected:
503 
504  // ----------------------------------------------------------------------
505  // Connection status queries for typed output ports
506  // ----------------------------------------------------------------------
507 
512  FwIndexType portNum
513  );
514 
519  FwIndexType portNum
520  );
521 
522  protected:
523 
524  // ----------------------------------------------------------------------
525  // Handlers to implement for typed input ports
526  // ----------------------------------------------------------------------
527 
529  virtual void bufferSendIn_handler(
530  FwIndexType portNum,
531  Fw::Buffer& fwBuffer
532  ) = 0;
533 
535  virtual void comIn_handler(
536  FwIndexType portNum,
537  Fw::ComBuffer& data,
538  U32 context
539  ) = 0;
540 
542  virtual void pingIn_handler(
543  FwIndexType portNum,
544  U32 key
545  ) = 0;
546 
548  virtual void schedIn_handler(
549  FwIndexType portNum,
550  U32 context
551  ) = 0;
552 
553  protected:
554 
555  // ----------------------------------------------------------------------
556  // Port handler base-class functions for typed input ports
557  //
558  // Call these functions directly to bypass the corresponding ports
559  // ----------------------------------------------------------------------
560 
563  FwIndexType portNum,
564  Fw::Buffer& fwBuffer
565  );
566 
568  void comIn_handlerBase(
569  FwIndexType portNum,
570  Fw::ComBuffer& data,
571  U32 context
572  );
573 
575  void pingIn_handlerBase(
576  FwIndexType portNum,
577  U32 key
578  );
579 
581  void schedIn_handlerBase(
582  FwIndexType portNum,
583  U32 context
584  );
585 
586  protected:
587 
588  // ----------------------------------------------------------------------
589  // Pre-message hooks for typed async input ports
590  //
591  // Each of these functions is invoked just before processing a message
592  // on the corresponding port. By default, they do nothing. You can
593  // override them to provide specific pre-message behavior.
594  // ----------------------------------------------------------------------
595 
597  virtual void bufferSendIn_preMsgHook(
598  FwIndexType portNum,
599  Fw::Buffer& fwBuffer
600  );
601 
603  virtual void comIn_preMsgHook(
604  FwIndexType portNum,
605  Fw::ComBuffer& data,
606  U32 context
607  );
608 
610  virtual void pingIn_preMsgHook(
611  FwIndexType portNum,
612  U32 key
613  );
614 
616  virtual void schedIn_preMsgHook(
617  FwIndexType portNum,
618  U32 context
619  );
620 
621  protected:
622 
623  // ----------------------------------------------------------------------
624  // Invocation functions for typed output ports
625  // ----------------------------------------------------------------------
626 
628  void bufferSendOut_out(
629  FwIndexType portNum,
630  Fw::Buffer& fwBuffer
631  );
632 
634  void pingOut_out(
635  FwIndexType portNum,
636  U32 key
637  );
638 
639  protected:
640 
641  // ----------------------------------------------------------------------
642  // Command response
643  // ----------------------------------------------------------------------
644 
646  void cmdResponse_out(
647  FwOpcodeType opCode,
648  U32 cmdSeq,
649  Fw::CmdResponse response
650  );
651 
652  protected:
653 
654  // ----------------------------------------------------------------------
655  // Command handlers to implement
656  // ----------------------------------------------------------------------
657 
661  virtual void BL_OpenFile_cmdHandler(
662  FwOpcodeType opCode,
663  U32 cmdSeq,
664  const Fw::CmdStringArg& file
665  ) = 0;
666 
670  virtual void BL_CloseFile_cmdHandler(
671  FwOpcodeType opCode,
672  U32 cmdSeq
673  ) = 0;
674 
678  virtual void BL_SetLogging_cmdHandler(
679  FwOpcodeType opCode,
680  U32 cmdSeq,
682  ) = 0;
683 
687  virtual void BL_FlushFile_cmdHandler(
688  FwOpcodeType opCode,
689  U32 cmdSeq
690  ) = 0;
691 
692  protected:
693 
694  // ----------------------------------------------------------------------
695  // Command handler base-class functions
696  //
697  // Call these functions directly to bypass the command input port
698  // ----------------------------------------------------------------------
699 
704  FwOpcodeType opCode,
705  U32 cmdSeq,
706  Fw::CmdArgBuffer& args
707  );
708 
713  FwOpcodeType opCode,
714  U32 cmdSeq,
715  Fw::CmdArgBuffer& args
716  );
717 
722  FwOpcodeType opCode,
723  U32 cmdSeq,
724  Fw::CmdArgBuffer& args
725  );
726 
731  FwOpcodeType opCode,
732  U32 cmdSeq,
733  Fw::CmdArgBuffer& args
734  );
735 
736  protected:
737 
738  // ----------------------------------------------------------------------
739  // Pre-message hooks for async commands
740  //
741  // Each of these functions is invoked just before processing the
742  // corresponding command. By default they do nothing. You can
743  // override them to provide specific pre-command behavior.
744  // ----------------------------------------------------------------------
745 
747  virtual void BL_OpenFile_preMsgHook(
748  FwOpcodeType opCode,
749  U32 cmdSeq
750  );
751 
753  virtual void BL_CloseFile_preMsgHook(
754  FwOpcodeType opCode,
755  U32 cmdSeq
756  );
757 
759  virtual void BL_SetLogging_preMsgHook(
760  FwOpcodeType opCode,
761  U32 cmdSeq
762  );
763 
765  virtual void BL_FlushFile_preMsgHook(
766  FwOpcodeType opCode,
767  U32 cmdSeq
768  );
769 
770  protected:
771 
772  // ----------------------------------------------------------------------
773  // Event logging functions
774  // ----------------------------------------------------------------------
775 
780  const Fw::StringBase& file
781  ) const;
782 
787  U32 errornum,
788  const Fw::StringBase& file
789  ) const;
790 
795  const Fw::StringBase& validationFile,
796  U32 status
797  ) const;
798 
803  U32 errornum,
804  U32 bytesWritten,
805  U32 bytesToWrite,
806  const Fw::StringBase& file
807  ) const;
808 
812  void log_ACTIVITY_LO_BL_Activated() const;
813 
817  void log_ACTIVITY_LO_BL_Deactivated() const;
818 
823 
824  protected:
825 
826  // ----------------------------------------------------------------------
827  // Telemetry write functions
828  // ----------------------------------------------------------------------
829 
834  U32 arg,
835  Fw::Time _tlmTime = Fw::Time()
836  ) const;
837 
838  protected:
839 
840  // ----------------------------------------------------------------------
841  // Time
842  // ----------------------------------------------------------------------
843 
847  Fw::Time getTime() const;
848 
849  private:
850 
851  // ----------------------------------------------------------------------
852  // Message dispatch functions
853  // ----------------------------------------------------------------------
854 
856  virtual MsgDispatchStatus doDispatch();
857 
858  private:
859 
860  // ----------------------------------------------------------------------
861  // Calls for messages received on special input ports
862  // ----------------------------------------------------------------------
863 
865  static void m_p_cmdIn_in(
866  Fw::PassiveComponentBase* callComp,
867  FwIndexType portNum,
868  FwOpcodeType opCode,
869  U32 cmdSeq,
870  Fw::CmdArgBuffer& args
871  );
872 
873  private:
874 
875  // ----------------------------------------------------------------------
876  // Calls for messages received on typed input ports
877  // ----------------------------------------------------------------------
878 
880  static void m_p_bufferSendIn_in(
881  Fw::PassiveComponentBase* callComp,
882  FwIndexType portNum,
883  Fw::Buffer& fwBuffer
884  );
885 
887  static void m_p_comIn_in(
888  Fw::PassiveComponentBase* callComp,
889  FwIndexType portNum,
890  Fw::ComBuffer& data,
891  U32 context
892  );
893 
895  static void m_p_pingIn_in(
896  Fw::PassiveComponentBase* callComp,
897  FwIndexType portNum,
898  U32 key
899  );
900 
902  static void m_p_schedIn_in(
903  Fw::PassiveComponentBase* callComp,
904  FwIndexType portNum,
905  U32 context
906  );
907 
908  private:
909 
910  // ----------------------------------------------------------------------
911  // Special input ports
912  // ----------------------------------------------------------------------
913 
915  Fw::InputCmdPort m_cmdIn_InputPort[NUM_CMDIN_INPUT_PORTS];
916 
917  private:
918 
919  // ----------------------------------------------------------------------
920  // Typed input ports
921  // ----------------------------------------------------------------------
922 
924  Fw::InputBufferSendPort m_bufferSendIn_InputPort[NUM_BUFFERSENDIN_INPUT_PORTS];
925 
927  Fw::InputComPort m_comIn_InputPort[NUM_COMIN_INPUT_PORTS];
928 
930  Svc::InputPingPort m_pingIn_InputPort[NUM_PINGIN_INPUT_PORTS];
931 
933  Svc::InputSchedPort m_schedIn_InputPort[NUM_SCHEDIN_INPUT_PORTS];
934 
935  private:
936 
937  // ----------------------------------------------------------------------
938  // Special output ports
939  // ----------------------------------------------------------------------
940 
942  Fw::OutputCmdRegPort m_cmdRegOut_OutputPort[NUM_CMDREGOUT_OUTPUT_PORTS];
943 
945  Fw::OutputCmdResponsePort m_cmdResponseOut_OutputPort[NUM_CMDRESPONSEOUT_OUTPUT_PORTS];
946 
948  Fw::OutputLogPort m_eventOut_OutputPort[NUM_EVENTOUT_OUTPUT_PORTS];
949 
950 #if FW_ENABLE_TEXT_LOGGING == 1
951 
953  Fw::OutputLogTextPort m_eventOutText_OutputPort[NUM_EVENTOUTTEXT_OUTPUT_PORTS];
954 
955 #endif
956 
958  Fw::OutputTimePort m_timeCaller_OutputPort[NUM_TIMECALLER_OUTPUT_PORTS];
959 
961  Fw::OutputTlmPort m_tlmOut_OutputPort[NUM_TLMOUT_OUTPUT_PORTS];
962 
963  private:
964 
965  // ----------------------------------------------------------------------
966  // Typed output ports
967  // ----------------------------------------------------------------------
968 
970  Fw::OutputBufferSendPort m_bufferSendOut_OutputPort[NUM_BUFFERSENDOUT_OUTPUT_PORTS];
971 
973  Svc::OutputPingPort m_pingOut_OutputPort[NUM_PINGOUT_OUTPUT_PORTS];
974 
975  };
976 
977 }
978 
979 #endif
void BL_SetLogging_cmdHandlerBase(FwOpcodeType opCode, U32 cmdSeq, Fw::CmdArgBuffer &args)
void set_cmdResponseOut_OutputPort(FwIndexType portNum, Fw::InputCmdResponsePort *port)
Connect port to cmdResponseOut[portNum].
void regCommands()
Register commands with the Command Dispatcher.
virtual void bufferSendIn_preMsgHook(FwIndexType portNum, Fw::Buffer &fwBuffer)
Pre-message hook for async input port bufferSendIn.
FwIdType FwOpcodeType
The type of a command opcode.
Svc::InputSchedPort * get_schedIn_InputPort(FwIndexType portNum)
PlatformSizeType FwSizeType
The Buffer Logger encountered an error writing a validation file.
bool isConnected_cmdResponseOut_OutputPort(FwIndexType portNum)
I32 FwEnumStoreType
virtual void schedIn_preMsgHook(FwIndexType portNum, U32 context)
Pre-message hook for async input port schedIn.
static constexpr FwIndexType getNum_pingIn_InputPorts()
void set_tlmOut_OutputPort(FwIndexType portNum, Fw::InputTlmPort *port)
Connect port to tlmOut[portNum].
Open a new log file with specified name; also resets unique file counter to 0.
void pingOut_out(FwIndexType portNum, U32 key)
Invoke output port pingOut.
void pingIn_handlerBase(FwIndexType portNum, U32 key)
Handler base-class function for input port pingIn.
virtual void BL_SetLogging_preMsgHook(FwOpcodeType opCode, U32 cmdSeq)
Pre-message hook for command BL_SetLogging.
virtual void BL_CloseFile_preMsgHook(FwOpcodeType opCode, U32 cmdSeq)
Pre-message hook for command BL_CloseFile.
bool isConnected_timeCaller_OutputPort(FwIndexType portNum)
virtual void BL_SetLogging_cmdHandler(FwOpcodeType opCode, U32 cmdSeq, Svc::BufferLogger_LogState state)=0
virtual void BL_OpenFile_preMsgHook(FwOpcodeType opCode, U32 cmdSeq)
Pre-message hook for command BL_OpenFile.
virtual void BL_FlushFile_preMsgHook(FwOpcodeType opCode, U32 cmdSeq)
Pre-message hook for command BL_FlushFile.
virtual void bufferSendIn_handler(FwIndexType portNum, Fw::Buffer &fwBuffer)=0
Handler for input port bufferSendIn.
Flushes the current open log file to disk; a no-op with fprime&#39;s unbuffered file I/O, so always returns success.
void BL_OpenFile_cmdHandlerBase(FwOpcodeType opCode, U32 cmdSeq, Fw::CmdArgBuffer &args)
bool isConnected_pingOut_OutputPort(FwIndexType portNum)
bool isConnected_tlmOut_OutputPort(FwIndexType portNum)
void log_DIAGNOSTIC_BL_LogFileClosed(const Fw::StringBase &file) const
Enum representing a command response.
static constexpr FwIndexType getNum_timeCaller_OutputPorts()
bool isConnected_eventOut_OutputPort(FwIndexType portNum)
void bufferSendIn_handlerBase(FwIndexType portNum, Fw::Buffer &fwBuffer)
Handler base-class function for input port bufferSendIn.
void init()
Object initializer.
Definition: ObjBase.cpp:24
virtual void comIn_handler(FwIndexType portNum, Fw::ComBuffer &data, U32 context)=0
Handler for input port comIn.
void log_WARNING_HI_BL_LogFileOpenError(U32 errornum, const Fw::StringBase &file) const
void set_pingOut_OutputPort(FwIndexType portNum, Svc::InputPingPort *port)
Connect port to pingOut[portNum].
bool isConnected_bufferSendOut_OutputPort(FwIndexType portNum)
The Buffer Logger encountered an error writing to a log file.
virtual void comIn_preMsgHook(FwIndexType portNum, Fw::ComBuffer &data, U32 context)
Pre-message hook for async input port comIn.
static constexpr FwIndexType getNum_schedIn_InputPorts()
static constexpr FwIndexType getNum_cmdRegOut_OutputPorts()
void set_bufferSendOut_OutputPort(FwIndexType portNum, Fw::InputBufferSendPort *port)
Connect port to bufferSendOut[portNum].
Fw::InputCmdPort * get_cmdIn_InputPort(FwIndexType portNum)
Auto-generated base for BufferLogger component.
static constexpr FwIndexType getNum_cmdIn_InputPorts()
The Buffer Logger encountered an error opening a log file.
void tlmWrite_BufferLogger_NumLoggedBuffers(U32 arg, Fw::Time _tlmTime=Fw::Time()) const
virtual void BL_FlushFile_cmdHandler(FwOpcodeType opCode, U32 cmdSeq)=0
void BL_CloseFile_cmdHandlerBase(FwOpcodeType opCode, U32 cmdSeq, Fw::CmdArgBuffer &args)
void log_WARNING_HI_BL_LogFileWriteError(U32 errornum, U32 bytesWritten, U32 bytesToWrite, const Fw::StringBase &file) const
BufferLoggerComponentBase(const char *compName="")
Construct BufferLoggerComponentBase object.
virtual void schedIn_handler(FwIndexType portNum, U32 context)=0
Handler for input port schedIn.
friend class BufferLoggerTesterBase
Friend class tester to support autocoded test harness.
Fw::InputBufferSendPort * get_bufferSendIn_InputPort(FwIndexType portNum)
static constexpr FwIndexType getNum_eventOut_OutputPorts()
virtual void pingIn_preMsgHook(FwIndexType portNum, U32 key)
Pre-message hook for async input port pingIn.
Close the currently open log file, if any.
void cmdResponse_out(FwOpcodeType opCode, U32 cmdSeq, Fw::CmdResponse response)
Emit command response.
Fw::InputComPort * get_comIn_InputPort(FwIndexType portNum)
void comIn_handlerBase(FwIndexType portNum, Fw::ComBuffer &data, U32 context)
Handler base-class function for input port comIn.
void bufferSendOut_out(FwIndexType portNum, Fw::Buffer &fwBuffer)
Invoke output port bufferSendOut.
virtual void pingIn_handler(FwIndexType portNum, U32 key)=0
Handler for input port pingIn.
static constexpr FwIndexType getNum_bufferSendOut_OutputPorts()
virtual ~BufferLoggerComponentBase()
Destroy BufferLoggerComponentBase object.
PlatformIndexType FwIndexType
static constexpr FwIndexType getNum_pingOut_OutputPorts()
static constexpr FwIndexType getNum_tlmOut_OutputPorts()
RateGroupDivider component implementation.
static constexpr FwIndexType getNum_cmdResponseOut_OutputPorts()
void BL_FlushFile_cmdHandlerBase(FwOpcodeType opCode, U32 cmdSeq, Fw::CmdArgBuffer &args)
bool isConnected_cmdRegOut_OutputPort(FwIndexType portNum)
void set_timeCaller_OutputPort(FwIndexType portNum, Fw::InputTimePort *port)
Connect port to timeCaller[portNum].
void set_eventOut_OutputPort(FwIndexType portNum, Fw::InputLogPort *port)
Connect port to eventOut[portNum].
friend class BufferLoggerTester
Friend class tester implementation to support white-box testing.
static constexpr FwIndexType getNum_bufferSendIn_InputPorts()
Svc::InputPingPort * get_pingIn_InputPort(FwIndexType portNum)
static constexpr FwIndexType getNum_comIn_InputPorts()
void schedIn_handlerBase(FwIndexType portNum, U32 context)
Handler base-class function for input port schedIn.
virtual void BL_CloseFile_cmdHandler(FwOpcodeType opCode, U32 cmdSeq)=0
virtual void BL_OpenFile_cmdHandler(FwOpcodeType opCode, U32 cmdSeq, const Fw::CmdStringArg &file)=0
No log file open command was received by BufferLogger.
void log_WARNING_HI_BL_LogFileValidationError(const Fw::StringBase &validationFile, U32 status) const
void set_cmdRegOut_OutputPort(FwIndexType portNum, Fw::InputCmdRegPort *port)
Connect port to cmdRegOut[portNum].