![]() |
F´ Flight Software - C/C++ Documentation
A framework for building embedded system applications to NASA flight quality standards.
|
Auto-generated base for CommandDispatcher component. More...
#include <Svc/CmdDispatcher/CommandDispatcherComponentAc.hpp>
Protected Member Functions | |
CommandDispatcherComponentBase (const char *compName="") | |
Construct CommandDispatcherComponentBase object. More... | |
virtual | ~CommandDispatcherComponentBase () |
Destroy CommandDispatcherComponentBase object. More... | |
FwIndexType | getNum_CmdDisp_InputPorts () const |
FwIndexType | getNum_compCmdReg_InputPorts () const |
FwIndexType | getNum_compCmdStat_InputPorts () const |
FwIndexType | getNum_pingIn_InputPorts () const |
FwIndexType | getNum_run_InputPorts () const |
FwIndexType | getNum_seqCmdBuff_InputPorts () const |
FwIndexType | getNum_CmdReg_OutputPorts () const |
FwIndexType | getNum_CmdStatus_OutputPorts () const |
FwIndexType | getNum_Log_OutputPorts () const |
FwIndexType | getNum_Time_OutputPorts () const |
FwIndexType | getNum_Tlm_OutputPorts () const |
FwIndexType | getNum_compCmdSend_OutputPorts () const |
FwIndexType | getNum_pingOut_OutputPorts () const |
FwIndexType | getNum_seqCmdStatus_OutputPorts () const |
bool | isConnected_CmdReg_OutputPort (FwIndexType portNum) |
bool | isConnected_CmdStatus_OutputPort (FwIndexType portNum) |
bool | isConnected_Log_OutputPort (FwIndexType portNum) |
bool | isConnected_Time_OutputPort (FwIndexType portNum) |
bool | isConnected_Tlm_OutputPort (FwIndexType portNum) |
bool | isConnected_compCmdSend_OutputPort (FwIndexType portNum) |
bool | isConnected_pingOut_OutputPort (FwIndexType portNum) |
bool | isConnected_seqCmdStatus_OutputPort (FwIndexType portNum) |
virtual void | compCmdReg_handler (FwIndexType portNum, FwOpcodeType opCode)=0 |
Handler for input port compCmdReg. More... | |
virtual void | compCmdStat_handler (FwIndexType portNum, FwOpcodeType opCode, U32 cmdSeq, const Fw::CmdResponse &response)=0 |
Handler for input port compCmdStat. More... | |
virtual void | pingIn_handler (FwIndexType portNum, U32 key)=0 |
Handler for input port pingIn. More... | |
virtual void | run_handler (FwIndexType portNum, U32 context)=0 |
Handler for input port run. More... | |
virtual void | seqCmdBuff_handler (FwIndexType portNum, Fw::ComBuffer &data, U32 context)=0 |
Handler for input port seqCmdBuff. More... | |
void | compCmdReg_handlerBase (FwIndexType portNum, FwOpcodeType opCode) |
Handler base-class function for input port compCmdReg. More... | |
void | compCmdStat_handlerBase (FwIndexType portNum, FwOpcodeType opCode, U32 cmdSeq, const Fw::CmdResponse &response) |
Handler base-class function for input port compCmdStat. More... | |
void | pingIn_handlerBase (FwIndexType portNum, U32 key) |
Handler base-class function for input port pingIn. More... | |
void | run_handlerBase (FwIndexType portNum, U32 context) |
Handler base-class function for input port run. More... | |
void | seqCmdBuff_handlerBase (FwIndexType portNum, Fw::ComBuffer &data, U32 context) |
Handler base-class function for input port seqCmdBuff. More... | |
virtual void | compCmdStat_preMsgHook (FwIndexType portNum, FwOpcodeType opCode, U32 cmdSeq, const Fw::CmdResponse &response) |
Pre-message hook for async input port compCmdStat. More... | |
virtual void | pingIn_preMsgHook (FwIndexType portNum, U32 key) |
Pre-message hook for async input port pingIn. More... | |
virtual void | run_preMsgHook (FwIndexType portNum, U32 context) |
Pre-message hook for async input port run. More... | |
virtual void | seqCmdBuff_preMsgHook (FwIndexType portNum, Fw::ComBuffer &data, U32 context) |
Pre-message hook for async input port seqCmdBuff. More... | |
virtual void | seqCmdBuff_overflowHook (FwIndexType portNum, Fw::ComBuffer &data, U32 context)=0 |
Overflow hook for async input port seqCmdBuff. More... | |
void | compCmdSend_out (FwIndexType portNum, FwOpcodeType opCode, U32 cmdSeq, Fw::CmdArgBuffer &args) |
Invoke output port compCmdSend. More... | |
void | pingOut_out (FwIndexType portNum, U32 key) |
Invoke output port pingOut. More... | |
void | seqCmdStatus_out (FwIndexType portNum, FwOpcodeType opCode, U32 cmdSeq, const Fw::CmdResponse &response) |
Invoke output port seqCmdStatus. More... | |
void | cmdResponse_out (FwOpcodeType opCode, U32 cmdSeq, Fw::CmdResponse response) |
Emit command response. More... | |
virtual void | CMD_NO_OP_cmdHandler (FwOpcodeType opCode, U32 cmdSeq)=0 |
virtual void | CMD_NO_OP_STRING_cmdHandler (FwOpcodeType opCode, U32 cmdSeq, const Fw::CmdStringArg &arg1)=0 |
virtual void | CMD_TEST_CMD_1_cmdHandler (FwOpcodeType opCode, U32 cmdSeq, I32 arg1, F32 arg2, U8 arg3)=0 |
virtual void | CMD_CLEAR_TRACKING_cmdHandler (FwOpcodeType opCode, U32 cmdSeq)=0 |
void | CMD_NO_OP_cmdHandlerBase (FwOpcodeType opCode, U32 cmdSeq, Fw::CmdArgBuffer &args) |
void | CMD_NO_OP_STRING_cmdHandlerBase (FwOpcodeType opCode, U32 cmdSeq, Fw::CmdArgBuffer &args) |
void | CMD_TEST_CMD_1_cmdHandlerBase (FwOpcodeType opCode, U32 cmdSeq, Fw::CmdArgBuffer &args) |
void | CMD_CLEAR_TRACKING_cmdHandlerBase (FwOpcodeType opCode, U32 cmdSeq, Fw::CmdArgBuffer &args) |
virtual void | CMD_NO_OP_preMsgHook (FwOpcodeType opCode, U32 cmdSeq) |
Pre-message hook for command CMD_NO_OP. More... | |
virtual void | CMD_NO_OP_STRING_preMsgHook (FwOpcodeType opCode, U32 cmdSeq) |
Pre-message hook for command CMD_NO_OP_STRING. More... | |
virtual void | CMD_TEST_CMD_1_preMsgHook (FwOpcodeType opCode, U32 cmdSeq) |
Pre-message hook for command CMD_TEST_CMD_1. More... | |
virtual void | CMD_CLEAR_TRACKING_preMsgHook (FwOpcodeType opCode, U32 cmdSeq) |
Pre-message hook for command CMD_CLEAR_TRACKING. More... | |
void | log_DIAGNOSTIC_OpCodeRegistered (FwOpcodeType Opcode, I32 port, I32 slot) const |
Log event OpCodeRegistered. More... | |
void | log_COMMAND_OpCodeDispatched (FwOpcodeType Opcode, I32 port) const |
void | log_COMMAND_OpCodeCompleted (FwOpcodeType Opcode) const |
void | log_COMMAND_OpCodeError (FwOpcodeType Opcode, Fw::CmdResponse error) const |
void | log_WARNING_HI_MalformedCommand (Fw::DeserialStatus Status) const |
void | log_WARNING_HI_InvalidCommand (FwOpcodeType Opcode) const |
void | log_WARNING_HI_TooManyCommands (FwOpcodeType Opcode) const |
void | log_ACTIVITY_HI_NoOpReceived () const |
void | log_ACTIVITY_HI_NoOpStringReceived (const Fw::StringBase &message) const |
void | log_ACTIVITY_HI_TestCmd1Args (I32 arg1, F32 arg2, U8 arg3) const |
void | log_DIAGNOSTIC_OpCodeReregistered (FwOpcodeType Opcode, I32 port) const |
void | log_WARNING_HI_CommandDroppedQueueOverflow (FwOpcodeType OpCode, U32 Context) |
void | log_WARNING_HI_CommandDroppedQueueOverflow_ThrottleClear () |
Reset throttle value for CommandDroppedQueueOverflow. More... | |
void | tlmWrite_CommandsDispatched (U32 arg, Fw::Time _tlmTime=Fw::Time()) |
void | tlmWrite_CommandErrors (U32 arg, Fw::Time _tlmTime=Fw::Time()) |
void | tlmWrite_CommandsDropped (U32 arg, Fw::Time _tlmTime=Fw::Time()) |
Fw::Time | getTime () const |
virtual void | lock () |
Lock the guarded mutex. More... | |
virtual void | unLock () |
Unlock the guarded mutex. More... | |
![]() | |
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... | |
![]() | |
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) |
FwSizeType | getNumMsgsDropped () |
return number of messages dropped More... | |
void | incNumMsgDropped () |
increment the number of messages dropped More... | |
![]() | |
PassiveComponentBase (const char *name) | |
Named constructor. More... | |
virtual | ~PassiveComponentBase () |
Destructor. More... | |
void | init (FwEnumStoreType instance) |
Initialization function. More... | |
FwEnumStoreType | getInstance () const |
![]() | |
ObjBase (const char *name) | |
ObjBase constructor. More... | |
virtual | ~ObjBase () |
Destructor. More... | |
void | init () |
Object initializer. More... | |
Friends | |
class | CommandDispatcherTesterBase |
Friend class tester to support autocoded test harness. More... | |
class | CommandDispatcherTester |
Friend class tester implementation to support white-box testing. More... | |
Additional Inherited Members | |
![]() | |
enum | { ACTIVE_COMPONENT_EXIT } |
![]() | |
enum | MsgDispatchStatus { MSG_DISPATCH_OK, MSG_DISPATCH_EMPTY, MSG_DISPATCH_ERROR, MSG_DISPATCH_EXIT } |
![]() | |
Os::Task | m_task |
task object for active component More... | |
![]() | |
Os::Queue | m_queue |
queue object for active component More... | |
Auto-generated base for CommandDispatcher component.
A component for dispatching commands
Definition at line 42 of file CommandDispatcherComponentAc.hpp.
|
protected |
Enumerations for numbers of special input ports.
Enumerator | |
---|---|
NUM_CMDDISP_INPUT_PORTS |
Definition at line 62 of file CommandDispatcherComponentAc.hpp.
|
protected |
Enumerations for numbers of typed input ports.
Enumerator | |
---|---|
NUM_COMPCMDREG_INPUT_PORTS | |
NUM_COMPCMDSTAT_INPUT_PORTS | |
NUM_PINGIN_INPUT_PORTS | |
NUM_RUN_INPUT_PORTS | |
NUM_SEQCMDBUFF_INPUT_PORTS |
Definition at line 67 of file CommandDispatcherComponentAc.hpp.
|
protected |
Enumerations for numbers of special output ports.
Enumerator | |
---|---|
NUM_CMDREG_OUTPUT_PORTS | |
NUM_CMDSTATUS_OUTPUT_PORTS | |
NUM_LOG_OUTPUT_PORTS | |
NUM_LOGTEXT_OUTPUT_PORTS | |
NUM_TIME_OUTPUT_PORTS | |
NUM_TLM_OUTPUT_PORTS |
Definition at line 76 of file CommandDispatcherComponentAc.hpp.
|
protected |
Enumerations for numbers of typed output ports.
Enumerator | |
---|---|
NUM_COMPCMDSEND_OUTPUT_PORTS | |
NUM_PINGOUT_OUTPUT_PORTS | |
NUM_SEQCMDSTATUS_OUTPUT_PORTS |
Definition at line 86 of file CommandDispatcherComponentAc.hpp.
|
protected |
Command opcodes.
Definition at line 93 of file CommandDispatcherComponentAc.hpp.
|
protected |
Event IDs.
Definition at line 101 of file CommandDispatcherComponentAc.hpp.
|
protected |
Event throttle values: sets initial value of countdown variables.
Enumerator | |
---|---|
EVENTID_COMMANDDROPPEDQUEUEOVERFLOW_THROTTLE | Throttle reset count for CommandDroppedQueueOverflow. |
Definition at line 117 of file CommandDispatcherComponentAc.hpp.
|
protected |
Channel IDs.
Enumerator | |
---|---|
CHANNELID_COMMANDSDISPATCHED | Channel ID for CommandsDispatched. |
CHANNELID_COMMANDERRORS | Channel ID for CommandErrors. |
CHANNELID_COMMANDSDROPPED | Channel ID for CommandsDropped. |
Definition at line 122 of file CommandDispatcherComponentAc.hpp.
|
protected |
Construct CommandDispatcherComponentBase object.
compName | The component name |
Definition at line 805 of file CommandDispatcherComponentAc.cpp.
|
protectedvirtual |
Destroy CommandDispatcherComponentBase object.
Definition at line 824 of file CommandDispatcherComponentAc.cpp.
|
protectedpure virtual |
Handler for command CMD_CLEAR_TRACKING
Clear command tracking info to recover from components not returning status
opCode | The opcode |
cmdSeq | The command sequence number |
|
protected |
Base-class handler function for command CMD_CLEAR_TRACKING
Clear command tracking info to recover from components not returning status
opCode | The opcode |
cmdSeq | The command sequence number |
args | The command argument buffer |
Definition at line 1643 of file CommandDispatcherComponentAc.cpp.
|
protectedvirtual |
Pre-message hook for command CMD_CLEAR_TRACKING.
opCode | The opcode |
cmdSeq | The command sequence number |
Definition at line 1743 of file CommandDispatcherComponentAc.cpp.
|
protectedpure virtual |
Handler for command CMD_NO_OP
No-op command
opCode | The opcode |
cmdSeq | The command sequence number |
|
protected |
Base-class handler function for command CMD_NO_OP
No-op command
opCode | The opcode |
cmdSeq | The command sequence number |
args | The command argument buffer |
Definition at line 1466 of file CommandDispatcherComponentAc.cpp.
|
protectedvirtual |
Pre-message hook for command CMD_NO_OP.
opCode | The opcode |
cmdSeq | The command sequence number |
Definition at line 1710 of file CommandDispatcherComponentAc.cpp.
|
protectedpure virtual |
Handler for command CMD_NO_OP_STRING
No-op string command
opCode | The opcode |
cmdSeq | The command sequence number |
arg1 | The String command argument |
|
protected |
Base-class handler function for command CMD_NO_OP_STRING
No-op string command
opCode | The opcode |
cmdSeq | The command sequence number |
args | The command argument buffer |
Definition at line 1525 of file CommandDispatcherComponentAc.cpp.
|
protectedvirtual |
Pre-message hook for command CMD_NO_OP_STRING.
opCode | The opcode |
cmdSeq | The command sequence number |
Definition at line 1721 of file CommandDispatcherComponentAc.cpp.
|
protectedpure virtual |
Handler for command CMD_TEST_CMD_1
No-op command
opCode | The opcode |
cmdSeq | The command sequence number |
arg1 | The I32 command argument |
arg2 | The F32 command argument |
arg3 | The U8 command argument |
|
protected |
Base-class handler function for command CMD_TEST_CMD_1
No-op command
opCode | The opcode |
cmdSeq | The command sequence number |
args | The command argument buffer |
Definition at line 1584 of file CommandDispatcherComponentAc.cpp.
|
protectedvirtual |
Pre-message hook for command CMD_TEST_CMD_1.
opCode | The opcode |
cmdSeq | The command sequence number |
Definition at line 1732 of file CommandDispatcherComponentAc.cpp.
|
protected |
Emit command response.
opCode | The opcode |
cmdSeq | The command sequence number |
response | The command response |
Definition at line 1449 of file CommandDispatcherComponentAc.cpp.
|
protectedpure virtual |
Handler for input port compCmdReg.
portNum | The port number |
opCode | Command Op Code |
|
protected |
Handler base-class function for input port compCmdReg.
portNum | The port number |
opCode | Command Op Code |
Definition at line 1057 of file CommandDispatcherComponentAc.cpp.
|
protected |
Invoke output port compCmdSend.
portNum | The port number |
opCode | Command Op Code |
cmdSeq | Command Sequence |
args | Buffer containing arguments |
Definition at line 1377 of file CommandDispatcherComponentAc.cpp.
|
protectedpure virtual |
Handler for input port compCmdStat.
portNum | The port number |
opCode | Command Op Code |
cmdSeq | Command Sequence |
response | The command response argument |
|
protected |
Handler base-class function for input port compCmdStat.
portNum | The port number |
opCode | Command Op Code |
cmdSeq | Command Sequence |
response | The command response argument |
Definition at line 1082 of file CommandDispatcherComponentAc.cpp.
|
protectedvirtual |
Pre-message hook for async input port compCmdStat.
portNum | The port number |
opCode | Command Op Code |
cmdSeq | Command Sequence |
response | The command response argument |
Definition at line 1334 of file CommandDispatcherComponentAc.cpp.
Fw::InputCmdPort * Svc::CommandDispatcherComponentBase::get_CmdDisp_InputPort | ( | FwIndexType | portNum | ) |
Get special input port at index
portNum | The port number |
Definition at line 421 of file CommandDispatcherComponentAc.cpp.
Fw::InputCmdRegPort * Svc::CommandDispatcherComponentBase::get_compCmdReg_InputPort | ( | FwIndexType | portNum | ) |
Get typed input port at index
portNum | The port number |
Definition at line 436 of file CommandDispatcherComponentAc.cpp.
Fw::InputCmdResponsePort * Svc::CommandDispatcherComponentBase::get_compCmdStat_InputPort | ( | FwIndexType | portNum | ) |
Get typed input port at index
portNum | The port number |
Definition at line 447 of file CommandDispatcherComponentAc.cpp.
Svc::InputPingPort * Svc::CommandDispatcherComponentBase::get_pingIn_InputPort | ( | FwIndexType | portNum | ) |
Get typed input port at index
portNum | The port number |
Definition at line 458 of file CommandDispatcherComponentAc.cpp.
Svc::InputSchedPort * Svc::CommandDispatcherComponentBase::get_run_InputPort | ( | FwIndexType | portNum | ) |
Get typed input port at index
portNum | The port number |
Definition at line 469 of file CommandDispatcherComponentAc.cpp.
Fw::InputComPort * Svc::CommandDispatcherComponentBase::get_seqCmdBuff_InputPort | ( | FwIndexType | portNum | ) |
Get typed input port at index
portNum | The port number |
Definition at line 480 of file CommandDispatcherComponentAc.cpp.
|
protected |
Get the number of CmdDisp input ports
Definition at line 834 of file CommandDispatcherComponentAc.cpp.
|
protected |
Get the number of CmdReg output ports
Definition at line 878 of file CommandDispatcherComponentAc.cpp.
|
protected |
Get the number of CmdStatus output ports
Definition at line 884 of file CommandDispatcherComponentAc.cpp.
|
protected |
Get the number of compCmdReg input ports
Definition at line 844 of file CommandDispatcherComponentAc.cpp.
|
protected |
Get the number of compCmdSend output ports
Definition at line 922 of file CommandDispatcherComponentAc.cpp.
|
protected |
Get the number of compCmdStat input ports
Definition at line 850 of file CommandDispatcherComponentAc.cpp.
|
protected |
Get the number of Log output ports
Definition at line 890 of file CommandDispatcherComponentAc.cpp.
|
protected |
Get the number of pingIn input ports
Definition at line 856 of file CommandDispatcherComponentAc.cpp.
|
protected |
Get the number of pingOut output ports
Definition at line 928 of file CommandDispatcherComponentAc.cpp.
|
protected |
Get the number of run input ports
Definition at line 862 of file CommandDispatcherComponentAc.cpp.
|
protected |
Get the number of seqCmdBuff input ports
Definition at line 868 of file CommandDispatcherComponentAc.cpp.
|
protected |
Get the number of seqCmdStatus output ports
Definition at line 934 of file CommandDispatcherComponentAc.cpp.
|
protected |
Get the number of Time output ports
Definition at line 906 of file CommandDispatcherComponentAc.cpp.
|
protected |
Get the number of Tlm output ports
Definition at line 912 of file CommandDispatcherComponentAc.cpp.
|
protected |
Get the time
\return The current time
Definition at line 3048 of file CommandDispatcherComponentAc.cpp.
void Svc::CommandDispatcherComponentBase::init | ( | FwSizeType | queueDepth, |
FwEnumStoreType | instance = 0 |
||
) |
Initialize CommandDispatcherComponentBase object.
queueDepth | The queue depth |
instance | The instance number |
Definition at line 80 of file CommandDispatcherComponentAc.cpp.
|
protected |
Check whether port CmdReg is connected
portNum | The port number |
Definition at line 944 of file CommandDispatcherComponentAc.cpp.
|
protected |
Check whether port CmdStatus is connected
portNum | The port number |
Definition at line 955 of file CommandDispatcherComponentAc.cpp.
|
protected |
Check whether port compCmdSend is connected
portNum | The port number |
Definition at line 1018 of file CommandDispatcherComponentAc.cpp.
|
protected |
Check whether port Log is connected
portNum | The port number |
Definition at line 966 of file CommandDispatcherComponentAc.cpp.
|
protected |
Check whether port pingOut is connected
portNum | The port number |
Definition at line 1029 of file CommandDispatcherComponentAc.cpp.
|
protected |
Check whether port seqCmdStatus is connected
portNum | The port number |
Definition at line 1040 of file CommandDispatcherComponentAc.cpp.
|
protected |
Check whether port Time is connected
portNum | The port number |
Definition at line 992 of file CommandDispatcherComponentAc.cpp.
|
protected |
Check whether port Tlm is connected
portNum | The port number |
Definition at line 1003 of file CommandDispatcherComponentAc.cpp.
|
protectedvirtual |
Lock the guarded mutex.
Definition at line 3068 of file CommandDispatcherComponentAc.cpp.
|
protected |
Log event NoOpReceived
The command dispatcher has successfully received a NO-OP command
Definition at line 2416 of file CommandDispatcherComponentAc.cpp.
|
protected |
Log event NoOpStringReceived
The command dispatcher has successfully received a NO-OP command from GUI with a string
message | The NO-OP string that is generated |
Definition at line 2481 of file CommandDispatcherComponentAc.cpp.
|
protected |
Log event TestCmd1Args
This log event message returns the TEST_CMD_1 arguments.
arg1 | Arg1 |
arg2 | Arg2 |
arg3 | Arg3 |
Definition at line 2553 of file CommandDispatcherComponentAc.cpp.
|
protected |
Log event OpCodeCompleted
Op code completed event
Opcode | The I32 command argument |
Definition at line 1980 of file CommandDispatcherComponentAc.cpp.
|
protected |
Log event OpCodeDispatched
Op code dispatched event
Opcode | The opcode dispatched |
port | The port dispatched to |
Definition at line 1878 of file CommandDispatcherComponentAc.cpp.
|
protected |
Log event OpCodeError
Op code completed with error event
Opcode | The opcode with the error |
error | The error value |
Definition at line 2062 of file CommandDispatcherComponentAc.cpp.
|
protected |
Log event OpCodeRegistered.
Opcode | The opcode to register |
port | The registration port |
slot | The dispatch slot it was placed in |
Definition at line 1758 of file CommandDispatcherComponentAc.cpp.
|
protected |
Log event OpCodeReregistered
Op code reregistered event
Opcode | The opcode reregistered |
port | The reregistration port |
Definition at line 2673 of file CommandDispatcherComponentAc.cpp.
|
protected |
Log event CommandDroppedQueueOverflow
This log event reports the Command Sequence Buffer port queue has overflowed.
OpCode | The command opcode dropped |
Context | The call order |
Definition at line 2775 of file CommandDispatcherComponentAc.cpp.
|
protected |
Reset throttle value for CommandDroppedQueueOverflow.
Definition at line 2889 of file CommandDispatcherComponentAc.cpp.
|
protected |
Log event InvalidCommand
Received an invalid opcode
Opcode | Invalid opcode |
Definition at line 2252 of file CommandDispatcherComponentAc.cpp.
|
protected |
Log event MalformedCommand
Received a malformed command packet
Status | The deserialization error |
Definition at line 2167 of file CommandDispatcherComponentAc.cpp.
|
protected |
Log event TooManyCommands
Exceeded the number of commands that can be simultaneously executed
Opcode | The opcode that overflowed the list |
Definition at line 2334 of file CommandDispatcherComponentAc.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 1153 of file CommandDispatcherComponentAc.cpp.
|
protectedvirtual |
Pre-message hook for async input port pingIn.
portNum | The port number |
key | Value to return to pinger |
Definition at line 1345 of file CommandDispatcherComponentAc.cpp.
|
protected |
Invoke output port pingOut.
portNum | The port number |
key | Value to return to pinger |
Definition at line 1401 of file CommandDispatcherComponentAc.cpp.
void Svc::CommandDispatcherComponentBase::regCommands | ( | ) |
Register commands with the Command Dispatcher.
Connect the dispatcher first
Definition at line 779 of file CommandDispatcherComponentAc.cpp.
|
protectedpure virtual |
Handler for input port run.
portNum | The port number |
context | The call order |
|
protected |
Handler base-class function for input port run.
portNum | The port number |
context | The call order |
Definition at line 1206 of file CommandDispatcherComponentAc.cpp.
|
protectedvirtual |
Pre-message hook for async input port run.
portNum | The port number |
context | The call order |
Definition at line 1354 of file CommandDispatcherComponentAc.cpp.
|
protectedpure virtual |
Handler for input port seqCmdBuff.
portNum | The port number |
data | Buffer containing packet data |
context | Call context value; meaning chosen by user |
|
protected |
Handler base-class function for input port seqCmdBuff.
portNum | The port number |
data | Buffer containing packet data |
context | Call context value; meaning chosen by user |
Definition at line 1259 of file CommandDispatcherComponentAc.cpp.
|
protectedpure virtual |
Overflow hook for async input port seqCmdBuff.
portNum | The port number |
data | Buffer containing packet data |
context | Call context value; meaning chosen by user |
|
protectedvirtual |
Pre-message hook for async input port seqCmdBuff.
portNum | The port number |
data | Buffer containing packet data |
context | Call context value; meaning chosen by user |
Definition at line 1363 of file CommandDispatcherComponentAc.cpp.
|
protected |
Invoke output port seqCmdStatus.
portNum | The port number |
opCode | Command Op Code |
cmdSeq | Command Sequence |
response | The command response argument |
Definition at line 1421 of file CommandDispatcherComponentAc.cpp.
void Svc::CommandDispatcherComponentBase::set_CmdReg_OutputPort | ( | FwIndexType | portNum, |
Fw::InputCmdRegPort * | port | ||
) |
Connect port to CmdReg[portNum].
portNum | The port number |
port | The input port |
Definition at line 495 of file CommandDispatcherComponentAc.cpp.
void Svc::CommandDispatcherComponentBase::set_CmdStatus_OutputPort | ( | FwIndexType | portNum, |
Fw::InputCmdResponsePort * | port | ||
) |
Connect port to CmdStatus[portNum].
portNum | The port number |
port | The input port |
Definition at line 509 of file CommandDispatcherComponentAc.cpp.
void Svc::CommandDispatcherComponentBase::set_compCmdSend_OutputPort | ( | FwIndexType | portNum, |
Fw::InputCmdPort * | port | ||
) |
Connect port to compCmdSend[portNum].
portNum | The port number |
port | The input port |
Definition at line 587 of file CommandDispatcherComponentAc.cpp.
void Svc::CommandDispatcherComponentBase::set_Log_OutputPort | ( | FwIndexType | portNum, |
Fw::InputLogPort * | port | ||
) |
Connect port to Log[portNum].
portNum | The port number |
port | The input port |
Definition at line 523 of file CommandDispatcherComponentAc.cpp.
void Svc::CommandDispatcherComponentBase::set_pingOut_OutputPort | ( | FwIndexType | portNum, |
Svc::InputPingPort * | port | ||
) |
Connect port to pingOut[portNum].
portNum | The port number |
port | The input port |
Definition at line 601 of file CommandDispatcherComponentAc.cpp.
void Svc::CommandDispatcherComponentBase::set_seqCmdStatus_OutputPort | ( | FwIndexType | portNum, |
Fw::InputCmdResponsePort * | port | ||
) |
Connect port to seqCmdStatus[portNum].
portNum | The port number |
port | The input port |
Definition at line 615 of file CommandDispatcherComponentAc.cpp.
void Svc::CommandDispatcherComponentBase::set_Time_OutputPort | ( | FwIndexType | portNum, |
Fw::InputTimePort * | port | ||
) |
Connect port to Time[portNum].
portNum | The port number |
port | The input port |
Definition at line 555 of file CommandDispatcherComponentAc.cpp.
void Svc::CommandDispatcherComponentBase::set_Tlm_OutputPort | ( | FwIndexType | portNum, |
Fw::InputTlmPort * | port | ||
) |
Connect port to Tlm[portNum].
portNum | The port number |
port | The input port |
Definition at line 569 of file CommandDispatcherComponentAc.cpp.
|
protected |
Write telemetry channel CommandErrors
Number of command errors
arg | The telemetry value |
_tlmTime | Timestamp. Default: unspecified, request from getTime port |
Definition at line 2948 of file CommandDispatcherComponentAc.cpp.
|
protected |
Write telemetry channel CommandsDispatched
Number of commands dispatched
arg | The telemetry value |
_tlmTime | Timestamp. Default: unspecified, request from getTime port |
Definition at line 2900 of file CommandDispatcherComponentAc.cpp.
|
protected |
Write telemetry channel CommandsDropped
Number of commands drooped due to buffer overflow
arg | The telemetry value |
_tlmTime | Timestamp. Default: unspecified, request from getTime port |
Definition at line 2996 of file CommandDispatcherComponentAc.cpp.
|
protectedvirtual |
Unlock the guarded mutex.
Definition at line 3074 of file CommandDispatcherComponentAc.cpp.
|
friend |
Friend class tester implementation to support white-box testing.
Definition at line 53 of file CommandDispatcherComponentAc.hpp.
|
friend |
Friend class tester to support autocoded test harness.
Definition at line 51 of file CommandDispatcherComponentAc.hpp.