@@ -511,27 +511,34 @@ class CmdSequencerComponentImpl final : public CmdSequencerComponentBase {
511511 FwOpcodeType opcode, // !< The command opcode
512512 U32 cmdSeq, // !< The command sequence number
513513 const Fw::CmdResponse& response // !< The command response
514- ) ;
514+ ) override ;
515515
516516 // ! Handler for input port schedIn
517517 void schedIn_handler (FwIndexType portNum, // !< The port number
518518 U32 order // !< The call order
519- ) ;
519+ ) override ;
520520
521521 // ! Handler for input port seqRunIn
522522 void seqRunIn_handler (FwIndexType portNum, // !< The port number
523523 const Fw::StringBase& filename // !< The sequence file
524- );
524+ ) override ;
525+
526+ // ! Handler implementation for seqDispatchIn
527+ // !
528+ // ! Port for file dispatches to run sequences
529+ void seqDispatchIn_handler (FwIndexType portNum, // !< The port number
530+ Fw::StringBase& file_name // !< The file to dispatch
531+ ) override ;
525532
526533 // ! Handler for ping port
527534 void pingIn_handler (FwIndexType portNum, // !< The port number
528535 U32 key // !< Value to return to pinger
529- ) ;
536+ ) override ;
530537
531538 // ! Handler implementation for seqCancelIn
532539 // !
533540 void seqCancelIn_handler (const FwIndexType portNum /* !< The port number*/
534- ) ;
541+ ) override ;
535542
536543 private:
537544 // ----------------------------------------------------------------------
@@ -542,54 +549,54 @@ class CmdSequencerComponentImpl final : public CmdSequencerComponentBase {
542549 // ! Set the run mode to AUTO.
543550 void CS_AUTO_cmdHandler (FwOpcodeType opcode, // !< The opcode
544551 U32 cmdSeq // !< The command sequence number
545- ) ;
552+ ) override ;
546553
547554 // ! Handler for command CS_CANCEL
548555 // ! Validate a command sequence file
549556 void CS_CANCEL_cmdHandler (FwOpcodeType opCode, // !< The opcode
550557 U32 cmdSeq // !< The command sequence number
551- ) ;
558+ ) override ;
552559
553560 // ! Handler for command CS_MANUAL
554561 // ! Set the run mode to MANUAL.
555562 void CS_MANUAL_cmdHandler (FwOpcodeType opcode, // !< The opcode
556563 U32 cmdSeq // !< The command sequence number
557- ) ;
564+ ) override ;
558565
559566 // ! Handler for command CS_RUN
560567 void CS_RUN_cmdHandler (FwOpcodeType opCode, // !< The opcode
561568 U32 cmdSeq, // !< The command sequence number
562569 const Fw::CmdStringArg& fileName, // !< The file name
563570 Svc::CmdSequencer_BlockState block /* !< Return command status when complete or not*/
564- ) ;
571+ ) override ;
565572
566573 // ! Handler for command CS_START
567574 // ! Start running a command sequence
568575 void CS_START_cmdHandler (FwOpcodeType opcode, // !< The opcode
569576 U32 cmdSeq // !< The command sequence number
570- ) ;
577+ ) override ;
571578
572579 // ! Handler for command CS_STEP
573580 // ! Perform one step in a command sequence.
574581 // ! Valid only if SequenceRunner is in MANUAL run mode.
575582 void CS_STEP_cmdHandler (FwOpcodeType opcode, // !< The opcode
576583 U32 cmdSeq // !< The command sequence number
577- ) ;
584+ ) override ;
578585
579586 // ! Handler for command CS_VALIDATE
580587 // ! Run a command sequence file
581588 void CS_VALIDATE_cmdHandler (FwOpcodeType opCode, // !< The opcode
582589 U32 cmdSeq, // !< The command sequence number
583590 const Fw::CmdStringArg& fileName // !< The name of the sequence file
584- ) ;
591+ ) override ;
585592
586593 // ! Implementation for CS_JOIN command handler
587594 // ! Wait for sequences that are running to finish.
588595 // ! Allow user to run multiple seq files in SEQ_NO_BLOCK mode
589596 // ! then wait for them to finish before allowing more seq run request.
590597 void CS_JOIN_WAIT_cmdHandler (const FwOpcodeType opCode, /* !< The opcode*/
591598 const U32 cmdSeq /* !< The command sequence number*/
592- ) ;
599+ ) override ;
593600
594601 private:
595602 // ----------------------------------------------------------------------
@@ -640,6 +647,9 @@ class CmdSequencerComponentImpl final : public CmdSequencerComponentBase {
640647 void setCmdTimeout (const Fw::Time& currentTime // !< The current time
641648 );
642649
650+ // ! Sequence run helper
651+ void doSequenceRun (const Fw::StringBase& fileName);
652+
643653 private:
644654 // ----------------------------------------------------------------------
645655 // Private member variables
0 commit comments