![]() |
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) |
| bool | isConnected_cmdResponseOut_OutputPort (FwIndexType portNum) |
| bool | isConnected_eventOut_OutputPort (FwIndexType portNum) |
| bool | isConnected_paramGetOut_OutputPort (FwIndexType portNum) |
| bool | isConnected_paramSetOut_OutputPort (FwIndexType portNum) |
| bool | isConnected_timeGetOut_OutputPort (FwIndexType portNum) |
| bool | isConnected_tlmOut_OutputPort (FwIndexType portNum) |
| bool | isConnected_PktSend_OutputPort (FwIndexType portNum) |
| bool | isConnected_pingOut_OutputPort (FwIndexType portNum) |
| 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) |
| Invoke output port PktSend. More... | |
| void | pingOut_out (FwIndexType portNum, U32 key) |
| 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_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 56 of file TlmPacketizerComponentAc.hpp.
|
protected |
Enumerations for numbers of special input ports.
| Enumerator | |
|---|---|
| NUM_CMDIN_INPUT_PORTS | |
Definition at line 76 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 81 of file TlmPacketizerComponentAc.hpp.
|
protected |
Enumerations for numbers of special output ports.
Definition at line 91 of file TlmPacketizerComponentAc.hpp.
|
protected |
Enumerations for numbers of typed output ports.
| Enumerator | |
|---|---|
| NUM_PKTSEND_OUTPUT_PORTS | |
| NUM_PINGOUT_OUTPUT_PORTS | |
Definition at line 103 of file TlmPacketizerComponentAc.hpp.
|
protected |
Command opcodes.
Definition at line 109 of file TlmPacketizerComponentAc.hpp.
|
protected |
Event IDs.
Definition at line 123 of file TlmPacketizerComponentAc.hpp.
|
protected |
Channel IDs.
| Enumerator | |
|---|---|
| CHANNELID_GROUPCONFIGS | Channel ID for GroupConfigs. |
| CHANNELID_SECTIONENABLED | Channel ID for SectionEnabled. |
Definition at line 133 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 139 of file TlmPacketizerComponentAc.hpp.
|
protected |
Construct TlmPacketizerComponentBase object.
| compName | The component name |
Definition at line 967 of file TlmPacketizerComponentAc.cpp.
|
protectedvirtual |
Destroy TlmPacketizerComponentBase object.
Definition at line 975 of file TlmPacketizerComponentAc.cpp.
|
protected |
Emit command response.
| opCode | The opcode |
| cmdSeq | The command sequence number |
| response | The command response |
Definition at line 1515 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 1827 of file TlmPacketizerComponentAc.cpp.
|
protectedvirtual |
Pre-message hook for command CONFIGURE_GROUP_RATES.
| opCode | The opcode |
| cmdSeq | The command sequence number |
Definition at line 1949 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 1212 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 1433 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 1301 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 1446 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 1709 of file TlmPacketizerComponentAc.cpp.
|
protectedvirtual |
Pre-message hook for command ENABLE_GROUP.
| opCode | The opcode |
| cmdSeq | The command sequence number |
Definition at line 1927 of file TlmPacketizerComponentAc.cpp.
|
protectedpure virtual |
Handler for command ENABLE_SECTION
Enable / disable telemetry of a group on a 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 telemetry of a group on a section
| opCode | The opcode |
| cmdSeq | The command sequence number |
| args | The command argument buffer |
Definition at line 1650 of file TlmPacketizerComponentAc.cpp.
|
protectedvirtual |
Pre-message hook for command ENABLE_SECTION.
| opCode | The opcode |
| cmdSeq | The command sequence number |
Definition at line 1916 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 1768 of file TlmPacketizerComponentAc.cpp.
|
protectedvirtual |
Pre-message hook for command FORCE_GROUP.
| opCode | The opcode |
| cmdSeq | The command sequence number |
Definition at line 1938 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 466 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 514 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 525 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 536 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 481 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 492 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 503 of file TlmPacketizerComponentAc.cpp.
|
inlinestaticprotected |
Get the number of cmdIn input ports
Definition at line 416 of file TlmPacketizerComponentAc.hpp.
|
inlinestaticprotected |
Get the number of cmdRegOut output ports
Definition at line 477 of file TlmPacketizerComponentAc.hpp.
|
inlinestaticprotected |
Get the number of cmdResponseOut output ports
Definition at line 484 of file TlmPacketizerComponentAc.hpp.
|
inlinestaticprotected |
Get the number of configureSectionGroupRate input ports
Definition at line 450 of file TlmPacketizerComponentAc.hpp.
|
inlinestaticprotected |
Get the number of controlIn input ports
Definition at line 457 of file TlmPacketizerComponentAc.hpp.
|
inlinestaticprotected |
Get the number of eventOut output ports
Definition at line 491 of file TlmPacketizerComponentAc.hpp.
|
inlinestaticprotected |
Get the number of paramGetOut output ports
Definition at line 498 of file TlmPacketizerComponentAc.hpp.
|
inlinestaticprotected |
Get the number of paramSetOut output ports
Definition at line 505 of file TlmPacketizerComponentAc.hpp.
|
inlinestaticprotected |
Get the number of pingIn input ports
Definition at line 464 of file TlmPacketizerComponentAc.hpp.
|
inlinestaticprotected |
Get the number of pingOut output ports
Definition at line 550 of file TlmPacketizerComponentAc.hpp.
|
inlinestaticprotected |
Get the number of PktSend output ports
Definition at line 543 of file TlmPacketizerComponentAc.hpp.
|
inlinestaticprotected |
Get the number of Run input ports
Definition at line 429 of file TlmPacketizerComponentAc.hpp.
|
inlinestaticprotected |
Get the number of timeGetOut output ports
Definition at line 523 of file TlmPacketizerComponentAc.hpp.
|
inlinestaticprotected |
Get the number of TlmGet input ports
Definition at line 436 of file TlmPacketizerComponentAc.hpp.
|
inlinestaticprotected |
Get the number of tlmOut output ports
Definition at line 530 of file TlmPacketizerComponentAc.hpp.
|
inlinestaticprotected |
Get the number of TlmRecv input ports
Definition at line 443 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 985 of file TlmPacketizerComponentAc.cpp.
|
protected |
Check whether port cmdResponseOut is connected
| portNum | The port number |
Definition at line 996 of file TlmPacketizerComponentAc.cpp.
|
protected |
Check whether port eventOut is connected
| portNum | The port number |
Definition at line 1007 of file TlmPacketizerComponentAc.cpp.
|
protected |
Check whether port paramGetOut is connected
| portNum | The port number |
Definition at line 1018 of file TlmPacketizerComponentAc.cpp.
|
protected |
Check whether port paramSetOut is connected
| portNum | The port number |
Definition at line 1029 of file TlmPacketizerComponentAc.cpp.
|
protected |
Check whether port pingOut is connected
| portNum | The port number |
Definition at line 1092 of file TlmPacketizerComponentAc.cpp.
|
protected |
Check whether port PktSend is connected
| portNum | The port number |
Definition at line 1081 of file TlmPacketizerComponentAc.cpp.
|
protected |
Check whether port timeGetOut is connected
| portNum | The port number |
Definition at line 1055 of file TlmPacketizerComponentAc.cpp.
|
protected |
Check whether port tlmOut is connected
| portNum | The port number |
Definition at line 1066 of file TlmPacketizerComponentAc.cpp.
| void Svc::TlmPacketizerComponentBase::loadParameters | ( | ) |
Load the parameters from a parameter source.
Connect the parameter first
Definition at line 899 of file TlmPacketizerComponentAc.cpp.
|
protected |
Log event LevelSet
Telemetry send level set
| id | The level |
Definition at line 2046 of file TlmPacketizerComponentAc.cpp.
|
protected |
Log event PacketSent
Packet manually sent
| id | The packet ID |
Definition at line 2230 of file TlmPacketizerComponentAc.cpp.
|
protected |
Log event MaxLevelExceed
Telemetry send level set
| level | The level |
| max | The max packet level |
Definition at line 2128 of file TlmPacketizerComponentAc.cpp.
|
protected |
Log event NoChan
Telemetry channel is not part of a telemetry packet.
| Id | The telemetry ID |
Definition at line 1964 of file TlmPacketizerComponentAc.cpp.
|
protected |
Log event PacketNotFound
Couldn't find the packet to send
| id | The packet ID |
Definition at line 2312 of file TlmPacketizerComponentAc.cpp.
|
protected |
Log event SectionUnconfigurable.
| section | The Section |
| enable | Attempted Configuration |
Definition at line 2394 of file TlmPacketizerComponentAc.cpp.
|
protectedvirtual |
Called whenever parameters are loaded.
This function does nothing by default. You may override it.
Definition at line 2581 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 2575 of file TlmPacketizerComponentAc.cpp.
|
protected |
Get parameter SECTION_CONFIGS
Parameter to control section configuration
| valid | Whether the parameter is valid |
Definition at line 2614 of file TlmPacketizerComponentAc.cpp.
|
protected |
Get parameter SECTION_ENABLED
Parameter to control section enable flags
| valid | Whether the parameter is valid |
Definition at line 2591 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 1363 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 1456 of file TlmPacketizerComponentAc.cpp.
|
protected |
Invoke output port pingOut.
| portNum | The port number |
| key | Value to return to pinger |
Definition at line 1491 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 1469 of file TlmPacketizerComponentAc.cpp.
| void Svc::TlmPacketizerComponentBase::regCommands | ( | ) |
Register commands with the Command Dispatcher.
Connect the dispatcher first
Definition at line 849 of file TlmPacketizerComponentAc.cpp.
|
protected |
Initialize the external parameter delegate.
| paramExternalDelegatePtr | The delegate for externally managed parameters |
Definition at line 2641 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 1109 of file TlmPacketizerComponentAc.cpp.
|
protectedvirtual |
Pre-message hook for async input port Run.
| portNum | The port number |
| context | The call order |
Definition at line 1424 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 1591 of file TlmPacketizerComponentAc.cpp.
|
protectedvirtual |
Pre-message hook for command SEND_PKT.
| opCode | The opcode |
| cmdSeq | The command sequence number |
Definition at line 1905 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 551 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 565 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 579 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 1532 of file TlmPacketizerComponentAc.cpp.
|
protectedvirtual |
Pre-message hook for command SET_LEVEL.
| opCode | The opcode |
| cmdSeq | The command sequence number |
Definition at line 1894 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 593 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 607 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 685 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 671 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 639 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 653 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 1162 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 1189 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 2505 of file TlmPacketizerComponentAc.cpp.
|
protected |
Write telemetry channel SectionEnabled.
| arg | The telemetry value |
| _tlmTime | Timestamp. Default: unspecified, request from getTime port |
Definition at line 2538 of file TlmPacketizerComponentAc.cpp.
|
friend |
Friend class tester implementation to support white-box testing.
Definition at line 67 of file TlmPacketizerComponentAc.hpp.
|
friend |
Friend class tester to support autocoded test harness.
Definition at line 65 of file TlmPacketizerComponentAc.hpp.