F´ Flight Software - C/C++ Documentation
A framework for building embedded system applications to NASA flight quality standards.
FileManagerComponentAc.hpp
Go to the documentation of this file.
1 // ======================================================================
2 // \title FileManagerComponentAc.hpp
3 // \author Generated by fpp-to-cpp
4 // \brief hpp file for FileManager component base class
5 // ======================================================================
6 
7 #ifndef Svc_FileManagerComponentAc_HPP
8 #define Svc_FileManagerComponentAc_HPP
9 
10 #include <atomic>
11 
12 #include "Fw/Cmd/CmdPortAc.hpp"
13 #include "Fw/Cmd/CmdRegPortAc.hpp"
15 #include "Fw/Cmd/CmdString.hpp"
17 #include "Fw/FPrimeBasicTypes.hpp"
18 #include "Fw/Log/LogPortAc.hpp"
19 #include "Fw/Log/LogString.hpp"
20 #if FW_ENABLE_TEXT_LOGGING == 1
21 #include "Fw/Log/LogTextPortAc.hpp"
22 #endif
25 #include "Fw/Time/TimePortAc.hpp"
26 #include "Fw/Tlm/TlmPortAc.hpp"
27 #include "Fw/Tlm/TlmString.hpp"
28 #include "Svc/Ping/PingPortAc.hpp"
29 
30 namespace Svc {
31 
38  {
39 
40  // ----------------------------------------------------------------------
41  // Friend classes
42  // ----------------------------------------------------------------------
43 
47  friend class FileManagerTesterBase;
48 
49  PROTECTED:
50 
51  // ----------------------------------------------------------------------
52  // Constants
53  // ----------------------------------------------------------------------
54 
56  enum {
58  };
59 
61  enum {
63  };
64 
66  enum {
73  };
74 
76  enum {
78  };
79 
81  enum {
89  };
90 
92  enum {
114  };
115 
117  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 
160  public:
161 
162  // ----------------------------------------------------------------------
163  // Connect input ports to special output ports
164  // ----------------------------------------------------------------------
165 
166 #if FW_ENABLE_TEXT_LOGGING == 1
167 
169  void set_LogText_OutputPort(
170  FwIndexType portNum,
171  Fw::InputLogTextPort* port
172  );
173 
174 #endif
175 
178  FwIndexType portNum,
179  Fw::InputCmdRegPort* port
180  );
181 
184  FwIndexType portNum,
186  );
187 
190  FwIndexType portNum,
191  Fw::InputLogPort* port
192  );
193 
196  FwIndexType portNum,
197  Fw::InputTimePort* port
198  );
199 
202  FwIndexType portNum,
203  Fw::InputTlmPort* port
204  );
205 
206  public:
207 
208  // ----------------------------------------------------------------------
209  // Connect typed input ports to typed output ports
210  // ----------------------------------------------------------------------
211 
214  FwIndexType portNum,
215  Svc::InputPingPort* port
216  );
217 
218 #if FW_PORT_SERIALIZATION
219 
220  public:
221 
222  // ----------------------------------------------------------------------
223  // Connect serial input ports to special output ports
224  // ----------------------------------------------------------------------
225 
226 #if FW_ENABLE_TEXT_LOGGING == 1
227 
229  void set_LogText_OutputPort(
230  FwIndexType portNum,
231  Fw::InputSerializePort* port
232  );
233 
234 #endif
235 
238  FwIndexType portNum,
239  Fw::InputSerializePort* port
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 
262  FwIndexType portNum,
263  Fw::InputSerializePort* port
264  );
265 
266 #endif
267 
268 #if FW_PORT_SERIALIZATION
269 
270  public:
271 
272  // ----------------------------------------------------------------------
273  // Connect serial input ports to typed output ports
274  // ----------------------------------------------------------------------
275 
278  FwIndexType portNum,
279  Fw::InputSerializePort* port
280  );
281 
282 #endif
283 
284  public:
285 
286  // ----------------------------------------------------------------------
287  // Command registration
288  // ----------------------------------------------------------------------
289 
293  void regCommands();
294 
295  PROTECTED:
296 
297  // ----------------------------------------------------------------------
298  // Component construction and destruction
299  // ----------------------------------------------------------------------
300 
303  const char* compName = ""
304  );
305 
307  virtual ~FileManagerComponentBase();
308 
309  PROTECTED:
310 
311  // ----------------------------------------------------------------------
312  // Getters for numbers of special input ports
313  // ----------------------------------------------------------------------
314 
319 
320  PROTECTED:
321 
322  // ----------------------------------------------------------------------
323  // Getters for numbers of typed input ports
324  // ----------------------------------------------------------------------
325 
330 
331  PROTECTED:
332 
333  // ----------------------------------------------------------------------
334  // Getters for numbers of special output ports
335  // ----------------------------------------------------------------------
336 
337 #if FW_ENABLE_TEXT_LOGGING == 1
338 
342  FwIndexType getNum_LogText_OutputPorts() const;
343 
344 #endif
345 
350 
355 
360 
365 
370 
371  PROTECTED:
372 
373  // ----------------------------------------------------------------------
374  // Getters for numbers of typed output ports
375  // ----------------------------------------------------------------------
376 
381 
382  PROTECTED:
383 
384  // ----------------------------------------------------------------------
385  // Connection status queries for special output ports
386  // ----------------------------------------------------------------------
387 
388 #if FW_ENABLE_TEXT_LOGGING == 1
389 
393  bool isConnected_LogText_OutputPort(
394  FwIndexType portNum
395  );
396 
397 #endif
398 
403  FwIndexType portNum
404  );
405 
410  FwIndexType portNum
411  );
412 
417  FwIndexType portNum
418  );
419 
424  FwIndexType portNum
425  );
426 
431  FwIndexType portNum
432  );
433 
434  PROTECTED:
435 
436  // ----------------------------------------------------------------------
437  // Connection status queries for typed output ports
438  // ----------------------------------------------------------------------
439 
444  FwIndexType portNum
445  );
446 
447  PROTECTED:
448 
449  // ----------------------------------------------------------------------
450  // Handlers to implement for typed input ports
451  // ----------------------------------------------------------------------
452 
454  virtual void pingIn_handler(
455  FwIndexType portNum,
456  U32 key
457  ) = 0;
458 
459  PROTECTED:
460 
461  // ----------------------------------------------------------------------
462  // Port handler base-class functions for typed input ports
463  //
464  // Call these functions directly to bypass the corresponding ports
465  // ----------------------------------------------------------------------
466 
468  void pingIn_handlerBase(
469  FwIndexType portNum,
470  U32 key
471  );
472 
473  PROTECTED:
474 
475  // ----------------------------------------------------------------------
476  // Pre-message hooks for typed async input ports
477  //
478  // Each of these functions is invoked just before processing a message
479  // on the corresponding port. By default, they do nothing. You can
480  // override them to provide specific pre-message behavior.
481  // ----------------------------------------------------------------------
482 
484  virtual void pingIn_preMsgHook(
485  FwIndexType portNum,
486  U32 key
487  );
488 
489  PROTECTED:
490 
491  // ----------------------------------------------------------------------
492  // Invocation functions for typed output ports
493  // ----------------------------------------------------------------------
494 
496  void pingOut_out(
497  FwIndexType portNum,
498  U32 key
499  );
500 
501  PROTECTED:
502 
503  // ----------------------------------------------------------------------
504  // Command response
505  // ----------------------------------------------------------------------
506 
508  void cmdResponse_out(
509  FwOpcodeType opCode,
510  U32 cmdSeq,
511  Fw::CmdResponse response
512  );
513 
514  PROTECTED:
515 
516  // ----------------------------------------------------------------------
517  // Command handlers to implement
518  // ----------------------------------------------------------------------
519 
523  virtual void CreateDirectory_cmdHandler(
524  FwOpcodeType opCode,
525  U32 cmdSeq,
526  const Fw::CmdStringArg& dirName
527  ) = 0;
528 
532  virtual void MoveFile_cmdHandler(
533  FwOpcodeType opCode,
534  U32 cmdSeq,
535  const Fw::CmdStringArg& sourceFileName,
536  const Fw::CmdStringArg& destFileName
537  ) = 0;
538 
542  virtual void RemoveDirectory_cmdHandler(
543  FwOpcodeType opCode,
544  U32 cmdSeq,
545  const Fw::CmdStringArg& dirName
546  ) = 0;
547 
551  virtual void RemoveFile_cmdHandler(
552  FwOpcodeType opCode,
553  U32 cmdSeq,
554  const Fw::CmdStringArg& fileName,
555  bool ignoreErrors
556  ) = 0;
557 
561  virtual void ShellCommand_cmdHandler(
562  FwOpcodeType opCode,
563  U32 cmdSeq,
564  const Fw::CmdStringArg& command,
565  const Fw::CmdStringArg& logFileName
566  ) = 0;
567 
571  virtual void AppendFile_cmdHandler(
572  FwOpcodeType opCode,
573  U32 cmdSeq,
574  const Fw::CmdStringArg& source,
575  const Fw::CmdStringArg& target
576  ) = 0;
577 
579  virtual void FileSize_cmdHandler(
580  FwOpcodeType opCode,
581  U32 cmdSeq,
582  const Fw::CmdStringArg& fileName
583  ) = 0;
584 
585  PROTECTED:
586 
587  // ----------------------------------------------------------------------
588  // Command handler base-class functions
589  //
590  // Call these functions directly to bypass the command input port
591  // ----------------------------------------------------------------------
592 
597  FwOpcodeType opCode,
598  U32 cmdSeq,
599  Fw::CmdArgBuffer& args
600  );
601 
606  FwOpcodeType opCode,
607  U32 cmdSeq,
608  Fw::CmdArgBuffer& args
609  );
610 
615  FwOpcodeType opCode,
616  U32 cmdSeq,
617  Fw::CmdArgBuffer& args
618  );
619 
624  FwOpcodeType opCode,
625  U32 cmdSeq,
626  Fw::CmdArgBuffer& args
627  );
628 
633  FwOpcodeType opCode,
634  U32 cmdSeq,
635  Fw::CmdArgBuffer& args
636  );
637 
642  FwOpcodeType opCode,
643  U32 cmdSeq,
644  Fw::CmdArgBuffer& args
645  );
646 
649  FwOpcodeType opCode,
650  U32 cmdSeq,
651  Fw::CmdArgBuffer& args
652  );
653 
654  PROTECTED:
655 
656  // ----------------------------------------------------------------------
657  // Pre-message hooks for async commands
658  //
659  // Each of these functions is invoked just before processing the
660  // corresponding command. By default they do nothing. You can
661  // override them to provide specific pre-command behavior.
662  // ----------------------------------------------------------------------
663 
665  virtual void CreateDirectory_preMsgHook(
666  FwOpcodeType opCode,
667  U32 cmdSeq
668  );
669 
671  virtual void MoveFile_preMsgHook(
672  FwOpcodeType opCode,
673  U32 cmdSeq
674  );
675 
677  virtual void RemoveDirectory_preMsgHook(
678  FwOpcodeType opCode,
679  U32 cmdSeq
680  );
681 
683  virtual void RemoveFile_preMsgHook(
684  FwOpcodeType opCode,
685  U32 cmdSeq
686  );
687 
689  virtual void ShellCommand_preMsgHook(
690  FwOpcodeType opCode,
691  U32 cmdSeq
692  );
693 
695  virtual void AppendFile_preMsgHook(
696  FwOpcodeType opCode,
697  U32 cmdSeq
698  );
699 
701  virtual void FileSize_preMsgHook(
702  FwOpcodeType opCode,
703  U32 cmdSeq
704  );
705 
706  PROTECTED:
707 
708  // ----------------------------------------------------------------------
709  // Event logging functions
710  // ----------------------------------------------------------------------
711 
716  const Fw::StringBase& dirName,
717  U32 status
718  ) const;
719 
724  const Fw::StringBase& dirName,
725  U32 status
726  ) const;
727 
732  const Fw::StringBase& sourceFileName,
733  const Fw::StringBase& destFileName,
734  U32 status
735  ) const;
736 
741  const Fw::StringBase& fileName,
742  U32 status
743  ) const;
744 
749  const Fw::StringBase& command,
750  U32 status
751  ) const;
752 
757  const Fw::StringBase& source,
758  const Fw::StringBase& target,
759  U32 status
760  ) const;
761 
766  const Fw::StringBase& source,
767  const Fw::StringBase& target
768  ) const;
769 
774  const Fw::StringBase& command
775  ) const;
776 
781  const Fw::StringBase& dirName
782  ) const;
783 
788  const Fw::StringBase& dirName
789  ) const;
790 
795  const Fw::StringBase& sourceFileName,
796  const Fw::StringBase& destFileName
797  ) const;
798 
803  const Fw::StringBase& fileName
804  ) const;
805 
810  const Fw::StringBase& source,
811  const Fw::StringBase& target
812  ) const;
813 
818  const Fw::StringBase& command
819  ) const;
820 
825  const Fw::StringBase& dirName
826  ) const;
827 
832  const Fw::StringBase& dirName
833  ) const;
834 
839  const Fw::StringBase& sourceFileName,
840  const Fw::StringBase& destFileName
841  ) const;
842 
847  const Fw::StringBase& fileName
848  ) const;
849 
854  const Fw::StringBase& fileName,
855  U64 size
856  ) const;
857 
862  const Fw::StringBase& fileName,
863  U32 status
864  ) const;
865 
870  const Fw::StringBase& fileName
871  ) const;
872 
873  PROTECTED:
874 
875  // ----------------------------------------------------------------------
876  // Telemetry write functions
877  // ----------------------------------------------------------------------
878 
883  U32 arg,
884  Fw::Time _tlmTime = Fw::Time()
885  ) const;
886 
890  void tlmWrite_Errors(
891  U32 arg,
892  Fw::Time _tlmTime = Fw::Time()
893  ) const;
894 
895  PROTECTED:
896 
897  // ----------------------------------------------------------------------
898  // Time
899  // ----------------------------------------------------------------------
900 
904  Fw::Time getTime() const;
905 
906  PRIVATE:
907 
908  // ----------------------------------------------------------------------
909  // Message dispatch functions
910  // ----------------------------------------------------------------------
911 
913  virtual MsgDispatchStatus doDispatch();
914 
915  PRIVATE:
916 
917  // ----------------------------------------------------------------------
918  // Calls for messages received on special input ports
919  // ----------------------------------------------------------------------
920 
922  static void m_p_cmdIn_in(
923  Fw::PassiveComponentBase* callComp,
924  FwIndexType portNum,
925  FwOpcodeType opCode,
926  U32 cmdSeq,
927  Fw::CmdArgBuffer& args
928  );
929 
930  PRIVATE:
931 
932  // ----------------------------------------------------------------------
933  // Calls for messages received on typed input ports
934  // ----------------------------------------------------------------------
935 
937  static void m_p_pingIn_in(
938  Fw::PassiveComponentBase* callComp,
939  FwIndexType portNum,
940  U32 key
941  );
942 
943  PRIVATE:
944 
945  // ----------------------------------------------------------------------
946  // Special input ports
947  // ----------------------------------------------------------------------
948 
950  Fw::InputCmdPort m_cmdIn_InputPort[NUM_CMDIN_INPUT_PORTS];
951 
952  PRIVATE:
953 
954  // ----------------------------------------------------------------------
955  // Typed input ports
956  // ----------------------------------------------------------------------
957 
959  Svc::InputPingPort m_pingIn_InputPort[NUM_PINGIN_INPUT_PORTS];
960 
961  PRIVATE:
962 
963  // ----------------------------------------------------------------------
964  // Special output ports
965  // ----------------------------------------------------------------------
966 
967 #if FW_ENABLE_TEXT_LOGGING == 1
968 
970  Fw::OutputLogTextPort m_LogText_OutputPort[NUM_LOGTEXT_OUTPUT_PORTS];
971 
972 #endif
973 
975  Fw::OutputCmdRegPort m_cmdRegOut_OutputPort[NUM_CMDREGOUT_OUTPUT_PORTS];
976 
978  Fw::OutputCmdResponsePort m_cmdResponseOut_OutputPort[NUM_CMDRESPONSEOUT_OUTPUT_PORTS];
979 
981  Fw::OutputLogPort m_eventOut_OutputPort[NUM_EVENTOUT_OUTPUT_PORTS];
982 
984  Fw::OutputTimePort m_timeCaller_OutputPort[NUM_TIMECALLER_OUTPUT_PORTS];
985 
987  Fw::OutputTlmPort m_tlmOut_OutputPort[NUM_TLMOUT_OUTPUT_PORTS];
988 
989  PRIVATE:
990 
991  // ----------------------------------------------------------------------
992  // Typed output ports
993  // ----------------------------------------------------------------------
994 
996  Svc::OutputPingPort m_pingOut_OutputPort[NUM_PINGOUT_OUTPUT_PORTS];
997 
998  };
999 
1000 }
1001 
1002 #endif
void set_eventOut_OutputPort(FwIndexType portNum, Fw::InputLogPort *port)
Connect port to eventOut[portNum].
void log_ACTIVITY_HI_FileSizeSucceeded(const Fw::StringBase &fileName, U64 size) const
Definition: Time.hpp:9
void AppendFile_cmdHandlerBase(FwOpcodeType opCode, U32 cmdSeq, Fw::CmdArgBuffer &args)
void log_ACTIVITY_HI_CreateDirectoryStarted(const Fw::StringBase &dirName) const
The File System component began deleting an existing file.
The File System component moved a file to a new location without error.
void log_ACTIVITY_HI_RemoveDirectorySucceeded(const Fw::StringBase &dirName) const
virtual void MoveFile_cmdHandler(FwOpcodeType opCode, U32 cmdSeq, const Fw::CmdStringArg &sourceFileName, const Fw::CmdStringArg &destFileName)=0
PlatformSizeType FwSizeType
virtual void MoveFile_preMsgHook(FwOpcodeType opCode, U32 cmdSeq)
Pre-message hook for command MoveFile.
virtual void ShellCommand_preMsgHook(FwOpcodeType opCode, U32 cmdSeq)
Pre-message hook for command ShellCommand.
I32 FwEnumStoreType
void log_WARNING_HI_FileSizeError(const Fw::StringBase &fileName, U32 status) const
FwIndexType getNum_cmdRegOut_OutputPorts() const
The File System component began creating a new directory.
virtual void pingIn_handler(FwIndexType portNum, U32 key)=0
Handler for input port pingIn.
void FileSize_cmdHandlerBase(FwOpcodeType opCode, U32 cmdSeq, Fw::CmdArgBuffer &args)
Base-class handler function for command FileSize.
virtual void RemoveFile_cmdHandler(FwOpcodeType opCode, U32 cmdSeq, const Fw::CmdStringArg &fileName, bool ignoreErrors)=0
Auto-generated base for FileManager component.
An error occurred while attempting to create a directory.
void ShellCommand_cmdHandlerBase(FwOpcodeType opCode, U32 cmdSeq, Fw::CmdArgBuffer &args)
The File System component executed a shell command that returned status non-zero. ...
The File System component appended 2 files without error.
void pingOut_out(FwIndexType portNum, U32 key)
Invoke output port pingOut.
friend class FileManagerComponentBaseFriend
Friend class for white-box testing.
Enum representing a command response.
virtual void RemoveFile_preMsgHook(FwOpcodeType opCode, U32 cmdSeq)
Pre-message hook for command RemoveFile.
bool isConnected_cmdRegOut_OutputPort(FwIndexType portNum)
void log_ACTIVITY_HI_MoveFileStarted(const Fw::StringBase &sourceFileName, const Fw::StringBase &destFileName) const
Svc::InputPingPort * get_pingIn_InputPort(FwIndexType portNum)
bool isConnected_timeCaller_OutputPort(FwIndexType portNum)
The File System component deleted an existing file without error.
void log_ACTIVITY_HI_AppendFileSucceeded(const Fw::StringBase &source, const Fw::StringBase &target) const
FileManagerComponentBase(const char *compName="")
Construct FileManagerComponentBase object.
void init()
Object initializer.
Definition: ObjBase.cpp:26
bool isConnected_pingOut_OutputPort(FwIndexType portNum)
void log_ACTIVITY_HI_CreateDirectorySucceeded(const Fw::StringBase &dirName) const
void set_cmdResponseOut_OutputPort(FwIndexType portNum, Fw::InputCmdResponsePort *port)
Connect port to cmdResponseOut[portNum].
FwIndexType getNum_eventOut_OutputPorts() const
void set_pingOut_OutputPort(FwIndexType portNum, Svc::InputPingPort *port)
Connect port to pingOut[portNum].
FwIndexType getNum_cmdResponseOut_OutputPorts() const
virtual void CreateDirectory_cmdHandler(FwOpcodeType opCode, U32 cmdSeq, const Fw::CmdStringArg &dirName)=0
U32 FwOpcodeType
The type of a command opcode.
void RemoveFile_cmdHandlerBase(FwOpcodeType opCode, U32 cmdSeq, Fw::CmdArgBuffer &args)
void log_ACTIVITY_HI_RemoveDirectoryStarted(const Fw::StringBase &dirName) const
Fw::InputCmdPort * get_cmdIn_InputPort(FwIndexType portNum)
void log_ACTIVITY_HI_ShellCommandSucceeded(const Fw::StringBase &command) const
An error occurred while attempting to move a file.
void RemoveDirectory_cmdHandlerBase(FwOpcodeType opCode, U32 cmdSeq, Fw::CmdArgBuffer &args)
FwIndexType getNum_timeCaller_OutputPorts() const
Perform a Linux shell command and write the output to a log file.
The File System component began executing a shell command.
virtual void FileSize_preMsgHook(FwOpcodeType opCode, U32 cmdSeq)
Pre-message hook for command FileSize.
The File System component executed a shell command that returned status zero.
virtual void ShellCommand_cmdHandler(FwOpcodeType opCode, U32 cmdSeq, const Fw::CmdStringArg &command, const Fw::CmdStringArg &logFileName)=0
virtual void CreateDirectory_preMsgHook(FwOpcodeType opCode, U32 cmdSeq)
Pre-message hook for command CreateDirectory.
void cmdResponse_out(FwOpcodeType opCode, U32 cmdSeq, Fw::CmdResponse response)
Emit command response.
bool isConnected_eventOut_OutputPort(FwIndexType portNum)
void log_ACTIVITY_HI_FileSizeStarted(const Fw::StringBase &fileName) const
virtual ~FileManagerComponentBase()
Destroy FileManagerComponentBase object.
void MoveFile_cmdHandlerBase(FwOpcodeType opCode, U32 cmdSeq, Fw::CmdArgBuffer &args)
virtual void FileSize_cmdHandler(FwOpcodeType opCode, U32 cmdSeq, const Fw::CmdStringArg &fileName)=0
Handler for command FileSize.
void log_ACTIVITY_HI_MoveFileSucceeded(const Fw::StringBase &sourceFileName, const Fw::StringBase &destFileName) const
An error occurred while attempting to remove a directory.
void log_WARNING_HI_DirectoryRemoveError(const Fw::StringBase &dirName, U32 status) const
void pingIn_handlerBase(FwIndexType portNum, U32 key)
Handler base-class function for input port pingIn.
void log_ACTIVITY_HI_AppendFileStarted(const Fw::StringBase &source, const Fw::StringBase &target) const
void tlmWrite_Errors(U32 arg, Fw::Time _tlmTime=Fw::Time()) const
void log_ACTIVITY_HI_RemoveFileStarted(const Fw::StringBase &fileName) const
void set_tlmOut_OutputPort(FwIndexType portNum, Fw::InputTlmPort *port)
Connect port to tlmOut[portNum].
void set_cmdRegOut_OutputPort(FwIndexType portNum, Fw::InputCmdRegPort *port)
Connect port to cmdRegOut[portNum].
void log_ACTIVITY_HI_ShellCommandStarted(const Fw::StringBase &command) const
PlatformIndexType FwIndexType
The File System component returned status non-zero when trying to append 2 files together.
void set_timeCaller_OutputPort(FwIndexType portNum, Fw::InputTimePort *port)
Connect port to timeCaller[portNum].
An error occurred while attempting to remove a file.
void log_WARNING_HI_AppendFileFailed(const Fw::StringBase &source, const Fw::StringBase &target, U32 status) const
void regCommands()
Register commands with the Command Dispatcher.
RateGroupDivider component implementation.
virtual void pingIn_preMsgHook(FwIndexType portNum, U32 key)
Pre-message hook for async input port pingIn.
virtual void AppendFile_preMsgHook(FwOpcodeType opCode, U32 cmdSeq)
Pre-message hook for command AppendFile.
The File System component created a new directory without error.
The File System component appended 2 files without error.
Append 1 file&#39;s contents to the end of another.
The File System component deleted and existing directory without error.
virtual void RemoveDirectory_preMsgHook(FwOpcodeType opCode, U32 cmdSeq)
Pre-message hook for command RemoveDirectory.
FwIndexType getNum_pingOut_OutputPorts() const
void log_WARNING_HI_ShellCommandFailed(const Fw::StringBase &command, U32 status) const
bool isConnected_cmdResponseOut_OutputPort(FwIndexType portNum)
void log_WARNING_HI_DirectoryCreateError(const Fw::StringBase &dirName, U32 status) const
void log_ACTIVITY_HI_RemoveFileSucceeded(const Fw::StringBase &fileName) const
void log_WARNING_HI_FileMoveError(const Fw::StringBase &sourceFileName, const Fw::StringBase &destFileName, U32 status) const
The File System component began deleting a directory.
void tlmWrite_CommandsExecuted(U32 arg, Fw::Time _tlmTime=Fw::Time()) const
void CreateDirectory_cmdHandlerBase(FwOpcodeType opCode, U32 cmdSeq, Fw::CmdArgBuffer &args)
virtual void RemoveDirectory_cmdHandler(FwOpcodeType opCode, U32 cmdSeq, const Fw::CmdStringArg &dirName)=0
bool isConnected_tlmOut_OutputPort(FwIndexType portNum)
void log_WARNING_HI_FileRemoveError(const Fw::StringBase &fileName, U32 status) const
friend class FileManagerTesterBase
Friend class tester to support autocoded test harness.
The File System component began moving a file to a new location.
virtual void AppendFile_cmdHandler(FwOpcodeType opCode, U32 cmdSeq, const Fw::CmdStringArg &source, const Fw::CmdStringArg &target)=0
#define U64(C)
Definition: sha.h:180