![]() |
F´ Flight Software - C/C++ Documentation
A framework for building embedded system applications to NASA flight quality standards.
|
Auto-generated base for CmdSequencer component. More...
#include <Svc/CmdSequencer/CmdSequencerComponentAc.hpp>
Protected Member Functions | |
| CmdSequencerComponentBase (const char *compName="") | |
| Construct CmdSequencerComponentBase object. More... | |
| virtual | ~CmdSequencerComponentBase () |
| Destroy CmdSequencerComponentBase object. More... | |
| bool | isConnected_cmdRegOut_OutputPort (FwIndexType portNum) const |
| bool | isConnected_cmdResponseOut_OutputPort (FwIndexType portNum) const |
| bool | isConnected_logOut_OutputPort (FwIndexType portNum) const |
| bool | isConnected_timeCaller_OutputPort (FwIndexType portNum) const |
| bool | isConnected_tlmOut_OutputPort (FwIndexType portNum) const |
| bool | isConnected_comCmdOut_OutputPort (FwIndexType portNum) const |
| bool | isConnected_pingOut_OutputPort (FwIndexType portNum) const |
| bool | isConnected_seqDone_OutputPort (FwIndexType portNum) const |
| bool | isConnected_seqStartOut_OutputPort (FwIndexType portNum) const |
| void | cmdIn_handlerBase (FwIndexType portNum, FwOpcodeType opCode, U32 cmdSeq, Fw::CmdArgBuffer &args) |
| Handler base-class function for input port cmdIn. More... | |
| virtual void | cmdResponseIn_handler (FwIndexType portNum, FwOpcodeType opCode, U32 cmdSeq, const Fw::CmdResponse &response)=0 |
| Handler for input port cmdResponseIn. More... | |
| virtual void | pingIn_handler (FwIndexType portNum, U32 key)=0 |
| Handler for input port pingIn. More... | |
| virtual void | schedIn_handler (FwIndexType portNum, U32 context)=0 |
| Handler for input port schedIn. More... | |
| virtual void | seqCancelIn_handler (FwIndexType portNum)=0 |
| Handler for input port seqCancelIn. More... | |
| virtual void | seqDispatchIn_handler (FwIndexType portNum, Fw::StringBase &file_name)=0 |
| Handler for input port seqDispatchIn. More... | |
| virtual void | seqRunIn_handler (FwIndexType portNum, const Fw::StringBase &filename, const Svc::SeqArgs &args)=0 |
| Handler for input port seqRunIn. More... | |
| void | cmdResponseIn_handlerBase (FwIndexType portNum, FwOpcodeType opCode, U32 cmdSeq, const Fw::CmdResponse &response) |
| Handler base-class function for input port cmdResponseIn. More... | |
| void | pingIn_handlerBase (FwIndexType portNum, U32 key) |
| Handler base-class function for input port pingIn. More... | |
| void | schedIn_handlerBase (FwIndexType portNum, U32 context) |
| Handler base-class function for input port schedIn. More... | |
| void | seqCancelIn_handlerBase (FwIndexType portNum) |
| Handler base-class function for input port seqCancelIn. More... | |
| void | seqDispatchIn_handlerBase (FwIndexType portNum, Fw::StringBase &file_name) |
| Handler base-class function for input port seqDispatchIn. More... | |
| void | seqRunIn_handlerBase (FwIndexType portNum, const Fw::StringBase &filename, const Svc::SeqArgs &args) |
| Handler base-class function for input port seqRunIn. More... | |
| virtual void | cmdResponseIn_preMsgHook (FwIndexType portNum, FwOpcodeType opCode, U32 cmdSeq, const Fw::CmdResponse &response) |
| Pre-message hook for async input port cmdResponseIn. More... | |
| virtual void | pingIn_preMsgHook (FwIndexType portNum, U32 key) |
| Pre-message hook for async input port pingIn. More... | |
| virtual void | schedIn_preMsgHook (FwIndexType portNum, U32 context) |
| Pre-message hook for async input port schedIn. More... | |
| virtual void | seqCancelIn_preMsgHook (FwIndexType portNum) |
| Pre-message hook for async input port seqCancelIn. More... | |
| virtual void | seqDispatchIn_preMsgHook (FwIndexType portNum, Fw::StringBase &file_name) |
| Pre-message hook for async input port seqDispatchIn. More... | |
| virtual void | seqRunIn_preMsgHook (FwIndexType portNum, const Fw::StringBase &filename, const Svc::SeqArgs &args) |
| Pre-message hook for async input port seqRunIn. More... | |
| void | comCmdOut_out (FwIndexType portNum, Fw::ComBuffer &data, U32 context) const |
| Invoke output port comCmdOut. More... | |
| void | pingOut_out (FwIndexType portNum, U32 key) const |
| Invoke output port pingOut. More... | |
| void | seqDone_out (FwIndexType portNum, FwOpcodeType opCode, U32 cmdSeq, const Fw::CmdResponse &response) const |
| Invoke output port seqDone. More... | |
| void | seqStartOut_out (FwIndexType portNum, const Fw::StringBase &filename, const Svc::SeqArgs &args) const |
| Invoke output port seqStartOut. More... | |
| void | cmdResponse_out (FwOpcodeType opCode, U32 cmdSeq, Fw::CmdResponse response) |
| Emit command response. More... | |
| virtual void | CS_RUN_cmdHandler (FwOpcodeType opCode, U32 cmdSeq, const Fw::CmdStringArg &fileName, const Svc::BlockState &block)=0 |
| virtual void | CS_VALIDATE_cmdHandler (FwOpcodeType opCode, U32 cmdSeq, const Fw::CmdStringArg &fileName)=0 |
| virtual void | CS_CANCEL_cmdHandler (FwOpcodeType opCode, U32 cmdSeq)=0 |
| virtual void | CS_START_cmdHandler (FwOpcodeType opCode, U32 cmdSeq)=0 |
| virtual void | CS_STEP_cmdHandler (FwOpcodeType opCode, U32 cmdSeq)=0 |
| virtual void | CS_AUTO_cmdHandler (FwOpcodeType opCode, U32 cmdSeq)=0 |
| virtual void | CS_MANUAL_cmdHandler (FwOpcodeType opCode, U32 cmdSeq)=0 |
| virtual void | CS_JOIN_WAIT_cmdHandler (FwOpcodeType opCode, U32 cmdSeq)=0 |
| void | CS_RUN_cmdHandlerBase (FwOpcodeType opCode, U32 cmdSeq, Fw::CmdArgBuffer &args) |
| void | CS_VALIDATE_cmdHandlerBase (FwOpcodeType opCode, U32 cmdSeq, Fw::CmdArgBuffer &args) |
| void | CS_CANCEL_cmdHandlerBase (FwOpcodeType opCode, U32 cmdSeq, Fw::CmdArgBuffer &args) |
| void | CS_START_cmdHandlerBase (FwOpcodeType opCode, U32 cmdSeq, Fw::CmdArgBuffer &args) |
| void | CS_STEP_cmdHandlerBase (FwOpcodeType opCode, U32 cmdSeq, Fw::CmdArgBuffer &args) |
| void | CS_AUTO_cmdHandlerBase (FwOpcodeType opCode, U32 cmdSeq, Fw::CmdArgBuffer &args) |
| void | CS_MANUAL_cmdHandlerBase (FwOpcodeType opCode, U32 cmdSeq, Fw::CmdArgBuffer &args) |
| void | CS_JOIN_WAIT_cmdHandlerBase (FwOpcodeType opCode, U32 cmdSeq, Fw::CmdArgBuffer &args) |
| virtual void | CS_RUN_preMsgHook (FwOpcodeType opCode, U32 cmdSeq) |
| Pre-message hook for command CS_RUN. More... | |
| virtual void | CS_VALIDATE_preMsgHook (FwOpcodeType opCode, U32 cmdSeq) |
| Pre-message hook for command CS_VALIDATE. More... | |
| virtual void | CS_CANCEL_preMsgHook (FwOpcodeType opCode, U32 cmdSeq) |
| Pre-message hook for command CS_CANCEL. More... | |
| virtual void | CS_START_preMsgHook (FwOpcodeType opCode, U32 cmdSeq) |
| Pre-message hook for command CS_START. More... | |
| virtual void | CS_STEP_preMsgHook (FwOpcodeType opCode, U32 cmdSeq) |
| Pre-message hook for command CS_STEP. More... | |
| virtual void | CS_AUTO_preMsgHook (FwOpcodeType opCode, U32 cmdSeq) |
| Pre-message hook for command CS_AUTO. More... | |
| virtual void | CS_MANUAL_preMsgHook (FwOpcodeType opCode, U32 cmdSeq) |
| Pre-message hook for command CS_MANUAL. More... | |
| virtual void | CS_JOIN_WAIT_preMsgHook (FwOpcodeType opCode, U32 cmdSeq) |
| Pre-message hook for command CS_JOIN_WAIT. More... | |
| void | log_ACTIVITY_LO_CS_SequenceLoaded (const Fw::StringBase &fileName) const |
| void | log_ACTIVITY_HI_CS_SequenceCanceled (const Fw::StringBase &fileName) const |
| void | log_WARNING_HI_CS_FileReadError (const Fw::StringBase &fileName) const |
| void | log_WARNING_HI_CS_FileInvalid (const Fw::StringBase &fileName, const Svc::CmdSequencer_FileReadStage &stage, I32 error) const |
| void | log_WARNING_HI_CS_RecordInvalid (const Fw::StringBase &fileName, U32 recordNumber, I32 error) const |
| void | log_WARNING_HI_CS_FileSizeError (const Fw::StringBase &fileName, U32 size) const |
| void | log_WARNING_HI_CS_FileNotFound (const Fw::StringBase &fileName) const |
| void | log_WARNING_HI_CS_FileCrcFailure (const Fw::StringBase &fileName, U32 storedCRC, U32 computedCRC) const |
| void | log_ACTIVITY_LO_CS_CommandComplete (const Fw::StringBase &fileName, U32 recordNumber, FwOpcodeType opCode) const |
| void | log_ACTIVITY_HI_CS_SequenceComplete (const Fw::StringBase &fileName) const |
| void | log_WARNING_HI_CS_CommandError (const Fw::StringBase &fileName, U32 recordNumber, FwOpcodeType opCode, U32 errorStatus) const |
| void | log_WARNING_HI_CS_InvalidMode () const |
| void | log_WARNING_HI_CS_RecordMismatch (const Fw::StringBase &fileName, U32 header_records, U32 extra_bytes) const |
| void | log_WARNING_HI_CS_TimeBaseMismatch (const Fw::StringBase &fileName, U16 time_base, U16 seq_time_base) const |
| void | log_WARNING_HI_CS_TimeContextMismatch (const Fw::StringBase &fileName, U8 currTimeBase, U8 seqTimeBase) const |
| void | log_ACTIVITY_HI_CS_PortSequenceStarted (const Fw::StringBase &filename) const |
| void | log_WARNING_HI_CS_UnexpectedCompletion (FwOpcodeType opcode) const |
| void | log_ACTIVITY_HI_CS_ModeSwitched (const Svc::CmdSequencer_SeqMode &mode) const |
| void | log_WARNING_LO_CS_NoSequenceActive () const |
| void | log_ACTIVITY_HI_CS_SequenceValid (const Fw::StringBase &filename) const |
| void | log_WARNING_HI_CS_SequenceTimeout (const Fw::StringBase &filename, U32 command) const |
| void | log_ACTIVITY_HI_CS_CmdStepped (const Fw::StringBase &filename, U32 command) const |
| void | log_ACTIVITY_HI_CS_CmdStarted (const Fw::StringBase &filename) const |
| void | log_ACTIVITY_HI_CS_JoinWaiting (const Fw::StringBase &filename, U32 recordNumber, FwOpcodeType opCode) const |
| void | log_WARNING_HI_CS_JoinWaitingNotComplete () const |
| void | log_WARNING_LO_CS_NoRecords (const Fw::StringBase &fileName) const |
| Log event CS_NoRecords. More... | |
| void | tlmWrite (FwChanIdType id, Fw::TlmBuffer &_tlmBuff, Fw::Time _tlmTime=Fw::Time()) const |
| void | tlmWrite_CS_LoadCommands (U32 arg, Fw::Time _tlmTime=Fw::Time()) const |
| void | tlmWrite_CS_CancelCommands (U32 arg, Fw::Time _tlmTime=Fw::Time()) const |
| void | tlmWrite_CS_Errors (U32 arg, Fw::Time _tlmTime=Fw::Time()) const |
| void | tlmWrite_CS_CommandsExecuted (U32 arg, Fw::Time _tlmTime=Fw::Time()) const |
| void | tlmWrite_CS_SequencesCompleted (U32 arg, Fw::Time _tlmTime=Fw::Time()) const |
| void | tlmWrite_CS_CurrentSequence (const Fw::StringBase &arg, Fw::Time _tlmTime=Fw::Time()) |
| Fw::Time | getTime () const |
Protected Member Functions inherited from Fw::ActiveComponentBase | |
| ActiveComponentBase (const char *name) | |
| Constructor. More... | |
| virtual | ~ActiveComponentBase () |
| Destructor. More... | |
| void | init (FwEnumStoreType instance) |
| initialization code More... | |
| virtual void | preamble () |
| A function that will be called before the event loop is entered. More... | |
| MsgDispatchStatus | dispatch () |
| The function that will dispatching messages. More... | |
| virtual void | finalizer () |
| A function that will be called after exiting the loop. More... | |
Protected Member Functions inherited from Fw::QueuedComponentBase | |
| QueuedComponentBase (const char *name) | |
| Constructor. More... | |
| virtual | ~QueuedComponentBase () |
| Destructor. More... | |
| void | init (FwEnumStoreType instance) |
| initialization function More... | |
| Os::Queue::Status | createQueue (FwSizeType depth, FwSizeType msgSize) |
| MsgDispatchStatus | dispatchAvailableMessages () |
| dispatches all messages currently in the queue, returning status of the dispatch More... | |
| FwSizeType | getNumMsgsDropped () |
| return number of messages dropped More... | |
| void | incNumMsgDropped () |
| increment the number of messages dropped More... | |
Protected Member Functions inherited from Fw::PassiveComponentBase | |
| PassiveComponentBase (const char *name) | |
| Named constructor. More... | |
| virtual | ~PassiveComponentBase () |
| Destructor. More... | |
| void | init (FwEnumStoreType instance) |
| Initialization function. More... | |
| FwEnumStoreType | getInstance () const |
Protected Member Functions inherited from Fw::ObjBase | |
| ObjBase (const char *name) | |
| ObjBase constructor. More... | |
| virtual | ~ObjBase () |
| Destructor. More... | |
| void | init () |
| Object initializer. More... | |
Friends | |
| class | CmdSequencerTesterBase |
| Friend class tester to support autocoded test harness. More... | |
| class | CmdSequencerTester |
| Friend class tester implementation to support white-box testing. More... | |
Additional Inherited Members | |
Public Types inherited from Fw::ActiveComponentBase | |
| enum | { ACTIVE_COMPONENT_EXIT } |
Public Types inherited from Fw::QueuedComponentBase | |
| enum | MsgDispatchStatus { MSG_DISPATCH_OK, MSG_DISPATCH_EMPTY, MSG_DISPATCH_ERROR, MSG_DISPATCH_EXIT } |
Protected Attributes inherited from Fw::ActiveComponentBase | |
| Os::Task | m_task |
| task object for active component More... | |
Protected Attributes inherited from Fw::QueuedComponentBase | |
| Os::Queue | m_queue |
| queue object for active component More... | |
Auto-generated base for CmdSequencer component.
A component for running command sequences
Definition at line 48 of file CmdSequencerComponentAc.hpp.
|
protected |
Enumerations for numbers of special input ports.
| Enumerator | |
|---|---|
| NUM_CMDIN_INPUT_PORTS | |
Definition at line 68 of file CmdSequencerComponentAc.hpp.
|
protected |
Enumerations for numbers of typed input ports.
| Enumerator | |
|---|---|
| NUM_CMDRESPONSEIN_INPUT_PORTS | |
| NUM_PINGIN_INPUT_PORTS | |
| NUM_SCHEDIN_INPUT_PORTS | |
| NUM_SEQCANCELIN_INPUT_PORTS | |
| NUM_SEQDISPATCHIN_INPUT_PORTS | |
| NUM_SEQRUNIN_INPUT_PORTS | |
Definition at line 73 of file CmdSequencerComponentAc.hpp.
|
protected |
Enumerations for numbers of special output ports.
| Enumerator | |
|---|---|
| NUM_LOGTEXT_OUTPUT_PORTS | |
| NUM_CMDREGOUT_OUTPUT_PORTS | |
| NUM_CMDRESPONSEOUT_OUTPUT_PORTS | |
| NUM_LOGOUT_OUTPUT_PORTS | |
| NUM_TIMECALLER_OUTPUT_PORTS | |
| NUM_TLMOUT_OUTPUT_PORTS | |
Definition at line 83 of file CmdSequencerComponentAc.hpp.
|
protected |
Enumerations for numbers of typed output ports.
| Enumerator | |
|---|---|
| NUM_COMCMDOUT_OUTPUT_PORTS | |
| NUM_PINGOUT_OUTPUT_PORTS | |
| NUM_SEQDONE_OUTPUT_PORTS | |
| NUM_SEQSTARTOUT_OUTPUT_PORTS | |
Definition at line 93 of file CmdSequencerComponentAc.hpp.
|
protected |
Command opcodes.
Definition at line 101 of file CmdSequencerComponentAc.hpp.
|
protected |
Event IDs.
Definition at line 113 of file CmdSequencerComponentAc.hpp.
|
protected |
Channel IDs.
Definition at line 143 of file CmdSequencerComponentAc.hpp.
|
protected |
Construct CmdSequencerComponentBase object.
| compName | The component name |
Definition at line 958 of file CmdSequencerComponentAc.cpp.
|
protectedvirtual |
Destroy CmdSequencerComponentBase object.
Definition at line 965 of file CmdSequencerComponentAc.cpp.
|
protected |
Handler base-class function for input port cmdIn.
| portNum | The port number |
| opCode | The opcode |
| cmdSeq | The command sequence number |
| args | The command argument buffer |
Definition at line 1107 of file CmdSequencerComponentAc.cpp.
|
protected |
Emit command response.
| opCode | The opcode |
| cmdSeq | The command sequence number |
| response | The command response |
Definition at line 1703 of file CmdSequencerComponentAc.cpp.
|
protectedpure virtual |
Handler for input port cmdResponseIn.
| portNum | The port number |
| opCode | Command Op Code |
| cmdSeq | Command Sequence |
| response | The command response argument |
|
protected |
Handler base-class function for input port cmdResponseIn.
| portNum | The port number |
| opCode | Command Op Code |
| cmdSeq | Command Sequence |
| response | The command response argument |
Definition at line 1204 of file CmdSequencerComponentAc.cpp.
|
protectedvirtual |
Pre-message hook for async input port cmdResponseIn.
| portNum | The port number |
| opCode | Command Op Code |
| cmdSeq | Command Sequence |
| response | The command response argument |
Definition at line 1549 of file CmdSequencerComponentAc.cpp.
|
protected |
Invoke output port comCmdOut.
| portNum | The port number |
| data | Buffer containing packet data |
| context | Call context value; meaning chosen by user |
Definition at line 1609 of file CmdSequencerComponentAc.cpp.
|
protectedpure virtual |
Handler for command CS_AUTO
Set the run mode to AUTO.
| opCode | The opcode |
| cmdSeq | The command sequence number |
|
protected |
Base-class handler function for command CS_AUTO
Set the run mode to AUTO.
| opCode | The opcode |
| cmdSeq | The command sequence number |
| args | The command argument buffer |
Definition at line 2015 of file CmdSequencerComponentAc.cpp.
|
protectedvirtual |
Pre-message hook for command CS_AUTO.
| opCode | The opcode |
| cmdSeq | The command sequence number |
Definition at line 2255 of file CmdSequencerComponentAc.cpp.
|
protectedpure virtual |
Handler for command CS_CANCEL
Cancel a command sequence
| opCode | The opcode |
| cmdSeq | The command sequence number |
|
protected |
Base-class handler function for command CS_CANCEL
Cancel a command sequence
| opCode | The opcode |
| cmdSeq | The command sequence number |
| args | The command argument buffer |
Definition at line 1838 of file CmdSequencerComponentAc.cpp.
|
protectedvirtual |
Pre-message hook for command CS_CANCEL.
| opCode | The opcode |
| cmdSeq | The command sequence number |
Definition at line 2222 of file CmdSequencerComponentAc.cpp.
|
protectedpure virtual |
Handler for command CS_JOIN_WAIT
Wait for sequences that are running to finish. Allow user to run multiple seq files in SEQ_NO_BLOCK mode then wait for them to finish before allowing more seq run request.
| opCode | The opcode |
| cmdSeq | The command sequence number |
|
protected |
Base-class handler function for command CS_JOIN_WAIT
Wait for sequences that are running to finish. Allow user to run multiple seq files in SEQ_NO_BLOCK mode then wait for them to finish before allowing more seq run request.
| opCode | The opcode |
| cmdSeq | The command sequence number |
| args | The command argument buffer |
Definition at line 2133 of file CmdSequencerComponentAc.cpp.
|
protectedvirtual |
Pre-message hook for command CS_JOIN_WAIT.
| opCode | The opcode |
| cmdSeq | The command sequence number |
Definition at line 2277 of file CmdSequencerComponentAc.cpp.
|
protectedpure virtual |
Handler for command CS_MANUAL
Set the run mode to MANUAL.
| opCode | The opcode |
| cmdSeq | The command sequence number |
|
protected |
Base-class handler function for command CS_MANUAL
Set the run mode to MANUAL.
| opCode | The opcode |
| cmdSeq | The command sequence number |
| args | The command argument buffer |
Definition at line 2074 of file CmdSequencerComponentAc.cpp.
|
protectedvirtual |
Pre-message hook for command CS_MANUAL.
| opCode | The opcode |
| cmdSeq | The command sequence number |
Definition at line 2266 of file CmdSequencerComponentAc.cpp.
|
protectedpure virtual |
Handler for command CS_RUN
Run a command sequence file
| opCode | The opcode |
| cmdSeq | The command sequence number |
| fileName | The name of the sequence file |
| block | Return command status when complete or not |
|
protected |
Base-class handler function for command CS_RUN
Run a command sequence file
| opCode | The opcode |
| cmdSeq | The command sequence number |
| args | The command argument buffer |
Definition at line 1720 of file CmdSequencerComponentAc.cpp.
|
protectedvirtual |
Pre-message hook for command CS_RUN.
| opCode | The opcode |
| cmdSeq | The command sequence number |
Definition at line 2200 of file CmdSequencerComponentAc.cpp.
|
protectedpure virtual |
Handler for command CS_START
Start running a command sequence
| opCode | The opcode |
| cmdSeq | The command sequence number |
|
protected |
Base-class handler function for command CS_START
Start running a command sequence
| opCode | The opcode |
| cmdSeq | The command sequence number |
| args | The command argument buffer |
Definition at line 1897 of file CmdSequencerComponentAc.cpp.
|
protectedvirtual |
Pre-message hook for command CS_START.
| opCode | The opcode |
| cmdSeq | The command sequence number |
Definition at line 2233 of file CmdSequencerComponentAc.cpp.
|
protectedpure virtual |
Handler for command CS_STEP
Perform one step in a command sequence. Valid only if CmdSequencer is in MANUAL run mode.
| opCode | The opcode |
| cmdSeq | The command sequence number |
|
protected |
Base-class handler function for command CS_STEP
Perform one step in a command sequence. Valid only if CmdSequencer is in MANUAL run mode.
| opCode | The opcode |
| cmdSeq | The command sequence number |
| args | The command argument buffer |
Definition at line 1956 of file CmdSequencerComponentAc.cpp.
|
protectedvirtual |
Pre-message hook for command CS_STEP.
| opCode | The opcode |
| cmdSeq | The command sequence number |
Definition at line 2244 of file CmdSequencerComponentAc.cpp.
|
protectedpure virtual |
Handler for command CS_VALIDATE
Validate a command sequence file
| opCode | The opcode |
| cmdSeq | The command sequence number |
| fileName | The name of the sequence file |
|
protected |
Base-class handler function for command CS_VALIDATE
Validate a command sequence file
| opCode | The opcode |
| cmdSeq | The command sequence number |
| args | The command argument buffer |
Definition at line 1779 of file CmdSequencerComponentAc.cpp.
|
protectedvirtual |
Pre-message hook for command CS_VALIDATE.
| opCode | The opcode |
| cmdSeq | The command sequence number |
Definition at line 2211 of file CmdSequencerComponentAc.cpp.
| Fw::InputCmdPort * Svc::CmdSequencerComponentBase::get_cmdIn_InputPort | ( | FwIndexType | portNum | ) |
Get special input port at index
| portNum | The port number |
Definition at line 497 of file CmdSequencerComponentAc.cpp.
| Fw::InputCmdResponsePort * Svc::CmdSequencerComponentBase::get_cmdResponseIn_InputPort | ( | FwIndexType | portNum | ) |
Get typed input port at index
| portNum | The port number |
Definition at line 516 of file CmdSequencerComponentAc.cpp.
| Svc::InputPingPort * Svc::CmdSequencerComponentBase::get_pingIn_InputPort | ( | FwIndexType | portNum | ) |
Get typed input port at index
| portNum | The port number |
Definition at line 527 of file CmdSequencerComponentAc.cpp.
| Svc::InputSchedPort * Svc::CmdSequencerComponentBase::get_schedIn_InputPort | ( | FwIndexType | portNum | ) |
Get typed input port at index
| portNum | The port number |
Definition at line 538 of file CmdSequencerComponentAc.cpp.
| Svc::InputCmdSeqCancelPort * Svc::CmdSequencerComponentBase::get_seqCancelIn_InputPort | ( | FwIndexType | portNum | ) |
Get typed input port at index
| portNum | The port number |
Definition at line 549 of file CmdSequencerComponentAc.cpp.
| Svc::InputFileDispatchPort * Svc::CmdSequencerComponentBase::get_seqDispatchIn_InputPort | ( | FwIndexType | portNum | ) |
Get typed input port at index
| portNum | The port number |
Definition at line 560 of file CmdSequencerComponentAc.cpp.
| Svc::InputCmdSeqInPort * Svc::CmdSequencerComponentBase::get_seqRunIn_InputPort | ( | FwIndexType | portNum | ) |
Get typed input port at index
| portNum | The port number |
Definition at line 571 of file CmdSequencerComponentAc.cpp.
|
inlinestaticprotected |
Get the number of cmdIn input ports
Definition at line 435 of file CmdSequencerComponentAc.hpp.
|
inlinestaticprotected |
Get the number of cmdRegOut output ports
Definition at line 507 of file CmdSequencerComponentAc.hpp.
|
inlinestaticprotected |
Get the number of cmdResponseIn input ports
Definition at line 448 of file CmdSequencerComponentAc.hpp.
|
inlinestaticprotected |
Get the number of cmdResponseOut output ports
Definition at line 514 of file CmdSequencerComponentAc.hpp.
|
inlinestaticprotected |
Get the number of comCmdOut output ports
Definition at line 548 of file CmdSequencerComponentAc.hpp.
|
inlinestaticprotected |
Get the number of logOut output ports
Definition at line 521 of file CmdSequencerComponentAc.hpp.
|
inlinestaticprotected |
Get the number of pingIn input ports
Definition at line 455 of file CmdSequencerComponentAc.hpp.
|
inlinestaticprotected |
Get the number of pingOut output ports
Definition at line 555 of file CmdSequencerComponentAc.hpp.
|
inlinestaticprotected |
Get the number of schedIn input ports
Definition at line 462 of file CmdSequencerComponentAc.hpp.
|
inlinestaticprotected |
Get the number of seqCancelIn input ports
Definition at line 469 of file CmdSequencerComponentAc.hpp.
|
inlinestaticprotected |
Get the number of seqDispatchIn input ports
Definition at line 476 of file CmdSequencerComponentAc.hpp.
|
inlinestaticprotected |
Get the number of seqDone output ports
Definition at line 562 of file CmdSequencerComponentAc.hpp.
|
inlinestaticprotected |
Get the number of seqRunIn input ports
Definition at line 483 of file CmdSequencerComponentAc.hpp.
|
inlinestaticprotected |
Get the number of seqStartOut output ports
Definition at line 569 of file CmdSequencerComponentAc.hpp.
|
inlinestaticprotected |
Get the number of timeCaller output ports
Definition at line 528 of file CmdSequencerComponentAc.hpp.
|
inlinestaticprotected |
Get the number of tlmOut output ports
Definition at line 535 of file CmdSequencerComponentAc.hpp.
|
protected |
| void Svc::CmdSequencerComponentBase::init | ( | FwSizeType | queueDepth, |
| FwEnumStoreType | instance = 0 |
||
| ) |
Initialize CmdSequencerComponentBase object.
| queueDepth | The queue depth |
| instance | The instance number |
Definition at line 79 of file CmdSequencerComponentAc.cpp.
|
protected |
Check whether port cmdRegOut is connected
| portNum | The port number |
Definition at line 992 of file CmdSequencerComponentAc.cpp.
|
protected |
Check whether port cmdResponseOut is connected
| portNum | The port number |
Definition at line 1003 of file CmdSequencerComponentAc.cpp.
|
protected |
Check whether port comCmdOut is connected
| portNum | The port number |
Definition at line 1055 of file CmdSequencerComponentAc.cpp.
|
protected |
Check whether port logOut is connected
| portNum | The port number |
Definition at line 1014 of file CmdSequencerComponentAc.cpp.
|
protected |
Check whether port pingOut is connected
| portNum | The port number |
Definition at line 1066 of file CmdSequencerComponentAc.cpp.
|
protected |
Check whether port seqDone is connected
| portNum | The port number |
Definition at line 1077 of file CmdSequencerComponentAc.cpp.
|
protected |
Check whether port seqStartOut is connected
| portNum | The port number |
Definition at line 1088 of file CmdSequencerComponentAc.cpp.
|
protected |
Check whether port timeCaller is connected
| portNum | The port number |
Definition at line 1025 of file CmdSequencerComponentAc.cpp.
|
protected |
Check whether port tlmOut is connected
| portNum | The port number |
Definition at line 1036 of file CmdSequencerComponentAc.cpp.
|
protected |
Log event CS_CmdStarted
A manual sequence was started
| filename | The sequence file |
Definition at line 4324 of file CmdSequencerComponentAc.cpp.
|
protected |
Log event CS_CmdStepped
A command in a sequence was stepped through
| filename | The sequence file |
| command | The command that was stepped |
Definition at line 4229 of file CmdSequencerComponentAc.cpp.
|
protected |
Log event CS_JoinWaiting
Wait for the current running sequence file complete
| filename | The sequence file |
| recordNumber | The record number |
| opCode | The opcode |
Definition at line 4399 of file CmdSequencerComponentAc.cpp.
|
protected |
Log event CS_ModeSwitched
Switched step mode
| mode | The new mode |
Definition at line 3909 of file CmdSequencerComponentAc.cpp.
|
protected |
Log event CS_PortSequenceStarted
A local port request to run a sequence was started
| filename | The sequence file |
Definition at line 3752 of file CmdSequencerComponentAc.cpp.
|
protected |
Log event CS_SequenceCanceled
A command sequence was successfully canceled.
| fileName | The name of the sequence file |
Definition at line 2367 of file CmdSequencerComponentAc.cpp.
|
protected |
Log event CS_SequenceComplete
A command sequence successfully completed.
| fileName | The name of the sequence file |
Definition at line 3142 of file CmdSequencerComponentAc.cpp.
|
protected |
Log event CS_SequenceValid
A sequence passed validation
| filename | The sequence file |
Definition at line 4059 of file CmdSequencerComponentAc.cpp.
|
protected |
Log event CS_CommandComplete
The Command Sequencer issued a command and received a success status in return.
| fileName | The name of the sequence file |
| recordNumber | The record number of the command |
| opCode | The command opcode |
Definition at line 3029 of file CmdSequencerComponentAc.cpp.
|
protected |
Log event CS_SequenceLoaded
Sequence file was successfully loaded.
| fileName | The name of the sequence file |
Definition at line 2292 of file CmdSequencerComponentAc.cpp.
|
protected |
Log event CS_CommandError
The Command Sequencer issued a command and received an error status in return.
| fileName | The name of the sequence file |
| recordNumber | The record number |
| opCode | The opcode |
| errorStatus | The error status |
Definition at line 3217 of file CmdSequencerComponentAc.cpp.
|
protected |
Log event CS_FileCrcFailure
The sequence file validation failed
| fileName | The sequence file |
| storedCRC | The CRC stored in the file |
| computedCRC | The CRC computed over the file |
Definition at line 2916 of file CmdSequencerComponentAc.cpp.
|
protected |
Log event CS_FileInvalid
The sequence file format was invalid.
| fileName | The name of the sequence file |
| stage | The read stage |
| error | The error code |
Definition at line 2517 of file CmdSequencerComponentAc.cpp.
|
protected |
Log event CS_FileNotFound
The sequence file was not found
| fileName | The sequence file |
Definition at line 2841 of file CmdSequencerComponentAc.cpp.
|
protected |
Log event CS_FileReadError
The Sequence File Loader could not read the sequence file.
| fileName | The name of the sequence file |
Definition at line 2442 of file CmdSequencerComponentAc.cpp.
|
protected |
Log event CS_FileSizeError
The sequence file was too large.
| fileName | The name of the sequence file |
| size | Invalid size |
Definition at line 2746 of file CmdSequencerComponentAc.cpp.
|
protected |
Log event CS_InvalidMode
The Command Sequencer received a command that was invalid for its current mode.
Definition at line 3348 of file CmdSequencerComponentAc.cpp.
|
protected |
Log event CS_JoinWaitingNotComplete
Cannot run new sequence when current sequence file is still running.
Definition at line 4512 of file CmdSequencerComponentAc.cpp.
|
protected |
Log event CS_RecordInvalid
The format of a command record was invalid.
| fileName | The name of the sequence file |
| recordNumber | The record number |
| error | The error code |
Definition at line 2633 of file CmdSequencerComponentAc.cpp.
|
protected |
Log event CS_RecordMismatch
Number of records in header doesn't match number in file
| fileName | The name of the sequence file |
| header_records | The number of records in the header |
| extra_bytes | The number of bytes beyond last record |
Definition at line 3413 of file CmdSequencerComponentAc.cpp.
|
protected |
Log event CS_SequenceTimeout
A sequence passed validation
| filename | The sequence file |
| command | The command that timed out |
Definition at line 4134 of file CmdSequencerComponentAc.cpp.
|
protected |
Log event CS_TimeBaseMismatch
The running time base doesn't match the time base in the sequence files
| fileName | The name of the sequence file |
| time_base | The current time |
| seq_time_base | The sequence time base |
Definition at line 3526 of file CmdSequencerComponentAc.cpp.
|
protected |
Log event CS_TimeContextMismatch
The running time base doesn't match the time base in the sequence files
| fileName | The name of the sequence file |
| currTimeBase | The current time base |
| seqTimeBase | The sequence time base |
Definition at line 3639 of file CmdSequencerComponentAc.cpp.
|
protected |
Log event CS_UnexpectedCompletion
A command status came back when no sequence was running
| opcode | The reported opcode |
Definition at line 3827 of file CmdSequencerComponentAc.cpp.
|
protected |
Log event CS_NoRecords.
| fileName | The name of the sequence file |
Definition at line 4577 of file CmdSequencerComponentAc.cpp.
|
protected |
Log event CS_NoSequenceActive
A sequence related command came with no active sequence
Definition at line 3994 of file CmdSequencerComponentAc.cpp.
|
protectedpure virtual |
Handler for input port pingIn.
| portNum | The port number |
| key | Value to return to pinger |
|
protected |
Handler base-class function for input port pingIn.
| portNum | The port number |
| key | Value to return to pinger |
Definition at line 1275 of file CmdSequencerComponentAc.cpp.
|
protectedvirtual |
Pre-message hook for async input port pingIn.
| portNum | The port number |
| key | Value to return to pinger |
Definition at line 1560 of file CmdSequencerComponentAc.cpp.
|
protected |
Invoke output port pingOut.
| portNum | The port number |
| key | Value to return to pinger |
Definition at line 1631 of file CmdSequencerComponentAc.cpp.
| void Svc::CmdSequencerComponentBase::regCommands | ( | ) |
Register commands with the Command Dispatcher.
Connect the dispatcher first
Definition at line 908 of file CmdSequencerComponentAc.cpp.
|
protectedpure virtual |
Handler for input port schedIn.
| portNum | The port number |
| context | The call order |
|
protected |
Handler base-class function for input port schedIn.
| portNum | The port number |
| context | The call order |
Definition at line 1333 of file CmdSequencerComponentAc.cpp.
|
protectedvirtual |
Pre-message hook for async input port schedIn.
| portNum | The port number |
| context | The call order |
Definition at line 1569 of file CmdSequencerComponentAc.cpp.
|
protectedpure virtual |
Handler for input port seqCancelIn.
| portNum | The port number |
|
protected |
Handler base-class function for input port seqCancelIn.
| portNum | The port number |
Definition at line 1386 of file CmdSequencerComponentAc.cpp.
|
protectedvirtual |
Pre-message hook for async input port seqCancelIn.
| portNum | The port number |
Definition at line 1578 of file CmdSequencerComponentAc.cpp.
|
protectedpure virtual |
Handler for input port seqDispatchIn.
| portNum | The port number |
| file_name | The file to dispatch |
|
protected |
Handler base-class function for input port seqDispatchIn.
| portNum | The port number |
| file_name | The file to dispatch |
Definition at line 1426 of file CmdSequencerComponentAc.cpp.
|
protectedvirtual |
Pre-message hook for async input port seqDispatchIn.
| portNum | The port number |
| file_name | The file to dispatch |
Definition at line 1584 of file CmdSequencerComponentAc.cpp.
|
protected |
Invoke output port seqDone.
| portNum | The port number |
| opCode | Command Op Code |
| cmdSeq | Command Sequence |
| response | The command response argument |
Definition at line 1651 of file CmdSequencerComponentAc.cpp.
|
protectedpure virtual |
Handler for input port seqRunIn.
| portNum | The port number |
| filename | The sequence file |
| args | Sequence arguments |
|
protected |
Handler base-class function for input port seqRunIn.
| portNum | The port number |
| filename | The sequence file |
| args | Sequence arguments |
Definition at line 1479 of file CmdSequencerComponentAc.cpp.
|
protectedvirtual |
Pre-message hook for async input port seqRunIn.
| portNum | The port number |
| filename | The sequence file |
| args | Sequence arguments |
Definition at line 1593 of file CmdSequencerComponentAc.cpp.
|
protected |
Invoke output port seqStartOut.
| portNum | The port number |
| filename | The sequence file |
| args | Sequence arguments |
Definition at line 1675 of file CmdSequencerComponentAc.cpp.
| void Svc::CmdSequencerComponentBase::set_cmdRegOut_OutputPort | ( | FwIndexType | portNum, |
| Fw::InputCmdRegPort * | port | ||
| ) |
Connect port to cmdRegOut[portNum].
| portNum | The port number |
| port | The input port |
Definition at line 608 of file CmdSequencerComponentAc.cpp.
| void Svc::CmdSequencerComponentBase::set_cmdResponseOut_OutputPort | ( | FwIndexType | portNum, |
| Fw::InputCmdResponsePort * | port | ||
| ) |
Connect port to cmdResponseOut[portNum].
| portNum | The port number |
| port | The input port |
Definition at line 622 of file CmdSequencerComponentAc.cpp.
| void Svc::CmdSequencerComponentBase::set_comCmdOut_OutputPort | ( | FwIndexType | portNum, |
| Fw::InputComPort * | port | ||
| ) |
Connect port to comCmdOut[portNum].
| portNum | The port number |
| port | The input port |
Definition at line 686 of file CmdSequencerComponentAc.cpp.
| void Svc::CmdSequencerComponentBase::set_logOut_OutputPort | ( | FwIndexType | portNum, |
| Fw::InputLogPort * | port | ||
| ) |
Connect port to logOut[portNum].
| portNum | The port number |
| port | The input port |
Definition at line 636 of file CmdSequencerComponentAc.cpp.
| void Svc::CmdSequencerComponentBase::set_pingOut_OutputPort | ( | FwIndexType | portNum, |
| Svc::InputPingPort * | port | ||
| ) |
Connect port to pingOut[portNum].
| portNum | The port number |
| port | The input port |
Definition at line 700 of file CmdSequencerComponentAc.cpp.
| void Svc::CmdSequencerComponentBase::set_seqDone_OutputPort | ( | FwIndexType | portNum, |
| Fw::InputCmdResponsePort * | port | ||
| ) |
Connect port to seqDone[portNum].
| portNum | The port number |
| port | The input port |
Definition at line 714 of file CmdSequencerComponentAc.cpp.
| void Svc::CmdSequencerComponentBase::set_seqStartOut_OutputPort | ( | FwIndexType | portNum, |
| Svc::InputCmdSeqInPort * | port | ||
| ) |
Connect port to seqStartOut[portNum].
| portNum | The port number |
| port | The input port |
Definition at line 728 of file CmdSequencerComponentAc.cpp.
| void Svc::CmdSequencerComponentBase::set_timeCaller_OutputPort | ( | FwIndexType | portNum, |
| Fw::InputTimePort * | port | ||
| ) |
Connect port to timeCaller[portNum].
| portNum | The port number |
| port | The input port |
Definition at line 650 of file CmdSequencerComponentAc.cpp.
| void Svc::CmdSequencerComponentBase::set_tlmOut_OutputPort | ( | FwIndexType | portNum, |
| Fw::InputTlmPort * | port | ||
| ) |
Connect port to tlmOut[portNum].
| portNum | The port number |
| port | The input port |
Definition at line 664 of file CmdSequencerComponentAc.cpp.
|
protected |
Write telemetry channel given its local id and serialized value. Warning: This is a low level telemetry interface that does not guarentee channel type safety. It is up to the caller to make sure the serialized data matches the definition in the model. Update on change semantics are ignored, this telemetry is always written
| id | The channel id |
| _tlmBuff | The serialized telemetry value |
| _tlmTime | Timestamp. Default: unspecified, request from getTime port |
Definition at line 4656 of file CmdSequencerComponentAc.cpp.
|
protected |
Write telemetry channel CS_CancelCommands
The number of Cancel commands executed
| arg | The telemetry value |
| _tlmTime | Timestamp. Default: unspecified, request from getTime port |
Definition at line 4709 of file CmdSequencerComponentAc.cpp.
|
protected |
Write telemetry channel CS_CommandsExecuted
The number of commands executed across all sequences.
| arg | The telemetry value |
| _tlmTime | Timestamp. Default: unspecified, request from getTime port |
Definition at line 4753 of file CmdSequencerComponentAc.cpp.
|
protected |
Write telemetry channel CS_CurrentSequence
The sequence file currently executing
| arg | The telemetry value |
| _tlmTime | Timestamp. Default: unspecified, request from getTime port |
Definition at line 4797 of file CmdSequencerComponentAc.cpp.
|
protected |
Write telemetry channel CS_Errors
The number of errors that have occurred
| arg | The telemetry value |
| _tlmTime | Timestamp. Default: unspecified, request from getTime port |
Definition at line 4731 of file CmdSequencerComponentAc.cpp.
|
protected |
Write telemetry channel CS_LoadCommands
The number of Load commands executed
| arg | The telemetry value |
| _tlmTime | Timestamp. Default: unspecified, request from getTime port |
Definition at line 4687 of file CmdSequencerComponentAc.cpp.
|
protected |
Write telemetry channel CS_SequencesCompleted
The number of sequences completed.
| arg | The telemetry value |
| _tlmTime | Timestamp. Default: unspecified, request from getTime port |
Definition at line 4775 of file CmdSequencerComponentAc.cpp.
|
friend |
Friend class tester implementation to support white-box testing.
Definition at line 59 of file CmdSequencerComponentAc.hpp.
|
friend |
Friend class tester to support autocoded test harness.
Definition at line 57 of file CmdSequencerComponentAc.hpp.