![]() |
F´ Flight Software - C/C++ Documentation
A framework for building embedded system applications to NASA flight quality standards.
|
Auto-generated base for TlmPacketizer component. More...
#include <Svc/TlmPacketizer/TlmPacketizerComponentAc.hpp>
Protected Member Functions | |
| TlmPacketizerComponentBase (const char *compName="") | |
| Construct TlmPacketizerComponentBase object. More... | |
| virtual | ~TlmPacketizerComponentBase () |
| Destroy TlmPacketizerComponentBase object. More... | |
| bool | isConnected_cmdRegOut_OutputPort (FwIndexType portNum) const |
| bool | isConnected_cmdResponseOut_OutputPort (FwIndexType portNum) const |
| bool | isConnected_eventOut_OutputPort (FwIndexType portNum) const |
| bool | isConnected_paramGetOut_OutputPort (FwIndexType portNum) const |
| bool | isConnected_paramSetOut_OutputPort (FwIndexType portNum) const |
| bool | isConnected_timeGetOut_OutputPort (FwIndexType portNum) const |
| bool | isConnected_tlmOut_OutputPort (FwIndexType portNum) const |
| bool | isConnected_PktSend_OutputPort (FwIndexType portNum) const |
| bool | isConnected_pingOut_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 | Run_handler (FwIndexType portNum, U32 context)=0 |
| Handler for input port Run. More... | |
| virtual Fw::TlmValid | TlmGet_handler (FwIndexType portNum, FwChanIdType id, Fw::Time &timeTag, Fw::TlmBuffer &val)=0 |
| Handler for input port TlmGet. More... | |
| virtual void | TlmRecv_handler (FwIndexType portNum, FwChanIdType id, Fw::Time &timeTag, Fw::TlmBuffer &val)=0 |
| Handler for input port TlmRecv. More... | |
| virtual void | configureSectionGroupRate_handler (FwIndexType portNum, const Svc::TelemetrySection §ion, FwChanIdType tlmGroup, const Svc::RateLogic &rateLogic, U32 minDelta, U32 maxDelta)=0 |
| Handler for input port configureSectionGroupRate. More... | |
| virtual void | controlIn_handler (FwIndexType portNum, const Svc::TelemetrySection §ion, const Fw::Enabled &enabled)=0 |
| Handler for input port controlIn. More... | |
| virtual void | pingIn_handler (FwIndexType portNum, U32 key)=0 |
| Handler for input port pingIn. More... | |
| void | Run_handlerBase (FwIndexType portNum, U32 context) |
| Handler base-class function for input port Run. More... | |
| Fw::TlmValid | TlmGet_handlerBase (FwIndexType portNum, FwChanIdType id, Fw::Time &timeTag, Fw::TlmBuffer &val) |
| Handler base-class function for input port TlmGet. More... | |
| void | TlmRecv_handlerBase (FwIndexType portNum, FwChanIdType id, Fw::Time &timeTag, Fw::TlmBuffer &val) |
| Handler base-class function for input port TlmRecv. More... | |
| void | configureSectionGroupRate_handlerBase (FwIndexType portNum, const Svc::TelemetrySection §ion, FwChanIdType tlmGroup, const Svc::RateLogic &rateLogic, U32 minDelta, U32 maxDelta) |
| Handler base-class function for input port configureSectionGroupRate. More... | |
| void | controlIn_handlerBase (FwIndexType portNum, const Svc::TelemetrySection §ion, const Fw::Enabled &enabled) |
| Handler base-class function for input port controlIn. More... | |
| void | pingIn_handlerBase (FwIndexType portNum, U32 key) |
| Handler base-class function for input port pingIn. More... | |
| virtual void | Run_preMsgHook (FwIndexType portNum, U32 context) |
| Pre-message hook for async input port Run. More... | |
| virtual void | configureSectionGroupRate_preMsgHook (FwIndexType portNum, const Svc::TelemetrySection §ion, FwChanIdType tlmGroup, const Svc::RateLogic &rateLogic, U32 minDelta, U32 maxDelta) |
| Pre-message hook for async input port configureSectionGroupRate. More... | |
| virtual void | controlIn_preMsgHook (FwIndexType portNum, const Svc::TelemetrySection §ion, const Fw::Enabled &enabled) |
| Pre-message hook for async input port controlIn. More... | |
| virtual void | pingIn_preMsgHook (FwIndexType portNum, U32 key) |
| Pre-message hook for async input port pingIn. More... | |
| void | PktSend_out (FwIndexType portNum, Fw::ComBuffer &data, U32 context) const |
| Invoke output port PktSend. More... | |
| void | pingOut_out (FwIndexType portNum, U32 key) const |
| Invoke output port pingOut. More... | |
| void | cmdResponse_out (FwOpcodeType opCode, U32 cmdSeq, Fw::CmdResponse response) |
| Emit command response. More... | |
| virtual void | SET_LEVEL_cmdHandler (FwOpcodeType opCode, U32 cmdSeq, FwChanIdType level)=0 |
| virtual void | SEND_PKT_cmdHandler (FwOpcodeType opCode, U32 cmdSeq, U32 id, Svc::TelemetrySection section)=0 |
| virtual void | ENABLE_SECTION_cmdHandler (FwOpcodeType opCode, U32 cmdSeq, Svc::TelemetrySection section, Fw::Enabled enable)=0 |
| virtual void | ENABLE_GROUP_cmdHandler (FwOpcodeType opCode, U32 cmdSeq, Svc::TelemetrySection section, FwChanIdType tlmGroup, Fw::Enabled enable)=0 |
| virtual void | FORCE_GROUP_cmdHandler (FwOpcodeType opCode, U32 cmdSeq, Svc::TelemetrySection section, FwChanIdType tlmGroup, Fw::Enabled enable)=0 |
| virtual void | CONFIGURE_GROUP_RATES_cmdHandler (FwOpcodeType opCode, U32 cmdSeq, Svc::TelemetrySection section, FwChanIdType tlmGroup, Svc::RateLogic rateLogic, U32 minDelta, U32 maxDelta)=0 |
| void | SET_LEVEL_cmdHandlerBase (FwOpcodeType opCode, U32 cmdSeq, Fw::CmdArgBuffer &args) |
| void | SEND_PKT_cmdHandlerBase (FwOpcodeType opCode, U32 cmdSeq, Fw::CmdArgBuffer &args) |
| void | ENABLE_SECTION_cmdHandlerBase (FwOpcodeType opCode, U32 cmdSeq, Fw::CmdArgBuffer &args) |
| void | ENABLE_GROUP_cmdHandlerBase (FwOpcodeType opCode, U32 cmdSeq, Fw::CmdArgBuffer &args) |
| void | FORCE_GROUP_cmdHandlerBase (FwOpcodeType opCode, U32 cmdSeq, Fw::CmdArgBuffer &args) |
| void | CONFIGURE_GROUP_RATES_cmdHandlerBase (FwOpcodeType opCode, U32 cmdSeq, Fw::CmdArgBuffer &args) |
| virtual void | SET_LEVEL_preMsgHook (FwOpcodeType opCode, U32 cmdSeq) |
| Pre-message hook for command SET_LEVEL. More... | |
| virtual void | SEND_PKT_preMsgHook (FwOpcodeType opCode, U32 cmdSeq) |
| Pre-message hook for command SEND_PKT. More... | |
| virtual void | ENABLE_SECTION_preMsgHook (FwOpcodeType opCode, U32 cmdSeq) |
| Pre-message hook for command ENABLE_SECTION. More... | |
| virtual void | ENABLE_GROUP_preMsgHook (FwOpcodeType opCode, U32 cmdSeq) |
| Pre-message hook for command ENABLE_GROUP. More... | |
| virtual void | FORCE_GROUP_preMsgHook (FwOpcodeType opCode, U32 cmdSeq) |
| Pre-message hook for command FORCE_GROUP. More... | |
| virtual void | CONFIGURE_GROUP_RATES_preMsgHook (FwOpcodeType opCode, U32 cmdSeq) |
| Pre-message hook for command CONFIGURE_GROUP_RATES. More... | |
| void | log_WARNING_LO_NoChan (FwChanIdType Id) const |
| void | log_ACTIVITY_HI_LevelSet (FwChanIdType id) const |
| void | log_WARNING_LO_MaxLevelExceed (FwChanIdType level, FwChanIdType max) const |
| void | log_ACTIVITY_LO_PacketSent (U32 id) const |
| void | log_WARNING_LO_PacketNotFound (U32 id) const |
| void | log_WARNING_LO_SectionUnconfigurable (Svc::TelemetrySection section, Fw::Enabled enable) const |
| Log event SectionUnconfigurable. More... | |
| void | tlmWrite (FwChanIdType id, Fw::TlmBuffer &_tlmBuff, Fw::Time _tlmTime=Fw::Time()) const |
| void | tlmWrite_GroupConfigs (const Svc::TlmPacketizer_SectionConfigs &arg, Fw::Time _tlmTime=Fw::Time()) const |
| void | tlmWrite_SectionEnabled (const Svc::TlmPacketizer_SectionEnabled &arg, Fw::Time _tlmTime=Fw::Time()) const |
| Write telemetry channel SectionEnabled. More... | |
| virtual void | parameterUpdated (FwPrmIdType id) |
| Called whenever a parameter is updated. More... | |
| virtual void | parametersLoaded () |
| Called whenever parameters are loaded. More... | |
| Svc::TlmPacketizer_SectionEnabled | paramGet_SECTION_ENABLED (Fw::ParamValid &valid) |
| Svc::TlmPacketizer_SectionConfigs | paramGet_SECTION_CONFIGS (Fw::ParamValid &valid) |
| void | registerExternalParameters (Fw::ParamExternalDelegate *paramExternalDelegatePtr) |
| Initialize the external parameter delegate. More... | |
| 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 | TlmPacketizerTesterBase |
| Friend class tester to support autocoded test harness. More... | |
| class | TlmPacketizerTester |
| 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 TlmPacketizer component.
A component for storing telemetry
Definition at line 60 of file TlmPacketizerComponentAc.hpp.
|
protected |
Enumerations for numbers of special input ports.
| Enumerator | |
|---|---|
| NUM_CMDIN_INPUT_PORTS | |
Definition at line 80 of file TlmPacketizerComponentAc.hpp.
|
protected |
Enumerations for numbers of typed input ports.
| Enumerator | |
|---|---|
| NUM_RUN_INPUT_PORTS | |
| NUM_TLMGET_INPUT_PORTS | |
| NUM_TLMRECV_INPUT_PORTS | |
| NUM_CONFIGURESECTIONGROUPRATE_INPUT_PORTS | |
| NUM_CONTROLIN_INPUT_PORTS | |
| NUM_PINGIN_INPUT_PORTS | |
Definition at line 85 of file TlmPacketizerComponentAc.hpp.
|
protected |
Enumerations for numbers of special output ports.
Definition at line 95 of file TlmPacketizerComponentAc.hpp.
|
protected |
Enumerations for numbers of typed output ports.
| Enumerator | |
|---|---|
| NUM_PKTSEND_OUTPUT_PORTS | |
| NUM_PINGOUT_OUTPUT_PORTS | |
Definition at line 107 of file TlmPacketizerComponentAc.hpp.
|
protected |
Command opcodes.
Definition at line 113 of file TlmPacketizerComponentAc.hpp.
|
protected |
Event IDs.
Definition at line 127 of file TlmPacketizerComponentAc.hpp.
|
protected |
Channel IDs.
| Enumerator | |
|---|---|
| CHANNELID_GROUPCONFIGS | Channel ID for GroupConfigs. |
| CHANNELID_SECTIONENABLED | Channel ID for SectionEnabled. |
Definition at line 137 of file TlmPacketizerComponentAc.hpp.
|
protected |
Parameter IDs.
| Enumerator | |
|---|---|
| PARAMID_SECTION_ENABLED | Parameter to control section enable flags. |
| PARAMID_SECTION_CONFIGS | Parameter to control section configuration. |
Definition at line 143 of file TlmPacketizerComponentAc.hpp.
|
protected |
Construct TlmPacketizerComponentBase object.
| compName | The component name |
Definition at line 1067 of file TlmPacketizerComponentAc.cpp.
|
protectedvirtual |
Destroy TlmPacketizerComponentBase object.
Definition at line 1074 of file TlmPacketizerComponentAc.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 1216 of file TlmPacketizerComponentAc.cpp.
|
protected |
Emit command response.
| opCode | The opcode |
| cmdSeq | The command sequence number |
| response | The command response |
Definition at line 1745 of file TlmPacketizerComponentAc.cpp.
|
protectedpure virtual |
Handler for command CONFIGURE_GROUP_RATES
Set Min and Max Deltas between successive packets
| opCode | The opcode |
| cmdSeq | The command sequence number |
| section | Section grouping |
| tlmGroup | Group Identifier |
| rateLogic | Rate Logic |
| minDelta | Minimum Sched Ticks to send packets on updates when using ON_CHANGE logic |
| maxDelta | Maximum Sched Ticks between packets to send when using EVERY_MAX logic |
|
protected |
Base-class handler function for command CONFIGURE_GROUP_RATES
Set Min and Max Deltas between successive packets
| opCode | The opcode |
| cmdSeq | The command sequence number |
| args | The command argument buffer |
Definition at line 2057 of file TlmPacketizerComponentAc.cpp.
|
protectedvirtual |
Pre-message hook for command CONFIGURE_GROUP_RATES.
| opCode | The opcode |
| cmdSeq | The command sequence number |
Definition at line 2179 of file TlmPacketizerComponentAc.cpp.
|
protectedpure virtual |
Handler for input port configureSectionGroupRate.
| portNum | The port number |
| section | Section grouping |
| tlmGroup | Group Identifier |
| rateLogic | Rate Logic |
| minDelta | Minimum Sched Ticks to send packets on updates when using ON_CHANGE logic |
| maxDelta | Maximum Sched Ticks between packets to send when using EVERY_MAX logic |
|
protected |
Handler base-class function for input port configureSectionGroupRate.
| portNum | The port number |
| section | Section grouping |
| tlmGroup | Group Identifier |
| rateLogic | Rate Logic |
| minDelta | Minimum Sched Ticks to send packets on updates when using ON_CHANGE logic |
| maxDelta | Maximum Sched Ticks between packets to send when using EVERY_MAX logic |
Definition at line 1438 of file TlmPacketizerComponentAc.cpp.
|
protectedvirtual |
Pre-message hook for async input port configureSectionGroupRate.
| portNum | The port number |
| section | Section grouping |
| tlmGroup | Group Identifier |
| rateLogic | Rate Logic |
| minDelta | Minimum Sched Ticks to send packets on updates when using ON_CHANGE logic |
| maxDelta | Maximum Sched Ticks between packets to send when using EVERY_MAX logic |
Definition at line 1659 of file TlmPacketizerComponentAc.cpp.
|
protectedpure virtual |
Handler for input port controlIn.
| portNum | The port number |
| section | Section to enable (Primary, Secondary, etc...) |
| enabled | Enable / Disable Section |
|
protected |
Handler base-class function for input port controlIn.
| portNum | The port number |
| section | Section to enable (Primary, Secondary, etc...) |
| enabled | Enable / Disable Section |
Definition at line 1527 of file TlmPacketizerComponentAc.cpp.
|
protectedvirtual |
Pre-message hook for async input port controlIn.
| portNum | The port number |
| section | Section to enable (Primary, Secondary, etc...) |
| enabled | Enable / Disable Section |
Definition at line 1672 of file TlmPacketizerComponentAc.cpp.
|
protectedpure virtual |
Handler for command ENABLE_GROUP
Enable / disable telemetry of a group on a section
| opCode | The opcode |
| cmdSeq | The command sequence number |
| section | Section grouping to configure |
| tlmGroup | Group Identifier |
| enable | Section enabled or disabled |
|
protected |
Base-class handler function for command ENABLE_GROUP
Enable / disable telemetry of a group on a section
| opCode | The opcode |
| cmdSeq | The command sequence number |
| args | The command argument buffer |
Definition at line 1939 of file TlmPacketizerComponentAc.cpp.
|
protectedvirtual |
Pre-message hook for command ENABLE_GROUP.
| opCode | The opcode |
| cmdSeq | The command sequence number |
Definition at line 2157 of file TlmPacketizerComponentAc.cpp.
|
protectedpure virtual |
Handler for command ENABLE_SECTION
Enable / disable a telemetry section
| opCode | The opcode |
| cmdSeq | The command sequence number |
| section | Section grouping to configure |
| enable | Section enabled or disabled |
|
protected |
Base-class handler function for command ENABLE_SECTION
Enable / disable a telemetry section
| opCode | The opcode |
| cmdSeq | The command sequence number |
| args | The command argument buffer |
Definition at line 1880 of file TlmPacketizerComponentAc.cpp.
|
protectedvirtual |
Pre-message hook for command ENABLE_SECTION.
| opCode | The opcode |
| cmdSeq | The command sequence number |
Definition at line 2146 of file TlmPacketizerComponentAc.cpp.
|
protectedpure virtual |
Handler for command FORCE_GROUP
Force telemetering a group on a section, even if disabled
| opCode | The opcode |
| cmdSeq | The command sequence number |
| section | Section grouping |
| tlmGroup | Group Identifier |
| enable | Section enabled or disabled |
|
protected |
Base-class handler function for command FORCE_GROUP
Force telemetering a group on a section, even if disabled
| opCode | The opcode |
| cmdSeq | The command sequence number |
| args | The command argument buffer |
Definition at line 1998 of file TlmPacketizerComponentAc.cpp.
|
protectedvirtual |
Pre-message hook for command FORCE_GROUP.
| opCode | The opcode |
| cmdSeq | The command sequence number |
Definition at line 2168 of file TlmPacketizerComponentAc.cpp.
| Fw::InputCmdPort * Svc::TlmPacketizerComponentBase::get_cmdIn_InputPort | ( | FwIndexType | portNum | ) |
Get special input port at index
| portNum | The port number |
Definition at line 500 of file TlmPacketizerComponentAc.cpp.
| Svc::InputConfigureGroupRatePort * Svc::TlmPacketizerComponentBase::get_configureSectionGroupRate_InputPort | ( | FwIndexType | portNum | ) |
Get typed input port at index
| portNum | The port number |
Definition at line 552 of file TlmPacketizerComponentAc.cpp.
| Svc::InputEnableSectionPort * Svc::TlmPacketizerComponentBase::get_controlIn_InputPort | ( | FwIndexType | portNum | ) |
Get typed input port at index
| portNum | The port number |
Definition at line 563 of file TlmPacketizerComponentAc.cpp.
| Svc::InputPingPort * Svc::TlmPacketizerComponentBase::get_pingIn_InputPort | ( | FwIndexType | portNum | ) |
Get typed input port at index
| portNum | The port number |
Definition at line 574 of file TlmPacketizerComponentAc.cpp.
| Svc::InputSchedPort * Svc::TlmPacketizerComponentBase::get_Run_InputPort | ( | FwIndexType | portNum | ) |
Get typed input port at index
| portNum | The port number |
Definition at line 519 of file TlmPacketizerComponentAc.cpp.
| Fw::InputTlmGetPort * Svc::TlmPacketizerComponentBase::get_TlmGet_InputPort | ( | FwIndexType | portNum | ) |
Get typed input port at index
| portNum | The port number |
Definition at line 530 of file TlmPacketizerComponentAc.cpp.
| Fw::InputTlmPort * Svc::TlmPacketizerComponentBase::get_TlmRecv_InputPort | ( | FwIndexType | portNum | ) |
Get typed input port at index
| portNum | The port number |
Definition at line 541 of file TlmPacketizerComponentAc.cpp.
|
inlinestaticprotected |
Get the number of cmdIn input ports
Definition at line 436 of file TlmPacketizerComponentAc.hpp.
|
inlinestaticprotected |
Get the number of cmdRegOut output ports
Definition at line 497 of file TlmPacketizerComponentAc.hpp.
|
inlinestaticprotected |
Get the number of cmdResponseOut output ports
Definition at line 504 of file TlmPacketizerComponentAc.hpp.
|
inlinestaticprotected |
Get the number of configureSectionGroupRate input ports
Definition at line 470 of file TlmPacketizerComponentAc.hpp.
|
inlinestaticprotected |
Get the number of controlIn input ports
Definition at line 477 of file TlmPacketizerComponentAc.hpp.
|
inlinestaticprotected |
Get the number of eventOut output ports
Definition at line 511 of file TlmPacketizerComponentAc.hpp.
|
inlinestaticprotected |
Get the number of paramGetOut output ports
Definition at line 518 of file TlmPacketizerComponentAc.hpp.
|
inlinestaticprotected |
Get the number of paramSetOut output ports
Definition at line 525 of file TlmPacketizerComponentAc.hpp.
|
inlinestaticprotected |
Get the number of pingIn input ports
Definition at line 484 of file TlmPacketizerComponentAc.hpp.
|
inlinestaticprotected |
Get the number of pingOut output ports
Definition at line 570 of file TlmPacketizerComponentAc.hpp.
|
inlinestaticprotected |
Get the number of PktSend output ports
Definition at line 563 of file TlmPacketizerComponentAc.hpp.
|
inlinestaticprotected |
Get the number of Run input ports
Definition at line 449 of file TlmPacketizerComponentAc.hpp.
|
inlinestaticprotected |
Get the number of timeGetOut output ports
Definition at line 543 of file TlmPacketizerComponentAc.hpp.
|
inlinestaticprotected |
Get the number of TlmGet input ports
Definition at line 456 of file TlmPacketizerComponentAc.hpp.
|
inlinestaticprotected |
Get the number of tlmOut output ports
Definition at line 550 of file TlmPacketizerComponentAc.hpp.
|
inlinestaticprotected |
Get the number of TlmRecv input ports
Definition at line 463 of file TlmPacketizerComponentAc.hpp.
|
protected |
| void Svc::TlmPacketizerComponentBase::init | ( | FwSizeType | queueDepth, |
| FwEnumStoreType | instance = 0 |
||
| ) |
Initialize TlmPacketizerComponentBase object.
| queueDepth | The queue depth |
| instance | The instance number |
Definition at line 82 of file TlmPacketizerComponentAc.cpp.
|
protected |
Check whether port cmdRegOut is connected
| portNum | The port number |
Definition at line 1086 of file TlmPacketizerComponentAc.cpp.
|
protected |
Check whether port cmdResponseOut is connected
| portNum | The port number |
Definition at line 1097 of file TlmPacketizerComponentAc.cpp.
|
protected |
Check whether port eventOut is connected
| portNum | The port number |
Definition at line 1108 of file TlmPacketizerComponentAc.cpp.
|
protected |
Check whether port paramGetOut is connected
| portNum | The port number |
Definition at line 1119 of file TlmPacketizerComponentAc.cpp.
|
protected |
Check whether port paramSetOut is connected
| portNum | The port number |
Definition at line 1130 of file TlmPacketizerComponentAc.cpp.
|
protected |
Check whether port pingOut is connected
| portNum | The port number |
Definition at line 1197 of file TlmPacketizerComponentAc.cpp.
|
protected |
Check whether port PktSend is connected
| portNum | The port number |
Definition at line 1186 of file TlmPacketizerComponentAc.cpp.
|
protected |
Check whether port timeGetOut is connected
| portNum | The port number |
Definition at line 1156 of file TlmPacketizerComponentAc.cpp.
|
protected |
Check whether port tlmOut is connected
| portNum | The port number |
Definition at line 1167 of file TlmPacketizerComponentAc.cpp.
| void Svc::TlmPacketizerComponentBase::loadParameters | ( | ) |
Load the parameters from a parameter source.
Connect the parameter first
Definition at line 957 of file TlmPacketizerComponentAc.cpp.
|
protected |
Log event LevelSet
Telemetry send level set
| id | The level |
Definition at line 2276 of file TlmPacketizerComponentAc.cpp.
|
protected |
Log event PacketSent
Packet manually sent
| id | The packet ID |
Definition at line 2460 of file TlmPacketizerComponentAc.cpp.
|
protected |
Log event MaxLevelExceed
Telemetry send level set
| level | The level |
| max | The max packet level |
Definition at line 2358 of file TlmPacketizerComponentAc.cpp.
|
protected |
Log event NoChan
Telemetry channel is not part of a telemetry packet.
| Id | The telemetry ID |
Definition at line 2194 of file TlmPacketizerComponentAc.cpp.
|
protected |
Log event PacketNotFound
Couldn't find the packet to send
| id | The packet ID |
Definition at line 2542 of file TlmPacketizerComponentAc.cpp.
|
protected |
Log event SectionUnconfigurable.
| section | The Section |
| enable | Attempted Configuration |
Definition at line 2624 of file TlmPacketizerComponentAc.cpp.
|
protectedvirtual |
Called whenever parameters are loaded.
This function does nothing by default. You may override it.
Definition at line 2820 of file TlmPacketizerComponentAc.cpp.
|
protectedvirtual |
Called whenever a parameter is updated.
This function does nothing by default. You may override it.
| id | The parameter ID |
Definition at line 2814 of file TlmPacketizerComponentAc.cpp.
|
protected |
Get parameter SECTION_CONFIGS
Parameter to control section configuration
| valid | Whether the parameter is valid |
Definition at line 2855 of file TlmPacketizerComponentAc.cpp.
|
protected |
Get parameter SECTION_ENABLED
Parameter to control section enable flags
| valid | Whether the parameter is valid |
Definition at line 2830 of file TlmPacketizerComponentAc.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 1589 of file TlmPacketizerComponentAc.cpp.
|
protectedvirtual |
Pre-message hook for async input port pingIn.
| portNum | The port number |
| key | Value to return to pinger |
Definition at line 1682 of file TlmPacketizerComponentAc.cpp.
|
protected |
Invoke output port pingOut.
| portNum | The port number |
| key | Value to return to pinger |
Definition at line 1719 of file TlmPacketizerComponentAc.cpp.
|
protected |
Invoke output port PktSend.
| portNum | The port number |
| data | Buffer containing packet data |
| context | Call context value; meaning chosen by user |
Definition at line 1697 of file TlmPacketizerComponentAc.cpp.
| void Svc::TlmPacketizerComponentBase::regCommands | ( | ) |
Register commands with the Command Dispatcher.
Connect the dispatcher first
Definition at line 897 of file TlmPacketizerComponentAc.cpp.
|
protected |
Initialize the external parameter delegate.
| paramExternalDelegatePtr | The delegate for externally managed parameters |
Definition at line 2884 of file TlmPacketizerComponentAc.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 1335 of file TlmPacketizerComponentAc.cpp.
|
protectedvirtual |
Pre-message hook for async input port Run.
| portNum | The port number |
| context | The call order |
Definition at line 1650 of file TlmPacketizerComponentAc.cpp.
|
protectedpure virtual |
Handler for command SEND_PKT
Force a packet to be sent
| opCode | The opcode |
| cmdSeq | The command sequence number |
| id | The packet ID |
| section | Section to emit packet |
|
protected |
Base-class handler function for command SEND_PKT
Force a packet to be sent
| opCode | The opcode |
| cmdSeq | The command sequence number |
| args | The command argument buffer |
Definition at line 1821 of file TlmPacketizerComponentAc.cpp.
|
protectedvirtual |
Pre-message hook for command SEND_PKT.
| opCode | The opcode |
| cmdSeq | The command sequence number |
Definition at line 2135 of file TlmPacketizerComponentAc.cpp.
| void Svc::TlmPacketizerComponentBase::set_cmdRegOut_OutputPort | ( | FwIndexType | portNum, |
| Fw::InputCmdRegPort * | port | ||
| ) |
Connect port to cmdRegOut[portNum].
| portNum | The port number |
| port | The input port |
Definition at line 593 of file TlmPacketizerComponentAc.cpp.
| void Svc::TlmPacketizerComponentBase::set_cmdResponseOut_OutputPort | ( | FwIndexType | portNum, |
| Fw::InputCmdResponsePort * | port | ||
| ) |
Connect port to cmdResponseOut[portNum].
| portNum | The port number |
| port | The input port |
Definition at line 607 of file TlmPacketizerComponentAc.cpp.
| void Svc::TlmPacketizerComponentBase::set_eventOut_OutputPort | ( | FwIndexType | portNum, |
| Fw::InputLogPort * | port | ||
| ) |
Connect port to eventOut[portNum].
| portNum | The port number |
| port | The input port |
Definition at line 621 of file TlmPacketizerComponentAc.cpp.
|
protectedpure virtual |
Handler for command SET_LEVEL
Set telemetry send level
| opCode | The opcode |
| cmdSeq | The command sequence number |
| level | The I32 command argument |
|
protected |
Base-class handler function for command SET_LEVEL
Set telemetry send level
| opCode | The opcode |
| cmdSeq | The command sequence number |
| args | The command argument buffer |
Definition at line 1762 of file TlmPacketizerComponentAc.cpp.
|
protectedvirtual |
Pre-message hook for command SET_LEVEL.
| opCode | The opcode |
| cmdSeq | The command sequence number |
Definition at line 2124 of file TlmPacketizerComponentAc.cpp.
| void Svc::TlmPacketizerComponentBase::set_paramGetOut_OutputPort | ( | FwIndexType | portNum, |
| Fw::InputPrmGetPort * | port | ||
| ) |
Connect port to paramGetOut[portNum].
| portNum | The port number |
| port | The input port |
Definition at line 635 of file TlmPacketizerComponentAc.cpp.
| void Svc::TlmPacketizerComponentBase::set_paramSetOut_OutputPort | ( | FwIndexType | portNum, |
| Fw::InputPrmSetPort * | port | ||
| ) |
Connect port to paramSetOut[portNum].
| portNum | The port number |
| port | The input port |
Definition at line 649 of file TlmPacketizerComponentAc.cpp.
| void Svc::TlmPacketizerComponentBase::set_pingOut_OutputPort | ( | FwIndexType | portNum, |
| Svc::InputPingPort * | port | ||
| ) |
Connect port to pingOut[portNum].
| portNum | The port number |
| port | The input port |
Definition at line 731 of file TlmPacketizerComponentAc.cpp.
| void Svc::TlmPacketizerComponentBase::set_PktSend_OutputPort | ( | FwIndexType | portNum, |
| Fw::InputComPort * | port | ||
| ) |
Connect port to PktSend[portNum].
| portNum | The port number |
| port | The input port |
Definition at line 717 of file TlmPacketizerComponentAc.cpp.
| void Svc::TlmPacketizerComponentBase::set_timeGetOut_OutputPort | ( | FwIndexType | portNum, |
| Fw::InputTimePort * | port | ||
| ) |
Connect port to timeGetOut[portNum].
| portNum | The port number |
| port | The input port |
Definition at line 681 of file TlmPacketizerComponentAc.cpp.
| void Svc::TlmPacketizerComponentBase::set_tlmOut_OutputPort | ( | FwIndexType | portNum, |
| Fw::InputTlmPort * | port | ||
| ) |
Connect port to tlmOut[portNum].
| portNum | The port number |
| port | The input port |
Definition at line 695 of file TlmPacketizerComponentAc.cpp.
|
protectedpure virtual |
Handler for input port TlmGet.
| portNum | The port number |
| id | Telemetry Channel ID |
| timeTag | Time Tag |
| val | Buffer containing serialized telemetry value. Size set to 0 if channel not found, or if no value has been received for this channel yet. |
|
protected |
Handler base-class function for input port TlmGet.
| portNum | The port number |
| id | Telemetry Channel ID |
| timeTag | Time Tag |
| val | Buffer containing serialized telemetry value. Size set to 0 if channel not found, or if no value has been received for this channel yet. |
Definition at line 1388 of file TlmPacketizerComponentAc.cpp.
|
protectedpure virtual |
Handler for input port TlmRecv.
| portNum | The port number |
| id | Telemetry Channel ID |
| timeTag | Time Tag |
| val | Buffer containing serialized telemetry value |
|
protected |
Handler base-class function for input port TlmRecv.
| portNum | The port number |
| id | Telemetry Channel ID |
| timeTag | Time Tag |
| val | Buffer containing serialized telemetry value |
Definition at line 1415 of file TlmPacketizerComponentAc.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 2735 of file TlmPacketizerComponentAc.cpp.
|
protected |
Write telemetry channel GroupConfigs
Telemetry send level
| arg | The telemetry value |
| _tlmTime | Timestamp. Default: unspecified, request from getTime port |
Definition at line 2766 of file TlmPacketizerComponentAc.cpp.
|
protected |
Write telemetry channel SectionEnabled.
| arg | The telemetry value |
| _tlmTime | Timestamp. Default: unspecified, request from getTime port |
Definition at line 2788 of file TlmPacketizerComponentAc.cpp.
|
friend |
Friend class tester implementation to support white-box testing.
Definition at line 71 of file TlmPacketizerComponentAc.hpp.
|
friend |
Friend class tester to support autocoded test harness.
Definition at line 69 of file TlmPacketizerComponentAc.hpp.