![]() |
F´ Flight Software - C/C++ Documentation
A framework for building embedded system applications to NASA flight quality standards.
|
Auto-generated base for DpWriter component. More...
#include <Svc/DpWriter/DpWriterComponentAc.hpp>
Public Member Functions | |
| void | init (FwSizeType queueDepth, FwEnumStoreType instance=0) |
| Initialize DpWriterComponentBase object. More... | |
| Fw::InputCmdPort * | get_cmdIn_InputPort (FwIndexType portNum) |
| Fw::InputBufferSendPort * | get_bufferSendIn_InputPort (FwIndexType portNum) |
| Svc::InputSchedPort * | get_schedIn_InputPort (FwIndexType portNum) |
| void | set_cmdRegIn_OutputPort (FwIndexType portNum, Fw::InputCmdRegPort *port) |
| Connect port to cmdRegIn[portNum]. More... | |
| void | set_cmdResponseOut_OutputPort (FwIndexType portNum, Fw::InputCmdResponsePort *port) |
| Connect port to cmdResponseOut[portNum]. More... | |
| void | set_eventOut_OutputPort (FwIndexType portNum, Fw::InputLogPort *port) |
| Connect port to eventOut[portNum]. More... | |
| void | set_timeGetOut_OutputPort (FwIndexType portNum, Fw::InputTimePort *port) |
| Connect port to timeGetOut[portNum]. More... | |
| void | set_tlmOut_OutputPort (FwIndexType portNum, Fw::InputTlmPort *port) |
| Connect port to tlmOut[portNum]. More... | |
| void | set_deallocBufferSendOut_OutputPort (FwIndexType portNum, Fw::InputBufferSendPort *port) |
| Connect port to deallocBufferSendOut[portNum]. More... | |
| void | set_dpWrittenOut_OutputPort (FwIndexType portNum, Svc::InputDpWrittenPort *port) |
| Connect port to dpWrittenOut[portNum]. More... | |
| void | set_procBufferSendOut_OutputPort (FwIndexType portNum, Fw::InputBufferSendPort *port) |
| Connect port to procBufferSendOut[portNum]. More... | |
| void | regCommands () |
| Register commands with the Command Dispatcher. More... | |
Public Member Functions inherited from Fw::ActiveComponentBase | |
| void | start (FwTaskPriorityType priority=Os::Task::TASK_PRIORITY_DEFAULT, FwSizeType stackSize=Os::Task::TASK_DEFAULT, FwSizeType cpuAffinity=Os::Task::TASK_DEFAULT, FwTaskIdType identifier=static_cast< FwTaskIdType >(Os::Task::TASK_DEFAULT)) |
| called by instantiator when task is to be started More... | |
| void | exit () |
| exit task in active component More... | |
| Os::Task::Status | join () |
| Join the thread. More... | |
| DEPRECATED (Os::Task::Status join(void **value_ptr), "Switch to .join()") | |
| Join to thread with discarded value_ptr. More... | |
Public Member Functions inherited from Fw::QueuedComponentBase | |
| void | deinit () override |
| Allows de-initialization on teardown. More... | |
Public Member Functions inherited from Fw::PassiveComponentBase | |
| void | setIdBase (const FwIdType) |
| Set the ID base. More... | |
| FwIdType | getIdBase () const |
Protected Member Functions | |
| DpWriterComponentBase (const char *compName="") | |
| Construct DpWriterComponentBase object. More... | |
| virtual | ~DpWriterComponentBase () |
| Destroy DpWriterComponentBase object. More... | |
| bool | isConnected_cmdRegIn_OutputPort (FwIndexType portNum) const |
| bool | isConnected_cmdResponseOut_OutputPort (FwIndexType portNum) const |
| bool | isConnected_eventOut_OutputPort (FwIndexType portNum) const |
| bool | isConnected_timeGetOut_OutputPort (FwIndexType portNum) const |
| bool | isConnected_tlmOut_OutputPort (FwIndexType portNum) const |
| bool | isConnected_deallocBufferSendOut_OutputPort (FwIndexType portNum) const |
| bool | isConnected_dpWrittenOut_OutputPort (FwIndexType portNum) const |
| bool | isConnected_procBufferSendOut_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 | bufferSendIn_handler (FwIndexType portNum, Fw::Buffer &fwBuffer)=0 |
| Handler for input port bufferSendIn. More... | |
| virtual void | schedIn_handler (FwIndexType portNum, U32 context)=0 |
| Handler for input port schedIn. More... | |
| void | bufferSendIn_handlerBase (FwIndexType portNum, Fw::Buffer &fwBuffer) |
| Handler base-class function for input port bufferSendIn. More... | |
| void | schedIn_handlerBase (FwIndexType portNum, U32 context) |
| Handler base-class function for input port schedIn. More... | |
| virtual void | bufferSendIn_preMsgHook (FwIndexType portNum, Fw::Buffer &fwBuffer) |
| Pre-message hook for async input port bufferSendIn. More... | |
| void | deallocBufferSendOut_out (FwIndexType portNum, Fw::Buffer &fwBuffer) const |
| Invoke output port deallocBufferSendOut. More... | |
| void | dpWrittenOut_out (FwIndexType portNum, const Fw::StringBase &fileName, FwDpPriorityType priority, FwSizeType size) const |
| Invoke output port dpWrittenOut. More... | |
| void | procBufferSendOut_out (FwIndexType portNum, Fw::Buffer &fwBuffer) const |
| Invoke output port procBufferSendOut. More... | |
| virtual void | schedInInternal_overflowHook ()=0 |
| Overflow hook for async input port schedInInternal. More... | |
| virtual void | schedInInternal_internalInterfaceHandler ()=0 |
| Internal interface handler for schedInInternal. More... | |
| void | schedInInternal_internalInterfaceInvoke () |
| Internal interface base-class function for schedInInternal. More... | |
| void | cmdResponse_out (FwOpcodeType opCode, U32 cmdSeq, Fw::CmdResponse response) |
| Emit command response. More... | |
| virtual void | CLEAR_EVENT_THROTTLE_cmdHandler (FwOpcodeType opCode, U32 cmdSeq)=0 |
| void | CLEAR_EVENT_THROTTLE_cmdHandlerBase (FwOpcodeType opCode, U32 cmdSeq, Fw::CmdArgBuffer &args) |
| virtual void | CLEAR_EVENT_THROTTLE_preMsgHook (FwOpcodeType opCode, U32 cmdSeq) |
| Pre-message hook for command CLEAR_EVENT_THROTTLE. More... | |
| void | log_WARNING_HI_InvalidBuffer () |
| void | log_WARNING_HI_BufferTooSmallForPacket (FwSizeType bufferSize, U32 minSize) |
| void | log_WARNING_HI_InvalidHeaderHash (FwSizeType bufferSize, U32 storedHash, U32 computedHash) |
| void | log_WARNING_HI_InvalidHeader (FwSizeType bufferSize, U32 errorCode) |
| void | log_WARNING_HI_BufferTooSmallForData (FwSizeType bufferSize, U32 minSize) |
| void | log_WARNING_HI_FileNameFormatError (const Fw::StringFormatStatus &status) |
| void | log_WARNING_HI_FileOpenError (U32 status, const Fw::StringBase &file) |
| void | log_WARNING_HI_FileWriteError (U32 status, U32 bytesWritten, U32 bytesToWrite, const Fw::StringBase &file) |
| void | log_ACTIVITY_LO_FileWritten (U32 bytes, const Fw::StringBase &file) const |
| void | log_WARNING_HI_InvalidBuffer_ThrottleClear () |
| Reset throttle value for InvalidBuffer. More... | |
| void | log_WARNING_HI_BufferTooSmallForPacket_ThrottleClear () |
| Reset throttle value for BufferTooSmallForPacket. More... | |
| void | log_WARNING_HI_InvalidHeaderHash_ThrottleClear () |
| Reset throttle value for InvalidHeaderHash. More... | |
| void | log_WARNING_HI_InvalidHeader_ThrottleClear () |
| Reset throttle value for InvalidHeader. More... | |
| void | log_WARNING_HI_BufferTooSmallForData_ThrottleClear () |
| Reset throttle value for BufferTooSmallForData. More... | |
| void | log_WARNING_HI_FileNameFormatError_ThrottleClear () |
| Reset throttle value for FileNameFormatError. More... | |
| void | log_WARNING_HI_FileOpenError_ThrottleClear () |
| Reset throttle value for FileOpenError. More... | |
| void | log_WARNING_HI_FileWriteError_ThrottleClear () |
| Reset throttle value for FileWriteError. More... | |
| void | tlmWrite (FwChanIdType id, Fw::TlmBuffer &_tlmBuff, Fw::Time _tlmTime=Fw::Time()) const |
| void | tlmWrite_NumBuffersReceived (U32 arg, Fw::Time _tlmTime=Fw::Time()) |
| void | tlmWrite_NumBytesWritten (U64 arg, Fw::Time _tlmTime=Fw::Time()) |
| void | tlmWrite_NumSuccessfulWrites (U32 arg, Fw::Time _tlmTime=Fw::Time()) |
| void | tlmWrite_NumFailedWrites (U32 arg, Fw::Time _tlmTime=Fw::Time()) |
| void | tlmWrite_NumErrors (U32 arg, Fw::Time _tlmTime=Fw::Time()) |
| Fw::Time | getTime () const |
Protected Member Functions inherited from Fw::ActiveComponentBase | |
| ActiveComponentBase (const char *name) | |
| Constructor. More... | |
| virtual | ~ActiveComponentBase () |
| Destructor. More... | |
| void | init (FwEnumStoreType instance) |
| initialization code More... | |
| virtual void | preamble () |
| A function that will be called before the event loop is entered. More... | |
| MsgDispatchStatus | dispatch () |
| The function that will dispatching messages. More... | |
| virtual void | finalizer () |
| A function that will be called after exiting the loop. More... | |
Protected Member Functions inherited from Fw::QueuedComponentBase | |
| QueuedComponentBase (const char *name) | |
| Constructor. More... | |
| virtual | ~QueuedComponentBase () |
| Destructor. More... | |
| void | init (FwEnumStoreType instance) |
| initialization function More... | |
| Os::Queue::Status | createQueue (FwSizeType depth, FwSizeType msgSize) |
| MsgDispatchStatus | dispatchAvailableMessages () |
| dispatches all messages currently in the queue, returning status of the dispatch More... | |
| FwSizeType | getNumMsgsDropped () |
| return number of messages dropped More... | |
| void | incNumMsgDropped () |
| increment the number of messages dropped More... | |
Protected Member Functions inherited from Fw::PassiveComponentBase | |
| PassiveComponentBase (const char *name) | |
| Named constructor. More... | |
| virtual | ~PassiveComponentBase () |
| Destructor. More... | |
| void | init (FwEnumStoreType instance) |
| Initialization function. More... | |
| FwEnumStoreType | getInstance () const |
Protected Member Functions inherited from Fw::ObjBase | |
| ObjBase (const char *name) | |
| ObjBase constructor. More... | |
| virtual | ~ObjBase () |
| Destructor. More... | |
| void | init () |
| Object initializer. More... | |
Static Protected Member Functions | |
| static constexpr FwIndexType | getNum_cmdIn_InputPorts () |
| static constexpr FwIndexType | getNum_bufferSendIn_InputPorts () |
| static constexpr FwIndexType | getNum_schedIn_InputPorts () |
| static constexpr FwIndexType | getNum_cmdRegIn_OutputPorts () |
| static constexpr FwIndexType | getNum_cmdResponseOut_OutputPorts () |
| static constexpr FwIndexType | getNum_eventOut_OutputPorts () |
| static constexpr FwIndexType | getNum_timeGetOut_OutputPorts () |
| static constexpr FwIndexType | getNum_tlmOut_OutputPorts () |
| static constexpr FwIndexType | getNum_deallocBufferSendOut_OutputPorts () |
| static constexpr FwIndexType | getNum_dpWrittenOut_OutputPorts () |
| static constexpr FwIndexType | getNum_procBufferSendOut_OutputPorts () |
Friends | |
| class | DpWriterTesterBase |
| Friend class tester to support autocoded test harness. More... | |
| class | DpWriterTester |
| 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 DpWriter component.
A component for writing data products to disk
Definition at line 44 of file DpWriterComponentAc.hpp.
|
protected |
Enumerations for numbers of special input ports.
| Enumerator | |
|---|---|
| NUM_CMDIN_INPUT_PORTS | |
Definition at line 64 of file DpWriterComponentAc.hpp.
|
protected |
Enumerations for numbers of typed input ports.
| Enumerator | |
|---|---|
| NUM_BUFFERSENDIN_INPUT_PORTS | |
| NUM_SCHEDIN_INPUT_PORTS | |
Definition at line 69 of file DpWriterComponentAc.hpp.
|
protected |
Enumerations for numbers of special output ports.
| Enumerator | |
|---|---|
| NUM_CMDREGIN_OUTPUT_PORTS | |
| NUM_CMDRESPONSEOUT_OUTPUT_PORTS | |
| NUM_EVENTOUT_OUTPUT_PORTS | |
| NUM_TEXTEVENTOUT_OUTPUT_PORTS | |
| NUM_TIMEGETOUT_OUTPUT_PORTS | |
| NUM_TLMOUT_OUTPUT_PORTS | |
Definition at line 75 of file DpWriterComponentAc.hpp.
|
protected |
Enumerations for numbers of typed output ports.
| Enumerator | |
|---|---|
| NUM_DEALLOCBUFFERSENDOUT_OUTPUT_PORTS | |
| NUM_DPWRITTENOUT_OUTPUT_PORTS | |
| NUM_PROCBUFFERSENDOUT_OUTPUT_PORTS | |
Definition at line 85 of file DpWriterComponentAc.hpp.
|
protected |
Command opcodes.
| Enumerator | |
|---|---|
| OPCODE_CLEAR_EVENT_THROTTLE | Clear event throttling. |
Definition at line 92 of file DpWriterComponentAc.hpp.
|
protected |
Event IDs.
Definition at line 97 of file DpWriterComponentAc.hpp.
|
protected |
Event throttle values: sets initial value of countdown variables.
Definition at line 110 of file DpWriterComponentAc.hpp.
|
protected |
Channel IDs.
Definition at line 122 of file DpWriterComponentAc.hpp.
|
protected |
Construct DpWriterComponentBase object.
| compName | The component name |
Definition at line 711 of file DpWriterComponentAc.cpp.
|
protectedvirtual |
Destroy DpWriterComponentBase object.
Definition at line 725 of file DpWriterComponentAc.cpp.
|
protectedpure virtual |
Handler for input port bufferSendIn.
| portNum | The port number |
| fwBuffer | The buffer |
|
protected |
Handler base-class function for input port bufferSendIn.
| portNum | The port number |
| fwBuffer | The buffer |
Definition at line 890 of file DpWriterComponentAc.cpp.
|
protectedvirtual |
Pre-message hook for async input port bufferSendIn.
| portNum | The port number |
| fwBuffer | The buffer |
Definition at line 970 of file DpWriterComponentAc.cpp.
|
protectedpure virtual |
Handler for command CLEAR_EVENT_THROTTLE
Clear event throttling
| opCode | The opcode |
| cmdSeq | The command sequence number |
|
protected |
Base-class handler function for command CLEAR_EVENT_THROTTLE
Clear event throttling
| opCode | The opcode |
| cmdSeq | The command sequence number |
| args | The command argument buffer |
Definition at line 1119 of file DpWriterComponentAc.cpp.
|
protectedvirtual |
Pre-message hook for command CLEAR_EVENT_THROTTLE.
| opCode | The opcode |
| cmdSeq | The command sequence number |
Definition at line 1186 of file DpWriterComponentAc.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 856 of file DpWriterComponentAc.cpp.
|
protected |
Emit command response.
| opCode | The opcode |
| cmdSeq | The command sequence number |
| response | The command response |
Definition at line 1102 of file DpWriterComponentAc.cpp.
|
protected |
Invoke output port deallocBufferSendOut.
| portNum | The port number |
| fwBuffer | The buffer |
Definition at line 985 of file DpWriterComponentAc.cpp.
|
protected |
Invoke output port dpWrittenOut.
| portNum | The port number |
| fileName | The file name |
| priority | The priority |
| size | The file size |
Definition at line 1005 of file DpWriterComponentAc.cpp.
| Fw::InputBufferSendPort * Svc::DpWriterComponentBase::get_bufferSendIn_InputPort | ( | FwIndexType | portNum | ) |
Get typed input port at index
| portNum | The port number |
Definition at line 376 of file DpWriterComponentAc.cpp.
| Fw::InputCmdPort * Svc::DpWriterComponentBase::get_cmdIn_InputPort | ( | FwIndexType | portNum | ) |
Get special input port at index
| portNum | The port number |
Definition at line 357 of file DpWriterComponentAc.cpp.
| Svc::InputSchedPort * Svc::DpWriterComponentBase::get_schedIn_InputPort | ( | FwIndexType | portNum | ) |
Get typed input port at index
| portNum | The port number |
Definition at line 387 of file DpWriterComponentAc.cpp.
|
inlinestaticprotected |
Get the number of bufferSendIn input ports
Definition at line 386 of file DpWriterComponentAc.hpp.
|
inlinestaticprotected |
Get the number of cmdIn input ports
Definition at line 373 of file DpWriterComponentAc.hpp.
|
inlinestaticprotected |
Get the number of cmdRegIn output ports
Definition at line 406 of file DpWriterComponentAc.hpp.
|
inlinestaticprotected |
Get the number of cmdResponseOut output ports
Definition at line 413 of file DpWriterComponentAc.hpp.
|
inlinestaticprotected |
Get the number of deallocBufferSendOut output ports
Definition at line 458 of file DpWriterComponentAc.hpp.
|
inlinestaticprotected |
Get the number of dpWrittenOut output ports
Definition at line 465 of file DpWriterComponentAc.hpp.
|
inlinestaticprotected |
Get the number of eventOut output ports
Definition at line 420 of file DpWriterComponentAc.hpp.
|
inlinestaticprotected |
Get the number of procBufferSendOut output ports
Definition at line 472 of file DpWriterComponentAc.hpp.
|
inlinestaticprotected |
Get the number of schedIn input ports
Definition at line 393 of file DpWriterComponentAc.hpp.
|
inlinestaticprotected |
Get the number of timeGetOut output ports
Definition at line 438 of file DpWriterComponentAc.hpp.
|
inlinestaticprotected |
Get the number of tlmOut output ports
Definition at line 445 of file DpWriterComponentAc.hpp.
|
protected |
| void Svc::DpWriterComponentBase::init | ( | FwSizeType | queueDepth, |
| FwEnumStoreType | instance = 0 |
||
| ) |
Initialize DpWriterComponentBase object.
| queueDepth | The queue depth |
| instance | The instance number |
Definition at line 64 of file DpWriterComponentAc.cpp.
|
protected |
Check whether port cmdRegIn is connected
| portNum | The port number |
Definition at line 737 of file DpWriterComponentAc.cpp.
|
protected |
Check whether port cmdResponseOut is connected
| portNum | The port number |
Definition at line 748 of file DpWriterComponentAc.cpp.
|
protected |
Check whether port deallocBufferSendOut is connected
| portNum | The port number |
Definition at line 815 of file DpWriterComponentAc.cpp.
|
protected |
Check whether port dpWrittenOut is connected
| portNum | The port number |
Definition at line 826 of file DpWriterComponentAc.cpp.
|
protected |
Check whether port eventOut is connected
| portNum | The port number |
Definition at line 759 of file DpWriterComponentAc.cpp.
|
protected |
Check whether port procBufferSendOut is connected
| portNum | The port number |
Definition at line 837 of file DpWriterComponentAc.cpp.
|
protected |
Check whether port timeGetOut is connected
| portNum | The port number |
Definition at line 785 of file DpWriterComponentAc.cpp.
|
protected |
Check whether port tlmOut is connected
| portNum | The port number |
Definition at line 796 of file DpWriterComponentAc.cpp.
|
protected |
Log event FileWritten
File written
| bytes | The number of bytes written |
| file | The file name |
Definition at line 2067 of file DpWriterComponentAc.cpp.
|
protected |
Log event BufferTooSmallForData
Received buffer is too small to hold the data specified in the header
| bufferSize | The incoming buffer size |
| minSize | The minimum required size |
Definition at line 1622 of file DpWriterComponentAc.cpp.
|
protected |
Reset throttle value for BufferTooSmallForData.
Definition at line 2194 of file DpWriterComponentAc.cpp.
|
protected |
Log event BufferTooSmallForPacket
Received buffer is too small to hold a data product packet
| bufferSize | The incoming buffer size |
| minSize | The minimum required size |
Definition at line 1274 of file DpWriterComponentAc.cpp.
|
protected |
Reset throttle value for BufferTooSmallForPacket.
Definition at line 2173 of file DpWriterComponentAc.cpp.
|
protected |
Log event FileNameFormatError
An error occurred when formatting a file name
| status | The status returned from the format operation |
Definition at line 1732 of file DpWriterComponentAc.cpp.
|
protected |
Reset throttle value for FileNameFormatError.
Definition at line 2201 of file DpWriterComponentAc.cpp.
|
protected |
Log event FileOpenError
An error occurred when opening a file
| status | The status code returned from the open operation |
| file | The file |
Definition at line 1825 of file DpWriterComponentAc.cpp.
|
protected |
Reset throttle value for FileOpenError.
Definition at line 2208 of file DpWriterComponentAc.cpp.
|
protected |
Log event FileWriteError
An error occurred when writing to a file
| status | The status code returned from the write operation |
| bytesWritten | The number of bytes successfully written |
| bytesToWrite | The number of bytes attempted |
| file | The file |
Definition at line 1928 of file DpWriterComponentAc.cpp.
|
protected |
Reset throttle value for FileWriteError.
Definition at line 2215 of file DpWriterComponentAc.cpp.
|
protected |
Log event InvalidBuffer
Received buffer is invalid
Definition at line 1201 of file DpWriterComponentAc.cpp.
|
protected |
Reset throttle value for InvalidBuffer.
Definition at line 2166 of file DpWriterComponentAc.cpp.
|
protected |
Log event InvalidHeader
Error occurred when deserializing the packet header
| bufferSize | The incoming buffer size |
| errorCode | The error code |
Definition at line 1512 of file DpWriterComponentAc.cpp.
|
protected |
Reset throttle value for InvalidHeader.
Definition at line 2187 of file DpWriterComponentAc.cpp.
|
protected |
Log event InvalidHeaderHash
The received buffer has an invalid header hash
| bufferSize | The incoming buffer size |
| storedHash | The stored hash value |
| computedHash | The computed hash value |
Definition at line 1384 of file DpWriterComponentAc.cpp.
|
protected |
Reset throttle value for InvalidHeaderHash.
Definition at line 2180 of file DpWriterComponentAc.cpp.
|
protected |
Invoke output port procBufferSendOut.
| portNum | The port number |
| fwBuffer | The buffer |
Definition at line 1029 of file DpWriterComponentAc.cpp.
| void Svc::DpWriterComponentBase::regCommands | ( | ) |
Register commands with the Command Dispatcher.
Connect the dispatcher first
Definition at line 696 of file DpWriterComponentAc.cpp.
|
protectedpure virtual |
Handler for input port schedIn.
| portNum | The port number |
| context | The call order |
|
protected |
Handler base-class function for input port schedIn.
| portNum | The port number |
| context | The call order |
Definition at line 943 of file DpWriterComponentAc.cpp.
|
protectedpure virtual |
Internal interface handler for schedInInternal.
|
protected |
Internal interface base-class function for schedInInternal.
Definition at line 1063 of file DpWriterComponentAc.cpp.
|
protectedpure virtual |
Overflow hook for async input port schedInInternal.
| void Svc::DpWriterComponentBase::set_cmdRegIn_OutputPort | ( | FwIndexType | portNum, |
| Fw::InputCmdRegPort * | port | ||
| ) |
Connect port to cmdRegIn[portNum].
| portNum | The port number |
| port | The input port |
Definition at line 406 of file DpWriterComponentAc.cpp.
| void Svc::DpWriterComponentBase::set_cmdResponseOut_OutputPort | ( | FwIndexType | portNum, |
| Fw::InputCmdResponsePort * | port | ||
| ) |
Connect port to cmdResponseOut[portNum].
| portNum | The port number |
| port | The input port |
Definition at line 420 of file DpWriterComponentAc.cpp.
| void Svc::DpWriterComponentBase::set_deallocBufferSendOut_OutputPort | ( | FwIndexType | portNum, |
| Fw::InputBufferSendPort * | port | ||
| ) |
Connect port to deallocBufferSendOut[portNum].
| portNum | The port number |
| port | The input port |
Definition at line 502 of file DpWriterComponentAc.cpp.
| void Svc::DpWriterComponentBase::set_dpWrittenOut_OutputPort | ( | FwIndexType | portNum, |
| Svc::InputDpWrittenPort * | port | ||
| ) |
Connect port to dpWrittenOut[portNum].
| portNum | The port number |
| port | The input port |
Definition at line 516 of file DpWriterComponentAc.cpp.
| void Svc::DpWriterComponentBase::set_eventOut_OutputPort | ( | FwIndexType | portNum, |
| Fw::InputLogPort * | port | ||
| ) |
Connect port to eventOut[portNum].
| portNum | The port number |
| port | The input port |
Definition at line 434 of file DpWriterComponentAc.cpp.
| void Svc::DpWriterComponentBase::set_procBufferSendOut_OutputPort | ( | FwIndexType | portNum, |
| Fw::InputBufferSendPort * | port | ||
| ) |
Connect port to procBufferSendOut[portNum].
| portNum | The port number |
| port | The input port |
Definition at line 530 of file DpWriterComponentAc.cpp.
| void Svc::DpWriterComponentBase::set_timeGetOut_OutputPort | ( | FwIndexType | portNum, |
| Fw::InputTimePort * | port | ||
| ) |
Connect port to timeGetOut[portNum].
| portNum | The port number |
| port | The input port |
Definition at line 466 of file DpWriterComponentAc.cpp.
| void Svc::DpWriterComponentBase::set_tlmOut_OutputPort | ( | FwIndexType | portNum, |
| Fw::InputTlmPort * | port | ||
| ) |
Connect port to tlmOut[portNum].
| portNum | The port number |
| port | The input port |
Definition at line 480 of file DpWriterComponentAc.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 2226 of file DpWriterComponentAc.cpp.
|
protected |
Write telemetry channel NumBuffersReceived
The number of buffers received
| arg | The telemetry value |
| _tlmTime | Timestamp. Default: unspecified, request from getTime port |
Definition at line 2257 of file DpWriterComponentAc.cpp.
|
protected |
Write telemetry channel NumBytesWritten
The number of bytes written
| arg | The telemetry value |
| _tlmTime | Timestamp. Default: unspecified, request from getTime port |
Definition at line 2294 of file DpWriterComponentAc.cpp.
|
protected |
Write telemetry channel NumErrors
The number of errors
| arg | The telemetry value |
| _tlmTime | Timestamp. Default: unspecified, request from getTime port |
Definition at line 2405 of file DpWriterComponentAc.cpp.
|
protected |
Write telemetry channel NumFailedWrites
The number of failed writes
| arg | The telemetry value |
| _tlmTime | Timestamp. Default: unspecified, request from getTime port |
Definition at line 2368 of file DpWriterComponentAc.cpp.
|
protected |
Write telemetry channel NumSuccessfulWrites
The number of successful writes
| arg | The telemetry value |
| _tlmTime | Timestamp. Default: unspecified, request from getTime port |
Definition at line 2331 of file DpWriterComponentAc.cpp.
|
friend |
Friend class tester implementation to support white-box testing.
Definition at line 55 of file DpWriterComponentAc.hpp.
|
friend |
Friend class tester to support autocoded test harness.
Definition at line 53 of file DpWriterComponentAc.hpp.