F´ Flight Software - C/C++ Documentation  NASA-v1.5.0
A framework for building embedded system applications to NASA flight quality standards.
CmdSequencerComponentAc.hpp
Go to the documentation of this file.
1 // ======================================================================
2 // \title CmdSequencerComponentAc.hpp
3 // \author Auto-generated
4 // \brief hpp file for CmdSequencer component base class
5 //
6 // \copyright
7 // Copyright 2009-2015, by the California Institute of Technology.
8 // ALL RIGHTS RESERVED. United States Government Sponsorship
9 // acknowledged.
10 //
11 // ======================================================================
12 
13 #ifndef CMDSEQUENCER_COMP_HPP_
14 #define CMDSEQUENCER_COMP_HPP_
15 
16 #include <FpConfig.hpp>
20 #include <Fw/Cmd/CmdString.hpp>
21 #include <Fw/Tlm/TlmString.hpp>
22 #include <Fw/Time/TimePortAc.hpp>
23 #include <Fw/Log/LogString.hpp>
24 #include <Fw/Time/Time.hpp>
25 #include <Fw/Log/TextLogString.hpp>
26 #include <Fw/Tlm/TlmBuffer.hpp>
27 #include <Fw/Com/ComBuffer.hpp>
28 #include <Fw/Cmd/CmdArgBuffer.hpp>
30 #include <Fw/Log/LogBuffer.hpp>
31 #include <Fw/Cmd/CmdRegPortAc.hpp>
32 #if FW_ENABLE_TEXT_LOGGING == 1
33 #include <Fw/Log/LogTextPortAc.hpp>
34 #endif
35 #include <Svc/Ping/PingPortAc.hpp>
36 #include <Fw/Tlm/TlmPortAc.hpp>
38 #include <Fw/Time/TimePortAc.hpp>
39 #include <Fw/Com/ComPortAc.hpp>
40 #include <Fw/Cmd/CmdPortAc.hpp>
43 #include <Fw/Log/LogPortAc.hpp>
44 
45 namespace Svc {
46 
52  {
53 
54  // ----------------------------------------------------------------------
55  // Friend classes
56  // ----------------------------------------------------------------------
57 
61 
62  public:
63 
64  // ----------------------------------------------------------------------
65  // Getters for typed input ports
66  // ----------------------------------------------------------------------
67 
74  );
75 
82  );
83 
90  );
91 
98  );
99 
106  );
107 
108  public:
109 
110  // ----------------------------------------------------------------------
111  // Connect typed input ports to typed output ports
112  // ----------------------------------------------------------------------
113 
118  Fw::InputCmdRegPort *port
119  );
120 
121 #if FW_ENABLE_TEXT_LOGGING == 1
122  void set_LogText_OutputPort(
126  Fw::InputLogTextPort *port
127  );
128 #endif
129 
134  Fw::InputTlmPort *port
135  );
136 
142  );
143 
148  Fw::InputTimePort *port
149  );
150 
155  Fw::InputComPort *port
156  );
157 
162  Svc::InputPingPort *port
163  );
164 
169  Fw::InputLogPort *port
170  );
171 
177  );
178 
179 #if FW_PORT_SERIALIZATION
180 
181  public:
182 
183  // ----------------------------------------------------------------------
184  // Connect serialization input ports to typed output ports
185  // ----------------------------------------------------------------------
186 
191  Fw::InputSerializePort *port
192  );
193 
194 #if FW_ENABLE_TEXT_LOGGING == 1
195  void set_LogText_OutputPort(
199  Fw::InputSerializePort *port
200  );
201 #endif
202 
207  Fw::InputSerializePort *port
208  );
209 
214  Fw::InputSerializePort *port
215  );
216 
221  Fw::InputSerializePort *port
222  );
223 
228  Fw::InputSerializePort *port
229  );
230 
235  Fw::InputSerializePort *port
236  );
237 
242  Fw::InputSerializePort *port
243  );
244 
249  Fw::InputSerializePort *port
250  );
251 
252 #endif
253 
254  public:
255 
256  // ----------------------------------------------------------------------
257  // Command registration
258  // ----------------------------------------------------------------------
259 
264  void regCommands(void);
265 
267 
268  // ----------------------------------------------------------------------
269  // Component construction, initialization, and destruction
270  // ----------------------------------------------------------------------
271 
272 #if FW_OBJECT_NAMES == 1
276  const char* compName
277  );
278 #else
282 #endif
283 
286  void init(
287  NATIVE_INT_TYPE queueDepth,
288  NATIVE_INT_TYPE instance = 0
289  );
290 
293  virtual ~CmdSequencerComponentBase(void);
294 
296 
297  // ----------------------------------------------------------------------
298  // Handlers to implement for typed input ports
299  // ----------------------------------------------------------------------
300 
302  //
303  virtual void pingIn_handler(
305  U32 key
306  ) = 0;
307 
309  //
310  virtual void cmdResponseIn_handler(
312  FwOpcodeType opCode,
313  U32 cmdSeq,
315  ) = 0;
316 
318  //
319  virtual void schedIn_handler(
322  ) = 0;
323 
325  //
326  virtual void seqRunIn_handler(
328  Fw::EightyCharString &filename
329  ) = 0;
330 
332 
333  // ----------------------------------------------------------------------
334  // Port handler base-class functions for typed input ports.
335  // ----------------------------------------------------------------------
336  // Call these functions directly to bypass the corresponding ports.
337  // ----------------------------------------------------------------------
338 
341  void pingIn_handlerBase(
343  U32 key
344  );
345 
350  FwOpcodeType opCode,
351  U32 cmdSeq,
353  );
354 
357  void schedIn_handlerBase(
360  );
361 
366  Fw::EightyCharString &filename
367  );
368 
370 
371  // ----------------------------------------------------------------------
372  // Pre-message hooks for typed async input ports.
373  // ----------------------------------------------------------------------
374  // Each of these functions is invoked just before processing a message
375  // on the corresponding port. By default they do nothing. You can
376  // override them to provide specific pre-message behavior.
377  // ----------------------------------------------------------------------
378 
381  virtual void pingIn_preMsgHook(
383  U32 key
384  );
385 
388  virtual void cmdResponseIn_preMsgHook(
390  FwOpcodeType opCode,
391  U32 cmdSeq,
393  );
394 
397  virtual void schedIn_preMsgHook(
400  );
401 
404  virtual void seqRunIn_preMsgHook(
406  Fw::EightyCharString &filename
407  );
408 
410 
411  // ----------------------------------------------------------------------
412  // Invocation functions for typed output ports
413  // ----------------------------------------------------------------------
414 
417  void comCmdOut_out(
420  U32 context
421  );
422 
425  void pingOut_out(
427  U32 key
428  );
429 
432  void seqDone_out(
434  FwOpcodeType opCode,
435  U32 cmdSeq,
437  );
438 
440 
441  // ----------------------------------------------------------------------
442  // Getters for numbers of input ports
443  // ----------------------------------------------------------------------
444 
449  NATIVE_INT_TYPE getNum_pingIn_InputPorts(void);
450 
456 
462 
468 
474 
475 
476  // ----------------------------------------------------------------------
477  // Enumerations for number of ports
478  // ----------------------------------------------------------------------
479 
480  enum {
486  };
487 
489 
490  // ----------------------------------------------------------------------
491  // Getters for numbers of output ports
492  // ----------------------------------------------------------------------
493 
498  NATIVE_INT_TYPE getNum_cmdRegOut_OutputPorts(void);
499 
500 #if FW_ENABLE_TEXT_LOGGING == 1
501  NATIVE_INT_TYPE getNum_LogText_OutputPorts(void);
506 #endif
507 
513 
519 
525 
531 
537 
543 
549 
550 
551  enum {
561  };
562 
564 
565  // ----------------------------------------------------------------------
566  // Connection status queries for output ports
567  // ----------------------------------------------------------------------
568 
573  bool isConnected_cmdRegOut_OutputPort(
575  );
576 
577 #if FW_ENABLE_TEXT_LOGGING == 1
578  bool isConnected_LogText_OutputPort(
584  );
585 #endif
586 
593  );
594 
601  );
602 
609  );
610 
617  );
618 
625  );
626 
633  );
634 
641  );
642 
644 
645  // ----------------------------------------------------------------------
646  // Command opcodes
647  // ----------------------------------------------------------------------
648 
649  enum {
650  OPCODE_CS_RUN = 0, /* Run a command sequence file */
651  OPCODE_CS_VALIDATE = 1, /* Validate a command sequence file */
652  OPCODE_CS_CANCEL = 2, /* Cancel a command sequence */
653  OPCODE_CS_START = 3, /* Start running a command sequence */
654  OPCODE_CS_STEP = 4, /* Perform one step in a command sequence. Valid only if CmdSequencer is in MANUAL run mode. */
655  OPCODE_CS_AUTO = 5, /* Set the run mode to AUTO. */
656  OPCODE_CS_MANUAL = 6, /* Set the run mode to MANUAL. */
657  };
658 
660 
661  // ----------------------------------------------------------------------
662  // Command handlers to implement
663  // ----------------------------------------------------------------------
664 
666  /* Run a command sequence file */
667  virtual void CS_RUN_cmdHandler(
668  FwOpcodeType opCode,
669  U32 cmdSeq,
671  ) = 0;
672 
674  /* Validate a command sequence file */
676  FwOpcodeType opCode,
677  U32 cmdSeq,
678  const Fw::CmdStringArg& fileName
679  ) = 0;
680 
682  /* Cancel a command sequence */
683  virtual void CS_CANCEL_cmdHandler(
684  FwOpcodeType opCode,
685  U32 cmdSeq
686  ) = 0;
687 
689  /* Start running a command sequence */
690  virtual void CS_START_cmdHandler(
691  FwOpcodeType opCode,
692  U32 cmdSeq
693  ) = 0;
694 
696  /* Perform one step in a command sequence. Valid only if CmdSequencer is in MANUAL run mode. */
697  virtual void CS_STEP_cmdHandler(
698  FwOpcodeType opCode,
699  U32 cmdSeq
700  ) = 0;
701 
703  /* Set the run mode to AUTO. */
704  virtual void CS_AUTO_cmdHandler(
705  FwOpcodeType opCode,
706  U32 cmdSeq
707  ) = 0;
708 
710  /* Set the run mode to MANUAL. */
711  virtual void CS_MANUAL_cmdHandler(
712  FwOpcodeType opCode,
713  U32 cmdSeq
714  ) = 0;
715 
717 
718  // ----------------------------------------------------------------------
719  // Pre-message hooks for async commands.
720  // ----------------------------------------------------------------------
721  // Each of these functions is invoked just before processing the
722  // corresponding command. By default they do nothing. You can
723  // override them to provide specific pre-command behavior.
724  // ----------------------------------------------------------------------
725 
728  virtual void CS_RUN_preMsgHook(
729  FwOpcodeType opCode,
730  U32 cmdSeq
731  );
732 
735  virtual void CS_VALIDATE_preMsgHook(
736  FwOpcodeType opCode,
737  U32 cmdSeq
738  );
739 
742  virtual void CS_CANCEL_preMsgHook(
743  FwOpcodeType opCode,
744  U32 cmdSeq
745  );
746 
749  virtual void CS_START_preMsgHook(
750  FwOpcodeType opCode,
751  U32 cmdSeq
752  );
753 
756  virtual void CS_STEP_preMsgHook(
757  FwOpcodeType opCode,
758  U32 cmdSeq
759  );
760 
763  virtual void CS_AUTO_preMsgHook(
764  FwOpcodeType opCode,
765  U32 cmdSeq
766  );
767 
770  virtual void CS_MANUAL_preMsgHook(
771  FwOpcodeType opCode,
772  U32 cmdSeq
773  );
774 
776 
777  // ----------------------------------------------------------------------
778  // Command handler base-class functions.
779  // Call these functions directly to bypass the command input port.
780  // ----------------------------------------------------------------------
781 
784  void CS_RUN_cmdHandlerBase(
785  FwOpcodeType opCode,
786  U32 cmdSeq,
788  );
789 
793  FwOpcodeType opCode,
794  U32 cmdSeq,
796  );
797 
801  FwOpcodeType opCode,
802  U32 cmdSeq,
804  );
805 
809  FwOpcodeType opCode,
810  U32 cmdSeq,
812  );
813 
817  FwOpcodeType opCode,
818  U32 cmdSeq,
820  );
821 
825  FwOpcodeType opCode,
826  U32 cmdSeq,
828  );
829 
833  FwOpcodeType opCode,
834  U32 cmdSeq,
836  );
837 
839 
840  // ----------------------------------------------------------------------
841  // Command response
842  // ----------------------------------------------------------------------
843 
846  void cmdResponse_out(
847  FwOpcodeType opCode,
848  U32 cmdSeq,
850  );
851 
853 
854  // ----------------------------------------------------------------------
855  // Event IDs
856  // ----------------------------------------------------------------------
857 
858  enum {
859  EVENTID_CS_SEQUENCELOADED = 0, /* Sequence file was successfully loaded. */
860  EVENTID_CS_SEQUENCECANCELED = 1, /* A command sequence was successfully canceled. */
861  EVENTID_CS_FILEREADERROR = 2, /* The Sequence File Loader could not read the sequence file. */
862  EVENTID_CS_FILEINVALID = 3, /* The sequence file format was invalid. */
863  EVENTID_CS_RECORDINVALID = 4, /* The format of a command record was invalid. */
864  EVENTID_CS_FILESIZEERROR = 5, /* The sequence file was too large. */
865  EVENTID_CS_FILENOTFOUND = 6, /* The sequence file was not found */
866  EVENTID_CS_FILECRCFAILURE = 7, /* The sequence file validation failed */
867  EVENTID_CS_COMMANDCOMPLETE = 8, /* The Command Sequencer issued a command and received a success status in return. */
868  EVENTID_CS_SEQUENCECOMPLETE = 9, /* A command sequence successfully completed. */
869  EVENTID_CS_COMMANDERROR = 10, /* The Command Sequencer issued a command and received an error status in return. */
870  EVENTID_CS_INVALIDMODE = 11, /* The Command Sequencer received a command that was invalid for its current mode. */
871  EVENTID_CS_RECORDMISMATCH = 12, /* Number of records in header doesn't match number in file */
872  EVENTID_CS_TIMEBASEMISMATCH = 13, /* The running time base doesn't match the time base in the sequence files */
873  EVENTID_CS_TIMECONTEXTMISMATCH = 14, /* The running time base doesn't match the time base in the sequence files */
874  EVENTID_CS_PORTSEQUENCESTARTED = 15, /* A local port request to run a sequence was started */
875  EVENTID_CS_UNEXPECTEDCOMPLETION = 16, /* A command status came back when no sequence was running */
876  EVENTID_CS_MODESWITCHED = 17, /* Switched step mode */
877  EVENTID_CS_NOSEQUENCEACTIVE = 18, /* A sequence related command came with no active sequence */
878  EVENTID_CS_SEQUENCEVALID = 19, /* A sequence passed validation */
879  EVENTID_CS_SEQUENCETIMEOUT = 20, /* A sequence passed validation */
880  EVENTID_CS_CMDSTEPPED = 21, /* A commmand in a sequence was stepped through */
881  EVENTID_CS_CMDSTARTED = 22, /* A manual sequence was started */
882  };
883 
884  PROTECTED:
885 
886  // ----------------------------------------------------------------------
887  // Event enums
888  // ----------------------------------------------------------------------
889 
890  typedef enum {
891  SEQ_READ_HEADER, /* */
900  FileReadStage_MAX
902 
903  typedef enum {
908 
910 
911  // ----------------------------------------------------------------------
912  // Event logging functions
913  // ----------------------------------------------------------------------
914 
917  /* Sequence file was successfully loaded. */
918  void log_ACTIVITY_LO_CS_SequenceLoaded(
920  );
921 
922 
925  /* A command sequence was successfully canceled. */
928  );
929 
930 
933  /* The Sequence File Loader could not read the sequence file. */
936  );
937 
938 
941  /* The sequence file format was invalid. */
944  FileReadStage stage,
945  I32 error
946  );
947 
948 
951  /* The format of a command record was invalid. */
954  U32 recordNumber,
955  I32 error
956  );
957 
958 
961  /* The sequence file was too large. */
964  U32 size
965  );
966 
967 
970  /* The sequence file was not found */
973  );
974 
975 
978  /* The sequence file validation failed */
981  U32 storedCRC,
982  U32 computedCRC
983  );
984 
985 
988  /* The Command Sequencer issued a command and received a success status in return. */
991  U32 recordNumber,
992  U32 opCode
993  );
994 
995 
998  /* A command sequence successfully completed. */
1001  );
1002 
1003 
1006  /* The Command Sequencer issued a command and received an error status in return. */
1009  U32 recordNumber,
1010  U32 opCode,
1011  U32 errorStatus
1012  );
1013 
1014 
1017  /* The Command Sequencer received a command that was invalid for its current mode. */
1019  void
1020  );
1021 
1022 
1025  /* Number of records in header doesn't match number in file */
1028  U32 header_records,
1029  U32 extra_bytes
1030  );
1031 
1032 
1035  /* The running time base doesn't match the time base in the sequence files */
1038  U16 time_base,
1039  U16 seq_time_base
1040  );
1041 
1042 
1045  /* The running time base doesn't match the time base in the sequence files */
1048  U8 currTimeBase,
1049  U8 seqTimeBase
1050  );
1051 
1052 
1055  /* A local port request to run a sequence was started */
1057  Fw::LogStringArg& filename
1058  );
1059 
1060 
1063  /* A command status came back when no sequence was running */
1065  U32 opcode
1066  );
1067 
1068 
1071  /* Switched step mode */
1073  SeqMode mode
1074  );
1075 
1076 
1079  /* A sequence related command came with no active sequence */
1081  void
1082  );
1083 
1084 
1087  /* A sequence passed validation */
1089  Fw::LogStringArg& filename
1090  );
1091 
1092 
1095  /* A sequence passed validation */
1097  Fw::LogStringArg& filename,
1098  U32 command
1099  );
1100 
1101 
1104  /* A commmand in a sequence was stepped through */
1106  Fw::LogStringArg& filename,
1107  U32 command
1108  );
1109 
1110 
1113  /* A manual sequence was started */
1115  Fw::LogStringArg& filename
1116  );
1117 
1118 
1120 
1121  // ----------------------------------------------------------------------
1122  // Channel IDs
1123  // ----------------------------------------------------------------------
1124 
1125  enum {
1126  CHANNELID_CS_LOADCOMMANDS = 0,
1131  };
1132 
1133  PROTECTED:
1134 
1135  // ----------------------------------------------------------------------
1136  // Telemetry write functions
1137  // ----------------------------------------------------------------------
1138 
1141  /* The number of Load commands executed */
1142  void tlmWrite_CS_LoadCommands(
1143  U32 arg
1144  );
1145 
1148  /* The number of Cancel commands executed */
1150  U32 arg
1151  );
1152 
1155  /* The number of errors that have occurred */
1156  void tlmWrite_CS_Errors(
1157  U32 arg
1158  );
1159 
1162  /* The number of commands executed across all sequences. */
1164  U32 arg
1165  );
1166 
1169  /* The number of sequences completed. */
1171  U32 arg
1172  );
1173 
1175 
1176  // ----------------------------------------------------------------------
1177  // Time
1178  // ----------------------------------------------------------------------
1179 
1184  Fw::Time getTime(void);
1185 
1186 
1188 
1189  // ----------------------------------------------------------------------
1190  // Typed input ports
1191  // ----------------------------------------------------------------------
1192 
1195  Svc::InputPingPort m_pingIn_InputPort[NUM_PINGIN_INPUT_PORTS];
1196 
1200 
1204 
1208 
1212 
1214 
1215  // ----------------------------------------------------------------------
1216  // Typed output ports
1217  // ----------------------------------------------------------------------
1218 
1221  Fw::OutputCmdRegPort m_cmdRegOut_OutputPort[NUM_CMDREGOUT_OUTPUT_PORTS];
1222 
1223 #if FW_ENABLE_TEXT_LOGGING == 1
1224  Fw::OutputLogTextPort m_LogText_OutputPort[NUM_LOGTEXT_OUTPUT_PORTS];
1227 #endif
1228 
1232 
1236 
1240 
1244 
1248 
1252 
1256 
1258 
1259  // ----------------------------------------------------------------------
1260  // Calls for messages received on typed input ports
1261  // ----------------------------------------------------------------------
1262 
1265  static void m_p_pingIn_in(
1266  Fw::PassiveComponentBase* callComp,
1268  U32 key
1269  );
1270 
1273  static void m_p_cmdResponseIn_in(
1274  Fw::PassiveComponentBase* callComp,
1276  FwOpcodeType opCode,
1277  U32 cmdSeq,
1279  );
1280 
1283  static void m_p_cmdIn_in(
1284  Fw::PassiveComponentBase* callComp,
1286  FwOpcodeType opCode,
1287  U32 cmdSeq,
1289  );
1290 
1293  static void m_p_schedIn_in(
1294  Fw::PassiveComponentBase* callComp,
1297  );
1298 
1301  static void m_p_seqRunIn_in(
1302  Fw::PassiveComponentBase* callComp,
1304  Fw::EightyCharString &filename
1305  );
1306 
1308 
1309  // ----------------------------------------------------------------------
1310  // Message dispatch functions
1311  // ----------------------------------------------------------------------
1312 
1315  virtual MsgDispatchStatus doDispatch(void);
1316 
1317 
1318  PRIVATE:
1319  // ----------------------------------------------------------------------
1320  // Counter values for event throttling
1321  // ----------------------------------------------------------------------
1322 
1323  };
1324 
1325 } // end namespace Svc
1326 #endif
Svc::CmdSequencerComponentBase::OPCODE_CS_AUTO
PROTECTED OPCODE_CS_AUTO
Definition: CmdSequencerComponentAc.hpp:655
Svc::CmdSequencerComponentBase::CS_VALIDATE_cmdHandlerBase
void CS_VALIDATE_cmdHandlerBase(FwOpcodeType opCode, U32 cmdSeq, Fw::CmdArgBuffer &args)
Definition: CmdSequencerComponentAc.cpp:1168
Svc::CmdSequencerComponentBase::schedIn_preMsgHook
virtual void schedIn_preMsgHook(NATIVE_INT_TYPE portNum, NATIVE_UINT_TYPE context)
Definition: CmdSequencerComponentAc.cpp:4451
Svc::CmdSequencerComponentBase::CS_MANUAL_cmdHandlerBase
void CS_MANUAL_cmdHandlerBase(FwOpcodeType opCode, U32 cmdSeq, Fw::CmdArgBuffer &args)
Definition: CmdSequencerComponentAc.cpp:1518
Fw::InputTimePort
Definition: TimePortAc.hpp:28
Svc::CmdSequencerComponentBase::getNum_seqDone_OutputPorts
NATIVE_INT_TYPE getNum_seqDone_OutputPorts(void)
Definition: CmdSequencerComponentAc.cpp:888
Svc::CmdSequencerComponentBase::NUM_CMDRESPONSEOUT_OUTPUT_PORTS
@ NUM_CMDRESPONSEOUT_OUTPUT_PORTS
Definition: CmdSequencerComponentAc.hpp:555
Svc::CmdSequencerComponentBase::log_ACTIVITY_HI_CS_PortSequenceStarted
void log_ACTIVITY_HI_CS_PortSequenceStarted(Fw::LogStringArg &filename)
Definition: CmdSequencerComponentAc.cpp:3392
Svc::CmdSequencerComponentBase::EVENTID_CS_COMMANDERROR
PROTECTED EVENTID_CS_COMMANDERROR
Definition: CmdSequencerComponentAc.hpp:869
Svc::CmdSequencerComponentBase::m_seqDone_OutputPort
Fw::OutputCmdResponsePort m_seqDone_OutputPort[NUM_SEQDONE_OUTPUT_PORTS]
Definition: CmdSequencerComponentAc.hpp:1255
Svc::CmdSequencerComponentBase::SEQ_READ_SEQ_DATA
PROTECTED SEQ_READ_SEQ_DATA
Definition: CmdSequencerComponentAc.hpp:898
Svc::CmdSequencerComponentBase::log_WARNING_HI_CS_FileSizeError
void log_WARNING_HI_CS_FileSizeError(Fw::LogStringArg &fileName, U32 size)
Definition: CmdSequencerComponentAc.cpp:2269
Svc::CmdSequencerComponentBase::getNum_cmdIn_InputPorts
NATIVE_INT_TYPE getNum_cmdIn_InputPorts(void)
Definition: CmdSequencerComponentAc.cpp:856
Svc::CmdSequencerComponentBase
Auto-generated base for CmdSequencer component.
Definition: CmdSequencerComponentAc.hpp:52
Svc::CmdSequencerComponentBase::getNum_tlmOut_OutputPorts
NATIVE_INT_TYPE getNum_tlmOut_OutputPorts(void)
Definition: CmdSequencerComponentAc.cpp:808
Fw::InputTlmPort
Definition: TlmPortAc.hpp:29
Svc::CmdSequencerComponentBase::set_pingOut_OutputPort
void set_pingOut_OutputPort(NATIVE_INT_TYPE portNum, Svc::InputPingPort *port)
Definition: CmdSequencerComponentAc.cpp:198
Svc::CmdSequencerComponentBase::SEQ_READ_SEQ_DATA_SIZE
PROTECTED SEQ_READ_SEQ_DATA_SIZE
Definition: CmdSequencerComponentAc.hpp:899
Svc::CmdSequencerComponentBase::EVENTID_CS_FILENOTFOUND
PROTECTED EVENTID_CS_FILENOTFOUND
Definition: CmdSequencerComponentAc.hpp:865
Svc::CmdSequencerComponentBase::isConnected_cmdResponseOut_OutputPort
bool isConnected_cmdResponseOut_OutputPort(NATIVE_INT_TYPE portNum)
Definition: CmdSequencerComponentAc.cpp:932
Svc::CmdSequencerComponentBase::set_tlmOut_OutputPort
void set_tlmOut_OutputPort(NATIVE_INT_TYPE portNum, Fw::InputTlmPort *port)
Definition: CmdSequencerComponentAc.cpp:158
LogBuffer.hpp
PRIVATE
#define PRIVATE
overridable private for unit testing
Definition: BasicTypes.hpp:118
Svc::CmdSequencerComponentBase::FileReadStage
PROTECTED FileReadStage_MAX FileReadStage
Definition: CmdSequencerComponentAc.hpp:901
Svc::CmdSequencerComponentBase::seqRunIn_handlerBase
void seqRunIn_handlerBase(NATIVE_INT_TYPE portNum, Fw::EightyCharString &filename)
Definition: CmdSequencerComponentAc.cpp:4376
Svc::CmdSequencerComponentBase::get_seqRunIn_InputPort
Svc::InputCmdSeqInPort * get_seqRunIn_InputPort(NATIVE_INT_TYPE portNum)
Definition: CmdSequencerComponentAc.cpp:125
Fw::Time
Definition: Time.hpp:10
TlmPortAc.hpp
Svc::CmdSequencerComponentBase::m_p_cmdIn_in
static void m_p_cmdIn_in(Fw::PassiveComponentBase *callComp, NATIVE_INT_TYPE portNum, FwOpcodeType opCode, U32 cmdSeq, Fw::CmdArgBuffer &args)
Definition: CmdSequencerComponentAc.cpp:996
Svc::CmdSequencerComponentBase::log_WARNING_HI_CS_RecordInvalid
void log_WARNING_HI_CS_RecordInvalid(Fw::LogStringArg &fileName, U32 recordNumber, I32 error)
Definition: CmdSequencerComponentAc.cpp:2145
Svc::CmdSequencerComponentBase::EVENTID_CS_SEQUENCEVALID
PROTECTED EVENTID_CS_SEQUENCEVALID
Definition: CmdSequencerComponentAc.hpp:878
Svc::CmdSequencerComponentBase::CS_STEP_cmdHandler
virtual void CS_STEP_cmdHandler(FwOpcodeType opCode, U32 cmdSeq)=0
Handler for command CS_STEP.
Svc::CmdSequencerComponentBase::m_timeCaller_OutputPort
Fw::OutputTimePort m_timeCaller_OutputPort[NUM_TIMECALLER_OUTPUT_PORTS]
Definition: CmdSequencerComponentAc.hpp:1239
Svc::CmdSequencerComponentBase::EVENTID_CS_CMDSTARTED
PROTECTED EVENTID_CS_CMDSTARTED
Definition: CmdSequencerComponentAc.hpp:881
Svc::CmdSequencerComponentBase::CS_VALIDATE_cmdHandler
virtual void CS_VALIDATE_cmdHandler(FwOpcodeType opCode, U32 cmdSeq, const Fw::CmdStringArg &fileName)=0
Handler for command CS_VALIDATE.
Fw::QueuedComponentBase::doDispatch
virtual MsgDispatchStatus doDispatch(void)=0
method to dispatch a single message in the queue.
Fw::OutputTlmPort
Definition: TlmPortAc.hpp:50
Svc::CmdSequencerComponentBase::NUM_SCHEDIN_INPUT_PORTS
@ NUM_SCHEDIN_INPUT_PORTS
Definition: CmdSequencerComponentAc.hpp:484
Svc::CmdSequencerComponentBase::m_tlmOut_OutputPort
Fw::OutputTlmPort m_tlmOut_OutputPort[NUM_TLMOUT_OUTPUT_PORTS]
Definition: CmdSequencerComponentAc.hpp:1231
Fw::CommandResponse
CommandResponse
Definition: CmdResponsePortAc.hpp:24
Svc::CmdSequencerComponentBase::m_cmdIn_InputPort
Fw::InputCmdPort m_cmdIn_InputPort[NUM_CMDIN_INPUT_PORTS]
Definition: CmdSequencerComponentAc.hpp:1203
Svc::CmdSequencerComponentBase::SEQ_DESER_SIZE
PROTECTED SEQ_DESER_SIZE
Definition: CmdSequencerComponentAc.hpp:893
Svc::CmdSequencerComponentBase::context
PROTECTED Fw::ComBuffer U32 context
Definition: CmdSequencerComponentAc.hpp:421
Svc::CmdSequencerComponentBase::NUM_PINGIN_INPUT_PORTS
@ NUM_PINGIN_INPUT_PORTS
Definition: CmdSequencerComponentAc.hpp:481
Svc::CmdSequencerComponentBase::EVENTID_CS_FILECRCFAILURE
PROTECTED EVENTID_CS_FILECRCFAILURE
Definition: CmdSequencerComponentAc.hpp:866
Svc::CmdSequencerComponentBase::CS_START_cmdHandlerBase
void CS_START_cmdHandlerBase(FwOpcodeType opCode, U32 cmdSeq, Fw::CmdArgBuffer &args)
Definition: CmdSequencerComponentAc.cpp:1308
Svc::CmdSequencerComponentBase::tlmWrite_CS_CancelCommands
void tlmWrite_CS_CancelCommands(U32 arg)
Definition: CmdSequencerComponentAc.cpp:1621
Svc::CmdSequencerComponentBase::isConnected_pingOut_OutputPort
bool isConnected_pingOut_OutputPort(NATIVE_INT_TYPE portNum)
Definition: CmdSequencerComponentAc.cpp:962
Svc::CmdSequencerComponentBase::~CmdSequencerComponentBase
virtual ~CmdSequencerComponentBase(void)
Definition: CmdSequencerComponentAc.cpp:739
Svc::CmdSequencerComponentBase::OPCODE_CS_START
PROTECTED OPCODE_CS_START
Definition: CmdSequencerComponentAc.hpp:653
Fw::LogStringArg
Definition: LogString.hpp:11
Svc::CmdSequencerComponentBase::NUM_CMDIN_INPUT_PORTS
@ NUM_CMDIN_INPUT_PORTS
Definition: CmdSequencerComponentAc.hpp:483
Svc::CmdSequencerComponentBase::CHANNELID_CS_SEQUENCESCOMPLETED
PROTECTED CHANNELID_CS_SEQUENCESCOMPLETED
Channel ID for CS_SequencesCompleted.
Definition: CmdSequencerComponentAc.hpp:1130
Svc::CmdSequencerComponentBase::NUM_LOGTEXT_OUTPUT_PORTS
@ NUM_LOGTEXT_OUTPUT_PORTS
Definition: CmdSequencerComponentAc.hpp:553
U8
uint8_t U8
8-bit unsigned integer
Definition: BasicTypes.hpp:76
Svc::CmdSequencerComponentBase::log_ACTIVITY_LO_CS_CommandComplete
void log_ACTIVITY_LO_CS_CommandComplete(Fw::LogStringArg &fileName, U32 recordNumber, U32 opCode)
Definition: CmdSequencerComponentAc.cpp:2587
Svc::CmdSequencerComponentBase::get_schedIn_InputPort
Svc::InputSchedPort * get_schedIn_InputPort(NATIVE_INT_TYPE portNum)
Definition: CmdSequencerComponentAc.cpp:118
Svc::CmdSequencerComponentBase::log_ACTIVITY_HI_CS_SequenceComplete
void log_ACTIVITY_HI_CS_SequenceComplete(Fw::LogStringArg &fileName)
Definition: CmdSequencerComponentAc.cpp:2711
Svc::CmdSequencerComponentBase::SEQ_READ_HEADER_SIZE
PROTECTED SEQ_READ_HEADER_SIZE
Definition: CmdSequencerComponentAc.hpp:892
Svc::CmdSequencerComponentBase::isConnected_tlmOut_OutputPort
bool isConnected_tlmOut_OutputPort(NATIVE_INT_TYPE portNum)
Definition: CmdSequencerComponentAc.cpp:922
Fw::OutputCmdResponsePort
Definition: CmdResponsePortAc.hpp:58
Svc::CmdSequencerComponentBase::NUM_PINGOUT_OUTPUT_PORTS
@ NUM_PINGOUT_OUTPUT_PORTS
Definition: CmdSequencerComponentAc.hpp:558
Svc::CmdSequencerComponentBase::CS_CANCEL_cmdHandler
virtual void CS_CANCEL_cmdHandler(FwOpcodeType opCode, U32 cmdSeq)=0
Handler for command CS_CANCEL.
Svc::CmdSequencerComponentBase::tlmWrite_CS_Errors
void tlmWrite_CS_Errors(U32 arg)
Definition: CmdSequencerComponentAc.cpp:1650
Fw::InputCmdRegPort
Definition: CmdRegPortAc.hpp:27
CmdRegPortAc.hpp
Fw::EightyCharString
Definition: EightyCharString.hpp:10
Svc::CmdSequencerComponentBase::EVENTID_CS_SEQUENCECANCELED
PROTECTED EVENTID_CS_SEQUENCECANCELED
Definition: CmdSequencerComponentAc.hpp:860
Svc::CmdSequencerComponentBase::m_p_cmdResponseIn_in
static void m_p_cmdResponseIn_in(Fw::PassiveComponentBase *callComp, NATIVE_INT_TYPE portNum, FwOpcodeType opCode, U32 cmdSeq, Fw::CommandResponse response)
Definition: CmdSequencerComponentAc.cpp:4160
Svc::CmdSequencerComponentBase::set_cmdResponseOut_OutputPort
void set_cmdResponseOut_OutputPort(NATIVE_INT_TYPE portNum, Fw::InputCmdResponsePort *port)
Definition: CmdSequencerComponentAc.cpp:168
Svc::CmdSequencerComponentBase::tlmWrite_CS_SequencesCompleted
void tlmWrite_CS_SequencesCompleted(U32 arg)
Definition: CmdSequencerComponentAc.cpp:1708
Svc::CmdSequencerComponentBase::PROTECTED
PROTECTED PROTECTED
Definition: CmdSequencerComponentAc.hpp:657
ComBuffer.hpp
Svc::CmdSequencerComponentBase::CS_AUTO_preMsgHook
virtual void CS_AUTO_preMsgHook(FwOpcodeType opCode, U32 cmdSeq)
Definition: CmdSequencerComponentAc.cpp:1509
Svc::CmdSequencerComponentBase::NUM_CMDRESPONSEIN_INPUT_PORTS
@ NUM_CMDRESPONSEIN_INPUT_PORTS
Definition: CmdSequencerComponentAc.hpp:482
Svc::CmdSequencerComponentBase::regCommands
void regCommands(void)
Register commands with the Command Dispatcher.
Definition: CmdSequencerComponentAc.cpp:332
Svc::CmdSequencerComponentBase::log_ACTIVITY_HI_CS_ModeSwitched
void log_ACTIVITY_HI_CS_ModeSwitched(SeqMode mode)
Definition: CmdSequencerComponentAc.cpp:3578
Svc::CmdSequencerComponentBase::pingOut_out
void pingOut_out(NATIVE_INT_TYPE portNum, U32 key)
Definition: CmdSequencerComponentAc.cpp:758
Svc::CmdSequencerComponentBase::log_WARNING_HI_CS_SequenceTimeout
void log_WARNING_HI_CS_SequenceTimeout(Fw::LogStringArg &filename, U32 command)
Definition: CmdSequencerComponentAc.cpp:3843
TextLogString.hpp
Svc::CmdSequencerComponentBase::m_comCmdOut_OutputPort
Fw::OutputComPort m_comCmdOut_OutputPort[NUM_COMCMDOUT_OUTPUT_PORTS]
Definition: CmdSequencerComponentAc.hpp:1243
Svc::CmdSequencerComponentBase::seqDone_out
void seqDone_out(NATIVE_INT_TYPE portNum, FwOpcodeType opCode, U32 cmdSeq, Fw::CommandResponse response)
Definition: CmdSequencerComponentAc.cpp:768
Svc::CmdSequencerComponentBase::OPCODE_CS_VALIDATE
PROTECTED OPCODE_CS_VALIDATE
Definition: CmdSequencerComponentAc.hpp:651
Svc::CmdSequencerComponentBase::cmdResponseIn_preMsgHook
virtual void cmdResponseIn_preMsgHook(NATIVE_INT_TYPE portNum, FwOpcodeType opCode, U32 cmdSeq, Fw::CommandResponse response)
Definition: CmdSequencerComponentAc.cpp:4442
Svc::CmdSequencerComponentBase::portNum
PRIVATE NATIVE_INT_TYPE portNum
Definition: CmdSequencerComponentAc.hpp:1267
Svc::CmdSequencerComponentBase::NUM_SEQRUNIN_INPUT_PORTS
@ NUM_SEQRUNIN_INPUT_PORTS
Definition: CmdSequencerComponentAc.hpp:485
InputSerializePort.hpp
Fw::CmdStringArg
Definition: CmdString.hpp:11
Svc::CmdSequencerComponentBase::getNum_logOut_OutputPorts
NATIVE_INT_TYPE getNum_logOut_OutputPorts(void)
Definition: CmdSequencerComponentAc.cpp:880
Svc::CmdSequencerComponentBase::OPCODE_CS_STEP
PROTECTED OPCODE_CS_STEP
Definition: CmdSequencerComponentAc.hpp:654
ComPortAc.hpp
Svc::CmdSequencerComponentBase::NUM_COMCMDOUT_OUTPUT_PORTS
@ NUM_COMCMDOUT_OUTPUT_PORTS
Definition: CmdSequencerComponentAc.hpp:557
Svc::CmdSequencerComponentBase::set_logOut_OutputPort
void set_logOut_OutputPort(NATIVE_INT_TYPE portNum, Fw::InputLogPort *port)
Definition: CmdSequencerComponentAc.cpp:208
Svc::CmdSequencerComponentBase::EVENTID_CS_NOSEQUENCEACTIVE
PROTECTED EVENTID_CS_NOSEQUENCEACTIVE
Definition: CmdSequencerComponentAc.hpp:877
CmdPortAc.hpp
Svc::CmdSequencerComponentBase::EVENTID_CS_FILESIZEERROR
PROTECTED EVENTID_CS_FILESIZEERROR
Definition: CmdSequencerComponentAc.hpp:864
Svc::CmdSequencerComponentBase::data
PROTECTED Fw::ComBuffer & data
Definition: CmdSequencerComponentAc.hpp:419
Svc::CmdSequencerComponentBase::log_WARNING_LO_CS_NoSequenceActive
void log_WARNING_LO_CS_NoSequenceActive(void)
Definition: CmdSequencerComponentAc.cpp:3676
Svc::CmdSequencerComponentBase::args
PROTECTED U32 Fw::CmdArgBuffer & args
Definition: CmdSequencerComponentAc.hpp:788
Svc::CmdSequencerComponentBase::log_WARNING_HI_CS_FileReadError
void log_WARNING_HI_CS_FileReadError(Fw::LogStringArg &fileName)
Definition: CmdSequencerComponentAc.cpp:1933
Svc::CmdSequencerComponentBase::log_WARNING_HI_CS_FileInvalid
void log_WARNING_HI_CS_FileInvalid(Fw::LogStringArg &fileName, FileReadStage stage, I32 error)
Definition: CmdSequencerComponentAc.cpp:2021
Svc::CmdSequencerComponentBase::cmdResponseIn_handler
virtual void cmdResponseIn_handler(NATIVE_INT_TYPE portNum, FwOpcodeType opCode, U32 cmdSeq, Fw::CommandResponse response)=0
Handler for input port cmdResponseIn.
Svc::CmdSequencerComponentBase::EVENTID_CS_SEQUENCETIMEOUT
PROTECTED EVENTID_CS_SEQUENCETIMEOUT
Definition: CmdSequencerComponentAc.hpp:879
Svc::CmdSequencerComponentBase::get_pingIn_InputPort
Svc::InputPingPort * get_pingIn_InputPort(NATIVE_INT_TYPE portNum)
Definition: CmdSequencerComponentAc.cpp:97
Fw::InputComPort
Definition: ComPortAc.hpp:28
Svc::CmdSequencerComponentBase::EVENTID_CS_FILEREADERROR
PROTECTED EVENTID_CS_FILEREADERROR
Definition: CmdSequencerComponentAc.hpp:861
Svc::CmdSequencerComponentBase::CS_CANCEL_preMsgHook
virtual void CS_CANCEL_preMsgHook(FwOpcodeType opCode, U32 cmdSeq)
Definition: CmdSequencerComponentAc.cpp:1299
EightyCharString.hpp
Fw::PassiveComponentBase
Definition: PassiveComponentBase.hpp:10
LogString.hpp
Fw::ObjBase::init
void init(void)
Object initializer.
Definition: ObjBase.cpp:26
Svc::CmdSequencerComponentBase::EVENTID_CS_TIMECONTEXTMISMATCH
PROTECTED EVENTID_CS_TIMECONTEXTMISMATCH
Definition: CmdSequencerComponentAc.hpp:873
Svc::CmdSequencerComponentBase::CS_START_cmdHandler
virtual void CS_START_cmdHandler(FwOpcodeType opCode, U32 cmdSeq)=0
Handler for command CS_START.
Svc::CmdSequencerComponentBase::CS_STEP_preMsgHook
virtual void CS_STEP_preMsgHook(FwOpcodeType opCode, U32 cmdSeq)
Definition: CmdSequencerComponentAc.cpp:1439
Svc::CmdSequencerComponentBase::log_WARNING_HI_CS_FileCrcFailure
void log_WARNING_HI_CS_FileCrcFailure(Fw::LogStringArg &fileName, U32 storedCRC, U32 computedCRC)
Definition: CmdSequencerComponentAc.cpp:2463
Fw::OutputLogPort
Definition: LogPortAc.hpp:61
Svc::CmdSequencerComponentBase::NUM_LOGOUT_OUTPUT_PORTS
@ NUM_LOGOUT_OUTPUT_PORTS
Definition: CmdSequencerComponentAc.hpp:559
Svc::CmdSequencerComponentBase::CHANNELID_CS_CANCELCOMMANDS
PROTECTED CHANNELID_CS_CANCELCOMMANDS
Channel ID for CS_CancelCommands.
Definition: CmdSequencerComponentAc.hpp:1127
Svc::CmdSequencerComponentBase::SEQ_AUTO_MODE
@ SEQ_AUTO_MODE
Definition: CmdSequencerComponentAc.hpp:905
Svc::CmdSequencerComponentBase::log_WARNING_HI_CS_TimeContextMismatch
void log_WARNING_HI_CS_TimeContextMismatch(Fw::LogStringArg &fileName, U8 currTimeBase, U8 seqTimeBase)
Definition: CmdSequencerComponentAc.cpp:3268
Svc::CmdSequencerComponentBase::log_ACTIVITY_HI_CS_CmdStepped
void log_ACTIVITY_HI_CS_CmdStepped(Fw::LogStringArg &filename, U32 command)
Definition: CmdSequencerComponentAc.cpp:3949
Svc::InputPingPort
Definition: PingPortAc.hpp:27
ActiveComponentBase.hpp
Svc::CmdSequencerComponentBase::CmdSequencerComponentBaseFriend
friend class CmdSequencerComponentBaseFriend
Definition: CmdSequencerComponentAc.hpp:60
Svc::CmdSequencerComponentBase::response
PROTECTED U32 Fw::CommandResponse response
Definition: CmdSequencerComponentAc.hpp:850
Svc::CmdSequencerComponentBase::CS_AUTO_cmdHandlerBase
void CS_AUTO_cmdHandlerBase(FwOpcodeType opCode, U32 cmdSeq, Fw::CmdArgBuffer &args)
Definition: CmdSequencerComponentAc.cpp:1448
Svc::OutputPingPort
Definition: PingPortAc.hpp:48
Svc::CmdSequencerComponentBase::CS_STEP_cmdHandlerBase
void CS_STEP_cmdHandlerBase(FwOpcodeType opCode, U32 cmdSeq, Fw::CmdArgBuffer &args)
Definition: CmdSequencerComponentAc.cpp:1378
Svc::CmdSequencerComponentBase::CS_START_preMsgHook
virtual void CS_START_preMsgHook(FwOpcodeType opCode, U32 cmdSeq)
Definition: CmdSequencerComponentAc.cpp:1369
Svc::InputSchedPort
Definition: SchedPortAc.hpp:27
TlmString.hpp
Svc::CmdSequencerComponentBase::seqRunIn_preMsgHook
virtual void seqRunIn_preMsgHook(NATIVE_INT_TYPE portNum, Fw::EightyCharString &filename)
Definition: CmdSequencerComponentAc.cpp:4460
Svc::CmdSequencerComponentBase::log_WARNING_HI_CS_UnexpectedCompletion
void log_WARNING_HI_CS_UnexpectedCompletion(U32 opcode)
Definition: CmdSequencerComponentAc.cpp:3480
TlmBuffer.hpp
Svc::CmdSequencerComponentBase::SeqMode
SeqMode
Definition: CmdSequencerComponentAc.hpp:903
Svc::CmdSequencerComponentBase::isConnected_timeCaller_OutputPort
bool isConnected_timeCaller_OutputPort(NATIVE_INT_TYPE portNum)
Definition: CmdSequencerComponentAc.cpp:942
Svc::CmdSequencerComponentBase::CS_AUTO_cmdHandler
virtual void CS_AUTO_cmdHandler(FwOpcodeType opCode, U32 cmdSeq)=0
Handler for command CS_AUTO.
FwOpcodeType
#define FwOpcodeType
Type representation for a command opcode.
Definition: FpConfig.hpp:62
Svc::CmdSequencerComponentBase::m_seqRunIn_InputPort
Svc::InputCmdSeqInPort m_seqRunIn_InputPort[NUM_SEQRUNIN_INPUT_PORTS]
Definition: CmdSequencerComponentAc.hpp:1211
Svc::CmdSequencerComponentBase::get_cmdIn_InputPort
Fw::InputCmdPort * get_cmdIn_InputPort(NATIVE_INT_TYPE portNum)
Definition: CmdSequencerComponentAc.cpp:111
Fw::QueuedComponentBase::MsgDispatchStatus
MsgDispatchStatus
Definition: QueuedComponentBase.hpp:25
Svc::CmdSequencerComponentBase::log_WARNING_HI_CS_CommandError
void log_WARNING_HI_CS_CommandError(Fw::LogStringArg &fileName, U32 recordNumber, U32 opCode, U32 errorStatus)
Definition: CmdSequencerComponentAc.cpp:2799
Svc::CmdSequencerComponentBase::getNum_cmdResponseOut_OutputPorts
NATIVE_INT_TYPE getNum_cmdResponseOut_OutputPorts(void)
Definition: CmdSequencerComponentAc.cpp:816
Svc::CmdSequencerComponentBase::isConnected_seqDone_OutputPort
bool isConnected_seqDone_OutputPort(NATIVE_INT_TYPE portNum)
Definition: CmdSequencerComponentAc.cpp:982
NATIVE_UINT_TYPE
unsigned int NATIVE_UINT_TYPE
native unsigned integer type declaration
Definition: BasicTypes.hpp:30
Svc::CmdSequencerComponentBase::NUM_TLMOUT_OUTPUT_PORTS
@ NUM_TLMOUT_OUTPUT_PORTS
Definition: CmdSequencerComponentAc.hpp:554
Svc::CmdSequencerComponentBase::EVENTID_CS_RECORDMISMATCH
PROTECTED EVENTID_CS_RECORDMISMATCH
Definition: CmdSequencerComponentAc.hpp:871
PingPortAc.hpp
Fw::CmdArgBuffer
Definition: CmdArgBuffer.hpp:22
CmdString.hpp
Svc::CmdSequencerComponentBase::getNum_cmdResponseIn_InputPorts
NATIVE_INT_TYPE getNum_cmdResponseIn_InputPorts(void)
Definition: CmdSequencerComponentAc.cpp:848
Svc::CmdSequencerComponentBase::log_ACTIVITY_HI_CS_SequenceCanceled
void log_ACTIVITY_HI_CS_SequenceCanceled(Fw::LogStringArg &fileName)
Definition: CmdSequencerComponentAc.cpp:1845
Svc::CmdSequencerComponentBase::cmdResponseIn_handlerBase
void cmdResponseIn_handlerBase(NATIVE_INT_TYPE portNum, FwOpcodeType opCode, U32 cmdSeq, Fw::CommandResponse response)
Definition: CmdSequencerComponentAc.cpp:4256
Fw::OutputCmdRegPort
Definition: CmdRegPortAc.hpp:48
Svc::CmdSequencerComponentBase::CS_CANCEL_cmdHandlerBase
void CS_CANCEL_cmdHandlerBase(FwOpcodeType opCode, U32 cmdSeq, Fw::CmdArgBuffer &args)
Definition: CmdSequencerComponentAc.cpp:1238
Svc::CmdSequencerComponentBase::SEQ_DESER_TIME_CONTEXT
PROTECTED SEQ_DESER_TIME_CONTEXT
Definition: CmdSequencerComponentAc.hpp:896
Svc::CmdSequencerComponentBase::seqRunIn_handler
virtual void seqRunIn_handler(NATIVE_INT_TYPE portNum, Fw::EightyCharString &filename)=0
Handler for input port seqRunIn.
Svc::CmdSequencerComponentBase::EVENTID_CS_COMMANDCOMPLETE
PROTECTED EVENTID_CS_COMMANDCOMPLETE
Definition: CmdSequencerComponentAc.hpp:867
Svc::CmdSequencerComponentBase::isConnected_logOut_OutputPort
bool isConnected_logOut_OutputPort(NATIVE_INT_TYPE portNum)
Definition: CmdSequencerComponentAc.cpp:972
Fw::OutputComPort
Definition: ComPortAc.hpp:49
Svc::CmdSequencerComponentBase::SEQ_DESER_TIME_BASE
PROTECTED SEQ_DESER_TIME_BASE
Definition: CmdSequencerComponentAc.hpp:895
Fw::ActiveComponentBase
Definition: ActiveComponentBase.hpp:20
Svc::CmdSequencerComponentBase::SEQ_READ_SEQ_CRC
PROTECTED SEQ_READ_SEQ_CRC
Definition: CmdSequencerComponentAc.hpp:897
CmdResponsePortAc.hpp
Svc::CmdSequencerComponentBase::OPCODE_CS_CANCEL
PROTECTED OPCODE_CS_CANCEL
Definition: CmdSequencerComponentAc.hpp:652
Svc::InputCmdSeqInPort
Definition: CmdSeqInPortAc.hpp:28
Svc::CmdSequencerComponentBase::cmdSeq
PROTECTED U32 cmdSeq
Definition: CmdSequencerComponentAc.hpp:669
Svc::CmdSequencerComponentBase::set_comCmdOut_OutputPort
void set_comCmdOut_OutputPort(NATIVE_INT_TYPE portNum, Fw::InputComPort *port)
Definition: CmdSequencerComponentAc.cpp:188
Svc::CmdSequencerComponentBase::isConnected_comCmdOut_OutputPort
bool isConnected_comCmdOut_OutputPort(NATIVE_INT_TYPE portNum)
Definition: CmdSequencerComponentAc.cpp:952
Svc::CmdSequencerComponentBase::EVENTID_CS_TIMEBASEMISMATCH
PROTECTED EVENTID_CS_TIMEBASEMISMATCH
Definition: CmdSequencerComponentAc.hpp:872
LogTextPortAc.hpp
Svc::CmdSequencerComponentBase::EVENTID_CS_CMDSTEPPED
PROTECTED EVENTID_CS_CMDSTEPPED
Definition: CmdSequencerComponentAc.hpp:880
Svc::CmdSequencerComponentBase::NUM_SEQDONE_OUTPUT_PORTS
@ NUM_SEQDONE_OUTPUT_PORTS
Definition: CmdSequencerComponentAc.hpp:560
Svc::CmdSequencerComponentBase::fileName
PROTECTED U32 const Fw::CmdStringArg & fileName
Definition: CmdSequencerComponentAc.hpp:671
Svc::CmdSequencerComponentBase::CHANNELID_CS_COMMANDSEXECUTED
PROTECTED CHANNELID_CS_COMMANDSEXECUTED
Channel ID for CS_CommandsExecuted.
Definition: CmdSequencerComponentAc.hpp:1129
Fw::InputCmdPort
Definition: CmdPortAc.hpp:28
Svc::CmdSequencerComponentBase::m_p_seqRunIn_in
static void m_p_seqRunIn_in(Fw::PassiveComponentBase *callComp, NATIVE_INT_TYPE portNum, Fw::EightyCharString &filename)
Definition: CmdSequencerComponentAc.cpp:4186
FpConfig.hpp
ISF configuration file.
Svc::CmdSequencerComponentBase::get_cmdResponseIn_InputPort
Fw::InputCmdResponsePort * get_cmdResponseIn_InputPort(NATIVE_INT_TYPE portNum)
Definition: CmdSequencerComponentAc.cpp:104
Svc::CmdSequencerComponentBase::EVENTID_CS_INVALIDMODE
PROTECTED EVENTID_CS_INVALIDMODE
Definition: CmdSequencerComponentAc.hpp:870
Svc::CmdSequencerComponentBase::getNum_timeCaller_OutputPorts
NATIVE_INT_TYPE getNum_timeCaller_OutputPorts(void)
Definition: CmdSequencerComponentAc.cpp:824
Svc::CmdSequencerComponentBase::log_ACTIVITY_HI_CS_CmdStarted
void log_ACTIVITY_HI_CS_CmdStarted(Fw::LogStringArg &filename)
Definition: CmdSequencerComponentAc.cpp:4055
Svc::CmdSequencerComponentBase::getNum_seqRunIn_InputPorts
NATIVE_INT_TYPE getNum_seqRunIn_InputPorts(void)
Definition: CmdSequencerComponentAc.cpp:872
Svc
Definition: ActiveLoggerComponentAc.cpp:22
SchedPortAc.hpp
Svc::CmdSequencerComponentBase::m_pingOut_OutputPort
Svc::OutputPingPort m_pingOut_OutputPort[NUM_PINGOUT_OUTPUT_PORTS]
Definition: CmdSequencerComponentAc.hpp:1247
Svc::CmdSequencerComponentBase::schedIn_handlerBase
void schedIn_handlerBase(NATIVE_INT_TYPE portNum, NATIVE_UINT_TYPE context)
Definition: CmdSequencerComponentAc.cpp:4323
Svc::CmdSequencerComponentBase::CS_MANUAL_preMsgHook
virtual void CS_MANUAL_preMsgHook(FwOpcodeType opCode, U32 cmdSeq)
Definition: CmdSequencerComponentAc.cpp:1579
Svc::CmdSequencerComponentBase::log_WARNING_HI_CS_TimeBaseMismatch
void log_WARNING_HI_CS_TimeBaseMismatch(Fw::LogStringArg &fileName, U16 time_base, U16 seq_time_base)
Definition: CmdSequencerComponentAc.cpp:3144
Svc::CmdSequencerComponentBase::EVENTID_CS_SEQUENCECOMPLETE
PROTECTED EVENTID_CS_SEQUENCECOMPLETE
Definition: CmdSequencerComponentAc.hpp:868
Fw::InputCmdResponsePort
Definition: CmdResponsePortAc.hpp:37
Svc::CmdSequencerComponentBase::EVENTID_CS_PORTSEQUENCESTARTED
PROTECTED EVENTID_CS_PORTSEQUENCESTARTED
Definition: CmdSequencerComponentAc.hpp:874
Svc::CmdSequencerComponentBase::EVENTID_CS_UNEXPECTEDCOMPLETION
PROTECTED EVENTID_CS_UNEXPECTEDCOMPLETION
Definition: CmdSequencerComponentAc.hpp:875
Svc::CmdSequencerComponentBase::log_WARNING_HI_CS_RecordMismatch
void log_WARNING_HI_CS_RecordMismatch(Fw::LogStringArg &fileName, U32 header_records, U32 extra_bytes)
Definition: CmdSequencerComponentAc.cpp:3020
Fw::InputLogPort
Definition: LogPortAc.hpp:40
Svc::CmdSequencerComponentBase::m_logOut_OutputPort
Fw::OutputLogPort m_logOut_OutputPort[NUM_LOGOUT_OUTPUT_PORTS]
Definition: CmdSequencerComponentAc.hpp:1251
Fw::OutputTimePort
Definition: TimePortAc.hpp:49
Svc::CmdSequencerComponentBase::SEQ_DESER_NUM_RECORDS
PROTECTED SEQ_DESER_NUM_RECORDS
Definition: CmdSequencerComponentAc.hpp:894
Svc::CmdSequencerComponentBase::OPCODE_CS_MANUAL
PROTECTED OPCODE_CS_MANUAL
Definition: CmdSequencerComponentAc.hpp:656
Svc::CmdSequencerComponentBase::SEQ_STEP_MODE
@ SEQ_STEP_MODE
Definition: CmdSequencerComponentAc.hpp:904
CmdSeqInPortAc.hpp
Svc::CmdSequencerComponentBase::getNum_pingOut_OutputPorts
NATIVE_INT_TYPE getNum_pingOut_OutputPorts(void)
Definition: CmdSequencerComponentAc.cpp:840
Svc::CmdSequencerComponentBase::EVENTID_CS_MODESWITCHED
PROTECTED EVENTID_CS_MODESWITCHED
Definition: CmdSequencerComponentAc.hpp:876
Svc::CmdSequencerComponentBase::getNum_comCmdOut_OutputPorts
NATIVE_INT_TYPE getNum_comCmdOut_OutputPorts(void)
Definition: CmdSequencerComponentAc.cpp:832
Svc::CmdSequencerComponentBase::schedIn_handler
virtual void schedIn_handler(NATIVE_INT_TYPE portNum, NATIVE_UINT_TYPE context)=0
Handler for input port schedIn.
Svc::CmdSequencerComponentBase::tlmWrite_CS_CommandsExecuted
void tlmWrite_CS_CommandsExecuted(U32 arg)
Definition: CmdSequencerComponentAc.cpp:1679
Svc::CmdSequencerComponentBase::set_timeCaller_OutputPort
void set_timeCaller_OutputPort(NATIVE_INT_TYPE portNum, Fw::InputTimePort *port)
Definition: CmdSequencerComponentAc.cpp:178
Svc::CmdSequencerComponentBase::getNum_schedIn_InputPorts
NATIVE_INT_TYPE getNum_schedIn_InputPorts(void)
Definition: CmdSequencerComponentAc.cpp:864
Svc::CmdSequencerComponentBase::m_p_schedIn_in
static void m_p_schedIn_in(Fw::PassiveComponentBase *callComp, NATIVE_INT_TYPE portNum, NATIVE_UINT_TYPE context)
Definition: CmdSequencerComponentAc.cpp:4173
Svc::CmdSequencerComponentBase::CS_VALIDATE_preMsgHook
virtual void CS_VALIDATE_preMsgHook(FwOpcodeType opCode, U32 cmdSeq)
Definition: CmdSequencerComponentAc.cpp:1229
Svc::CmdSequencerComponentBase::CHANNELID_CS_ERRORS
PROTECTED CHANNELID_CS_ERRORS
Channel ID for CS_Errors.
Definition: CmdSequencerComponentAc.hpp:1128
Time.hpp
Svc::CmdSequencerComponentBase::m_cmdResponseOut_OutputPort
Fw::OutputCmdResponsePort m_cmdResponseOut_OutputPort[NUM_CMDRESPONSEOUT_OUTPUT_PORTS]
Definition: CmdSequencerComponentAc.hpp:1235
Svc::CmdSequencerComponentBase::m_schedIn_InputPort
Svc::InputSchedPort m_schedIn_InputPort[NUM_SCHEDIN_INPUT_PORTS]
Definition: CmdSequencerComponentAc.hpp:1207
NATIVE_INT_TYPE
int NATIVE_INT_TYPE
native integer type declaration
Definition: BasicTypes.hpp:29
Svc::CmdSequencerComponentBase::set_seqDone_OutputPort
void set_seqDone_OutputPort(NATIVE_INT_TYPE portNum, Fw::InputCmdResponsePort *port)
Definition: CmdSequencerComponentAc.cpp:218
Svc::CmdSequencerComponentBase::SeqMode_MAX
@ SeqMode_MAX
Definition: CmdSequencerComponentAc.hpp:906
Svc::CmdSequencerComponentBase::NUM_TIMECALLER_OUTPUT_PORTS
@ NUM_TIMECALLER_OUTPUT_PORTS
Definition: CmdSequencerComponentAc.hpp:556
Fw::ComBuffer
Definition: ComBuffer.hpp:21
Svc::CmdSequencerComponentBase::m_cmdResponseIn_InputPort
Fw::InputCmdResponsePort m_cmdResponseIn_InputPort[NUM_CMDRESPONSEIN_INPUT_PORTS]
Definition: CmdSequencerComponentAc.hpp:1199
Svc::CmdSequencerComponentBase::set_cmdRegOut_OutputPort
void set_cmdRegOut_OutputPort(NATIVE_INT_TYPE portNum, Fw::InputCmdRegPort *port)
Definition: CmdSequencerComponentAc.cpp:136
Svc::CmdSequencerComponentBase::NUM_CMDREGOUT_OUTPUT_PORTS
@ NUM_CMDREGOUT_OUTPUT_PORTS
Definition: CmdSequencerComponentAc.hpp:552
Svc::CmdSequencerComponentBase::log_WARNING_HI_CS_FileNotFound
void log_WARNING_HI_CS_FileNotFound(Fw::LogStringArg &fileName)
Definition: CmdSequencerComponentAc.cpp:2375
OutputSerializePort.hpp
Svc::CmdSequencerComponentBase::key
PROTECTED U32 key
Definition: CmdSequencerComponentAc.hpp:306
Svc::CmdSequencerComponentBase::EVENTID_CS_FILEINVALID
PROTECTED EVENTID_CS_FILEINVALID
Definition: CmdSequencerComponentAc.hpp:862
Svc::CmdSequencerComponentBase::CS_MANUAL_cmdHandler
virtual void CS_MANUAL_cmdHandler(FwOpcodeType opCode, U32 cmdSeq)=0
Handler for command CS_MANUAL.
TimePortAc.hpp
LogPortAc.hpp
Svc::CmdSequencerComponentBase::log_WARNING_HI_CS_InvalidMode
void log_WARNING_HI_CS_InvalidMode(void)
Definition: CmdSequencerComponentAc.cpp:2941
Svc::CmdSequencerComponentBase::EVENTID_CS_RECORDINVALID
PROTECTED EVENTID_CS_RECORDINVALID
Definition: CmdSequencerComponentAc.hpp:863
Fw::OutputLogTextPort
Definition: LogTextPortAc.hpp:61
CmdArgBuffer.hpp
Fw::InputLogTextPort
Definition: LogTextPortAc.hpp:40
Svc::CmdSequencerComponentBase::log_ACTIVITY_HI_CS_SequenceValid
void log_ACTIVITY_HI_CS_SequenceValid(Fw::LogStringArg &filename)
Definition: CmdSequencerComponentAc.cpp:3755