![]() |
F´ Flight Software - C/C++ Documentation
A framework for building embedded system applications to NASA flight quality standards.
|
Auto-generated base for BufferLogger component. More...
#include <Svc/BufferLogger/BufferLoggerComponentAc.hpp>
Public Member Functions | |
| void | init (FwSizeType queueDepth, FwEnumStoreType instance=0) |
| Initialize BufferLoggerComponentBase object. More... | |
| Fw::InputCmdPort * | get_cmdIn_InputPort (FwIndexType portNum) |
| Fw::InputBufferSendPort * | get_bufferSendIn_InputPort (FwIndexType portNum) |
| Fw::InputComPort * | get_comIn_InputPort (FwIndexType portNum) |
| Svc::InputPingPort * | get_pingIn_InputPort (FwIndexType portNum) |
| Svc::InputSchedPort * | get_schedIn_InputPort (FwIndexType portNum) |
| void | set_cmdRegOut_OutputPort (FwIndexType portNum, Fw::InputCmdRegPort *port) |
| Connect port to cmdRegOut[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_timeCaller_OutputPort (FwIndexType portNum, Fw::InputTimePort *port) |
| Connect port to timeCaller[portNum]. More... | |
| void | set_tlmOut_OutputPort (FwIndexType portNum, Fw::InputTlmPort *port) |
| Connect port to tlmOut[portNum]. More... | |
| void | set_bufferSendOut_OutputPort (FwIndexType portNum, Fw::InputBufferSendPort *port) |
| Connect port to bufferSendOut[portNum]. More... | |
| void | set_pingOut_OutputPort (FwIndexType portNum, Svc::InputPingPort *port) |
| Connect port to pingOut[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 | |
| BufferLoggerComponentBase (const char *compName="") | |
| Construct BufferLoggerComponentBase object. More... | |
| virtual | ~BufferLoggerComponentBase () |
| Destroy BufferLoggerComponentBase 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_timeCaller_OutputPort (FwIndexType portNum) const |
| bool | isConnected_tlmOut_OutputPort (FwIndexType portNum) const |
| bool | isConnected_bufferSendOut_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 | bufferSendIn_handler (FwIndexType portNum, Fw::Buffer &fwBuffer)=0 |
| Handler for input port bufferSendIn. More... | |
| virtual void | comIn_handler (FwIndexType portNum, Fw::ComBuffer &data, U32 context)=0 |
| Handler for input port comIn. More... | |
| virtual void | pingIn_handler (FwIndexType portNum, U32 key)=0 |
| Handler for input port pingIn. More... | |
| virtual void | schedIn_handler (FwIndexType portNum, U32 context)=0 |
| Handler for input port schedIn. More... | |
| void | bufferSendIn_handlerBase (FwIndexType portNum, Fw::Buffer &fwBuffer) |
| Handler base-class function for input port bufferSendIn. More... | |
| void | comIn_handlerBase (FwIndexType portNum, Fw::ComBuffer &data, U32 context) |
| Handler base-class function for input port comIn. More... | |
| void | pingIn_handlerBase (FwIndexType portNum, U32 key) |
| Handler base-class function for input port pingIn. More... | |
| void | schedIn_handlerBase (FwIndexType portNum, U32 context) |
| Handler base-class function for input port schedIn. More... | |
| virtual void | bufferSendIn_preMsgHook (FwIndexType portNum, Fw::Buffer &fwBuffer) |
| Pre-message hook for async input port bufferSendIn. More... | |
| virtual void | comIn_preMsgHook (FwIndexType portNum, Fw::ComBuffer &data, U32 context) |
| Pre-message hook for async input port comIn. More... | |
| virtual void | pingIn_preMsgHook (FwIndexType portNum, U32 key) |
| Pre-message hook for async input port pingIn. More... | |
| virtual void | schedIn_preMsgHook (FwIndexType portNum, U32 context) |
| Pre-message hook for async input port schedIn. More... | |
| void | bufferSendOut_out (FwIndexType portNum, Fw::Buffer &fwBuffer) const |
| Invoke output port bufferSendOut. 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 | BL_OpenFile_cmdHandler (FwOpcodeType opCode, U32 cmdSeq, const Fw::CmdStringArg &file)=0 |
| virtual void | BL_CloseFile_cmdHandler (FwOpcodeType opCode, U32 cmdSeq)=0 |
| virtual void | BL_SetLogging_cmdHandler (FwOpcodeType opCode, U32 cmdSeq, const Svc::BufferLogger_LogState &state)=0 |
| virtual void | BL_FlushFile_cmdHandler (FwOpcodeType opCode, U32 cmdSeq)=0 |
| void | BL_OpenFile_cmdHandlerBase (FwOpcodeType opCode, U32 cmdSeq, Fw::CmdArgBuffer &args) |
| void | BL_CloseFile_cmdHandlerBase (FwOpcodeType opCode, U32 cmdSeq, Fw::CmdArgBuffer &args) |
| void | BL_SetLogging_cmdHandlerBase (FwOpcodeType opCode, U32 cmdSeq, Fw::CmdArgBuffer &args) |
| void | BL_FlushFile_cmdHandlerBase (FwOpcodeType opCode, U32 cmdSeq, Fw::CmdArgBuffer &args) |
| virtual void | BL_OpenFile_preMsgHook (FwOpcodeType opCode, U32 cmdSeq) |
| Pre-message hook for command BL_OpenFile. More... | |
| virtual void | BL_CloseFile_preMsgHook (FwOpcodeType opCode, U32 cmdSeq) |
| Pre-message hook for command BL_CloseFile. More... | |
| virtual void | BL_SetLogging_preMsgHook (FwOpcodeType opCode, U32 cmdSeq) |
| Pre-message hook for command BL_SetLogging. More... | |
| virtual void | BL_FlushFile_preMsgHook (FwOpcodeType opCode, U32 cmdSeq) |
| Pre-message hook for command BL_FlushFile. More... | |
| void | log_DIAGNOSTIC_BL_LogFileClosed (const Fw::StringBase &file) const |
| void | log_WARNING_HI_BL_LogFileOpenError (U32 errornum, const Fw::StringBase &file) const |
| void | log_WARNING_HI_BL_LogFileValidationError (const Fw::StringBase &validationFile, U32 status) const |
| void | log_WARNING_HI_BL_LogFileWriteError (U32 errornum, U32 bytesWritten, U32 bytesToWrite, const Fw::StringBase &file) const |
| void | log_ACTIVITY_LO_BL_Activated () const |
| void | log_ACTIVITY_LO_BL_Deactivated () const |
| void | log_WARNING_HI_BL_NoLogFileOpenInitError () const |
| void | log_WARNING_HI_BL_LogFileNameError (const Fw::StringFormatStatus &status) const |
| void | tlmWrite (FwChanIdType id, Fw::TlmBuffer &_tlmBuff, Fw::Time _tlmTime=Fw::Time()) const |
| void | tlmWrite_BufferLogger_NumLoggedBuffers (U32 arg, Fw::Time _tlmTime=Fw::Time()) const |
| 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_comIn_InputPorts () |
| static constexpr FwIndexType | getNum_pingIn_InputPorts () |
| static constexpr FwIndexType | getNum_schedIn_InputPorts () |
| static constexpr FwIndexType | getNum_cmdRegOut_OutputPorts () |
| static constexpr FwIndexType | getNum_cmdResponseOut_OutputPorts () |
| static constexpr FwIndexType | getNum_eventOut_OutputPorts () |
| static constexpr FwIndexType | getNum_timeCaller_OutputPorts () |
| static constexpr FwIndexType | getNum_tlmOut_OutputPorts () |
| static constexpr FwIndexType | getNum_bufferSendOut_OutputPorts () |
| static constexpr FwIndexType | getNum_pingOut_OutputPorts () |
Friends | |
| class | BufferLoggerTesterBase |
| Friend class tester to support autocoded test harness. More... | |
| class | BufferLoggerTester |
| 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 BufferLogger component.
Definition at line 42 of file BufferLoggerComponentAc.hpp.
|
protected |
Enumerations for numbers of special input ports.
| Enumerator | |
|---|---|
| NUM_CMDIN_INPUT_PORTS | |
Definition at line 62 of file BufferLoggerComponentAc.hpp.
|
protected |
Enumerations for numbers of typed input ports.
| Enumerator | |
|---|---|
| NUM_BUFFERSENDIN_INPUT_PORTS | |
| NUM_COMIN_INPUT_PORTS | |
| NUM_PINGIN_INPUT_PORTS | |
| NUM_SCHEDIN_INPUT_PORTS | |
Definition at line 67 of file BufferLoggerComponentAc.hpp.
|
protected |
Enumerations for numbers of special output ports.
| Enumerator | |
|---|---|
| NUM_CMDREGOUT_OUTPUT_PORTS | |
| NUM_CMDRESPONSEOUT_OUTPUT_PORTS | |
| NUM_EVENTOUT_OUTPUT_PORTS | |
| NUM_EVENTOUTTEXT_OUTPUT_PORTS | |
| NUM_TIMECALLER_OUTPUT_PORTS | |
| NUM_TLMOUT_OUTPUT_PORTS | |
Definition at line 75 of file BufferLoggerComponentAc.hpp.
|
protected |
Enumerations for numbers of typed output ports.
| Enumerator | |
|---|---|
| NUM_BUFFERSENDOUT_OUTPUT_PORTS | |
| NUM_PINGOUT_OUTPUT_PORTS | |
Definition at line 85 of file BufferLoggerComponentAc.hpp.
|
protected |
Command opcodes.
Definition at line 91 of file BufferLoggerComponentAc.hpp.
|
protected |
Event IDs.
| Enumerator | |
|---|---|
| EVENTID_BL_LOGFILECLOSED | The Buffer Logger closed a log file. |
| EVENTID_BL_LOGFILEOPENERROR | The Buffer Logger encountered an error opening a log file. |
| EVENTID_BL_LOGFILEVALIDATIONERROR | The Buffer Logger encountered an error writing a validation file. |
| EVENTID_BL_LOGFILEWRITEERROR | The Buffer Logger encountered an error writing to a log file. |
| EVENTID_BL_ACTIVATED | Buffer logger was activated. |
| EVENTID_BL_DEACTIVATED | Buffer logger was deactivated. |
| EVENTID_BL_NOLOGFILEOPENINITERROR | No log file open command was received by BufferLogger. |
| EVENTID_BL_LOGFILENAMEERROR | The Buffer Logger encountered an error formatting a log file name. |
Definition at line 99 of file BufferLoggerComponentAc.hpp.
|
protected |
Channel IDs.
| Enumerator | |
|---|---|
| CHANNELID_BUFFERLOGGER_NUMLOGGEDBUFFERS | Channel ID for BufferLogger_NumLoggedBuffers. |
Definition at line 111 of file BufferLoggerComponentAc.hpp.
|
protected |
Construct BufferLoggerComponentBase object.
| compName | The component name |
Definition at line 759 of file BufferLoggerComponentAc.cpp.
|
protectedvirtual |
Destroy BufferLoggerComponentBase object.
Definition at line 766 of file BufferLoggerComponentAc.cpp.
|
protectedpure virtual |
Handler for command BL_CloseFile
Close the currently open log file, if any
| opCode | The opcode |
| cmdSeq | The command sequence number |
|
protected |
Base-class handler function for command BL_CloseFile
Close the currently open log file, if any
| opCode | The opcode |
| cmdSeq | The command sequence number |
| args | The command argument buffer |
Definition at line 1341 of file BufferLoggerComponentAc.cpp.
|
protectedvirtual |
Pre-message hook for command BL_CloseFile.
| opCode | The opcode |
| cmdSeq | The command sequence number |
Definition at line 1537 of file BufferLoggerComponentAc.cpp.
|
protectedpure virtual |
Handler for command BL_FlushFile
Flushes the current open log file to disk; a no-op with fprime's unbuffered file I/O, so always returns success
| opCode | The opcode |
| cmdSeq | The command sequence number |
|
protected |
Base-class handler function for command BL_FlushFile
Flushes the current open log file to disk; a no-op with fprime's unbuffered file I/O, so always returns success
| opCode | The opcode |
| cmdSeq | The command sequence number |
| args | The command argument buffer |
Definition at line 1459 of file BufferLoggerComponentAc.cpp.
|
protectedvirtual |
Pre-message hook for command BL_FlushFile.
| opCode | The opcode |
| cmdSeq | The command sequence number |
Definition at line 1559 of file BufferLoggerComponentAc.cpp.
|
protectedpure virtual |
Handler for command BL_OpenFile
Open a new log file with specified name; also resets unique file counter to 0
| opCode | The opcode |
| cmdSeq | The command sequence number |
|
protected |
Base-class handler function for command BL_OpenFile
Open a new log file with specified name; also resets unique file counter to 0
| opCode | The opcode |
| cmdSeq | The command sequence number |
| args | The command argument buffer |
Definition at line 1282 of file BufferLoggerComponentAc.cpp.
|
protectedvirtual |
Pre-message hook for command BL_OpenFile.
| opCode | The opcode |
| cmdSeq | The command sequence number |
Definition at line 1526 of file BufferLoggerComponentAc.cpp.
|
protectedpure virtual |
Handler for command BL_SetLogging
Sets the volatile logging state
| opCode | The opcode |
| cmdSeq | The command sequence number |
|
protected |
Base-class handler function for command BL_SetLogging
Sets the volatile logging state
| opCode | The opcode |
| cmdSeq | The command sequence number |
| args | The command argument buffer |
Definition at line 1400 of file BufferLoggerComponentAc.cpp.
|
protectedvirtual |
Pre-message hook for command BL_SetLogging.
| opCode | The opcode |
| cmdSeq | The command sequence number |
Definition at line 1548 of file BufferLoggerComponentAc.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 947 of file BufferLoggerComponentAc.cpp.
|
protectedvirtual |
Pre-message hook for async input port bufferSendIn.
| portNum | The port number |
| fwBuffer | The buffer |
Definition at line 1176 of file BufferLoggerComponentAc.cpp.
|
protected |
Invoke output port bufferSendOut.
| portNum | The port number |
| fwBuffer | The buffer |
Definition at line 1219 of file BufferLoggerComponentAc.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 886 of file BufferLoggerComponentAc.cpp.
|
protected |
Emit command response.
| opCode | The opcode |
| cmdSeq | The command sequence number |
| response | The command response |
Definition at line 1265 of file BufferLoggerComponentAc.cpp.
|
protectedpure virtual |
Handler for input port comIn.
| portNum | The port number |
| data | Buffer containing packet data |
| context | Call context value; meaning chosen by user |
|
protected |
Handler base-class function for input port comIn.
| portNum | The port number |
| data | Buffer containing packet data |
| context | Call context value; meaning chosen by user |
Definition at line 1000 of file BufferLoggerComponentAc.cpp.
|
protectedvirtual |
Pre-message hook for async input port comIn.
| portNum | The port number |
| data | Buffer containing packet data |
| context | Call context value; meaning chosen by user |
Definition at line 1185 of file BufferLoggerComponentAc.cpp.
| Fw::InputBufferSendPort * Svc::BufferLoggerComponentBase::get_bufferSendIn_InputPort | ( | FwIndexType | portNum | ) |
Get typed input port at index
| portNum | The port number |
Definition at line 415 of file BufferLoggerComponentAc.cpp.
| Fw::InputCmdPort * Svc::BufferLoggerComponentBase::get_cmdIn_InputPort | ( | FwIndexType | portNum | ) |
Get special input port at index
| portNum | The port number |
Definition at line 396 of file BufferLoggerComponentAc.cpp.
| Fw::InputComPort * Svc::BufferLoggerComponentBase::get_comIn_InputPort | ( | FwIndexType | portNum | ) |
Get typed input port at index
| portNum | The port number |
Definition at line 426 of file BufferLoggerComponentAc.cpp.
| Svc::InputPingPort * Svc::BufferLoggerComponentBase::get_pingIn_InputPort | ( | FwIndexType | portNum | ) |
Get typed input port at index
| portNum | The port number |
Definition at line 437 of file BufferLoggerComponentAc.cpp.
| Svc::InputSchedPort * Svc::BufferLoggerComponentBase::get_schedIn_InputPort | ( | FwIndexType | portNum | ) |
Get typed input port at index
| portNum | The port number |
Definition at line 448 of file BufferLoggerComponentAc.cpp.
|
inlinestaticprotected |
Get the number of bufferSendIn input ports
Definition at line 373 of file BufferLoggerComponentAc.hpp.
|
inlinestaticprotected |
Get the number of bufferSendOut output ports
Definition at line 459 of file BufferLoggerComponentAc.hpp.
|
inlinestaticprotected |
Get the number of cmdIn input ports
Definition at line 360 of file BufferLoggerComponentAc.hpp.
|
inlinestaticprotected |
Get the number of cmdRegOut output ports
Definition at line 407 of file BufferLoggerComponentAc.hpp.
|
inlinestaticprotected |
Get the number of cmdResponseOut output ports
Definition at line 414 of file BufferLoggerComponentAc.hpp.
|
inlinestaticprotected |
Get the number of comIn input ports
Definition at line 380 of file BufferLoggerComponentAc.hpp.
|
inlinestaticprotected |
Get the number of eventOut output ports
Definition at line 421 of file BufferLoggerComponentAc.hpp.
|
inlinestaticprotected |
Get the number of pingIn input ports
Definition at line 387 of file BufferLoggerComponentAc.hpp.
|
inlinestaticprotected |
Get the number of pingOut output ports
Definition at line 466 of file BufferLoggerComponentAc.hpp.
|
inlinestaticprotected |
Get the number of schedIn input ports
Definition at line 394 of file BufferLoggerComponentAc.hpp.
|
inlinestaticprotected |
Get the number of timeCaller output ports
Definition at line 439 of file BufferLoggerComponentAc.hpp.
|
inlinestaticprotected |
Get the number of tlmOut output ports
Definition at line 446 of file BufferLoggerComponentAc.hpp.
|
protected |
| void Svc::BufferLoggerComponentBase::init | ( | FwSizeType | queueDepth, |
| FwEnumStoreType | instance = 0 |
||
| ) |
Initialize BufferLoggerComponentBase object.
| queueDepth | The queue depth |
| instance | The instance number |
Definition at line 72 of file BufferLoggerComponentAc.cpp.
|
protected |
Check whether port bufferSendOut is connected
| portNum | The port number |
Definition at line 856 of file BufferLoggerComponentAc.cpp.
|
protected |
Check whether port cmdRegOut is connected
| portNum | The port number |
Definition at line 778 of file BufferLoggerComponentAc.cpp.
|
protected |
Check whether port cmdResponseOut is connected
| portNum | The port number |
Definition at line 789 of file BufferLoggerComponentAc.cpp.
|
protected |
Check whether port eventOut is connected
| portNum | The port number |
Definition at line 800 of file BufferLoggerComponentAc.cpp.
|
protected |
Check whether port pingOut is connected
| portNum | The port number |
Definition at line 867 of file BufferLoggerComponentAc.cpp.
|
protected |
Check whether port timeCaller is connected
| portNum | The port number |
Definition at line 826 of file BufferLoggerComponentAc.cpp.
|
protected |
Check whether port tlmOut is connected
| portNum | The port number |
Definition at line 837 of file BufferLoggerComponentAc.cpp.
|
protected |
Log event BL_Activated
Buffer logger was activated
Definition at line 1970 of file BufferLoggerComponentAc.cpp.
|
protected |
Log event BL_Deactivated
Buffer logger was deactivated
Definition at line 2035 of file BufferLoggerComponentAc.cpp.
|
protected |
Log event BL_LogFileClosed
The Buffer Logger closed a log file
| file | The file |
Definition at line 1574 of file BufferLoggerComponentAc.cpp.
|
protected |
Log event BL_LogFileNameError
The Buffer Logger encountered an error formatting a log file name
| status | The status returned from the format operation |
Definition at line 2165 of file BufferLoggerComponentAc.cpp.
|
protected |
Log event BL_LogFileOpenError
The Buffer Logger encountered an error opening a log file
| errornum | The error number returned from the open operation |
| file | The file |
Definition at line 1649 of file BufferLoggerComponentAc.cpp.
|
protected |
Log event BL_LogFileValidationError
The Buffer Logger encountered an error writing a validation file
| validationFile | The validation file |
| status | The Os::Validate::Status return |
Definition at line 1744 of file BufferLoggerComponentAc.cpp.
|
protected |
Log event BL_LogFileWriteError
The Buffer Logger encountered an error writing to a log file
| errornum | The error number returned from the write operation |
| bytesWritten | The number of bytes successfully written |
| bytesToWrite | The number of bytes attempted |
| file | The file |
Definition at line 1839 of file BufferLoggerComponentAc.cpp.
|
protected |
Log event BL_NoLogFileOpenInitError
No log file open command was received by BufferLogger
Definition at line 2100 of file BufferLoggerComponentAc.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 1062 of file BufferLoggerComponentAc.cpp.
|
protectedvirtual |
Pre-message hook for async input port pingIn.
| portNum | The port number |
| key | Value to return to pinger |
Definition at line 1195 of file BufferLoggerComponentAc.cpp.
|
protected |
Invoke output port pingOut.
| portNum | The port number |
| key | Value to return to pinger |
Definition at line 1239 of file BufferLoggerComponentAc.cpp.
| void Svc::BufferLoggerComponentBase::regCommands | ( | ) |
Register commands with the Command Dispatcher.
Connect the dispatcher first
Definition at line 729 of file BufferLoggerComponentAc.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 1115 of file BufferLoggerComponentAc.cpp.
|
protectedvirtual |
Pre-message hook for async input port schedIn.
| portNum | The port number |
| context | The call order |
Definition at line 1204 of file BufferLoggerComponentAc.cpp.
| void Svc::BufferLoggerComponentBase::set_bufferSendOut_OutputPort | ( | FwIndexType | portNum, |
| Fw::InputBufferSendPort * | port | ||
| ) |
Connect port to bufferSendOut[portNum].
| portNum | The port number |
| port | The input port |
Definition at line 563 of file BufferLoggerComponentAc.cpp.
| void Svc::BufferLoggerComponentBase::set_cmdRegOut_OutputPort | ( | FwIndexType | portNum, |
| Fw::InputCmdRegPort * | port | ||
| ) |
Connect port to cmdRegOut[portNum].
| portNum | The port number |
| port | The input port |
Definition at line 467 of file BufferLoggerComponentAc.cpp.
| void Svc::BufferLoggerComponentBase::set_cmdResponseOut_OutputPort | ( | FwIndexType | portNum, |
| Fw::InputCmdResponsePort * | port | ||
| ) |
Connect port to cmdResponseOut[portNum].
| portNum | The port number |
| port | The input port |
Definition at line 481 of file BufferLoggerComponentAc.cpp.
| void Svc::BufferLoggerComponentBase::set_eventOut_OutputPort | ( | FwIndexType | portNum, |
| Fw::InputLogPort * | port | ||
| ) |
Connect port to eventOut[portNum].
| portNum | The port number |
| port | The input port |
Definition at line 495 of file BufferLoggerComponentAc.cpp.
| void Svc::BufferLoggerComponentBase::set_pingOut_OutputPort | ( | FwIndexType | portNum, |
| Svc::InputPingPort * | port | ||
| ) |
Connect port to pingOut[portNum].
| portNum | The port number |
| port | The input port |
Definition at line 577 of file BufferLoggerComponentAc.cpp.
| void Svc::BufferLoggerComponentBase::set_timeCaller_OutputPort | ( | FwIndexType | portNum, |
| Fw::InputTimePort * | port | ||
| ) |
Connect port to timeCaller[portNum].
| portNum | The port number |
| port | The input port |
Definition at line 527 of file BufferLoggerComponentAc.cpp.
| void Svc::BufferLoggerComponentBase::set_tlmOut_OutputPort | ( | FwIndexType | portNum, |
| Fw::InputTlmPort * | port | ||
| ) |
Connect port to tlmOut[portNum].
| portNum | The port number |
| port | The input port |
Definition at line 541 of file BufferLoggerComponentAc.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 2254 of file BufferLoggerComponentAc.cpp.
|
protected |
Write telemetry channel BufferLogger_NumLoggedBuffers
The number of buffers logged
| arg | The telemetry value |
| _tlmTime | Timestamp. Default: unspecified, request from getTime port |
Definition at line 2285 of file BufferLoggerComponentAc.cpp.
|
friend |
Friend class tester implementation to support white-box testing.
Definition at line 53 of file BufferLoggerComponentAc.hpp.
|
friend |
Friend class tester to support autocoded test harness.
Definition at line 51 of file BufferLoggerComponentAc.hpp.