36 memset(m_filteredIDs,0,
sizeof(m_filteredIDs));
89 (m_filteredIDs[entry] ==
id) &&
110 this->m_logPacket.
setId(
id);
123 this->m_filterState[filterLevel.e].enabled = filterEnable;
127 void ActiveLoggerImpl::SET_ID_FILTER_cmdHandler(
137 if (this->m_filteredIDs[entry] == ID) {
145 if (this->m_filteredIDs[entry] == 0) {
146 this->m_filteredIDs[entry] = ID;
158 if (this->m_filteredIDs[entry] == ID) {
159 this->m_filteredIDs[entry] = 0;
172 void ActiveLoggerImpl::DUMP_FILTER_STATE_cmdHandler(
188 if (this->m_filteredIDs[entry] != 0) {
196 void ActiveLoggerImpl::pingIn_handler(
@ FILTER_WARNING_HI_DEFAULT
WARNING HI events are filtered at input.
@ FILTER_WARNING_LO_DEFAULT
WARNING LO events are filtered at input.
@ FILTER_ACTIVITY_HI_DEFAULT
ACTIVITY HI events are filtered at input.
@ FILTER_ACTIVITY_LO_DEFAULT
ACTIVITY LO events are filtered at input.
@ FILTER_COMMAND_DEFAULT
COMMAND events are filtered at input.
@ FILTER_DIAGNOSTIC_DEFAULT
DIAGNOSTIC events are filtered at input.
@ TELEM_ID_FILTER_SIZE
Size of telemetry ID filter.
PlatformIntType NATIVE_INT_TYPE
PlatformUIntType NATIVE_UINT_TYPE
@ EXECUTION_ERROR
Command had execution error.
@ OK
Command successfully executed.
SerializeStatus serialize(SerializeBufferBase &buffer) const
serialize contents
void setId(FwEventIdType id)
void setTimeTag(const Fw::Time &timeTag)
void setLogBuffer(const LogBuffer &buffer)
Enum representing event severity.
@ WARNING_HI
A serious but recoverable event.
@ ACTIVITY_HI
Important informational events.
@ FATAL
A fatal non-recoverable event.
@ WARNING_LO
A less serious but recoverable event.
@ DIAGNOSTIC
Software diagnostic events.
@ ACTIVITY_LO
Less important informational events.
@ COMMAND
An activity related to commanding.
void resetSer()
reset to beginning of buffer to reuse for serialization
Enabled and disabled state.
@ DISABLED
Disabled state.
T t
For backwards compatibility.
@ NUM_CONSTANTS
The number of enumerated constants.
@ WARNING_HI
Filter WARNING_HI events.
@ WARNING_LO
Filter WARNING_LO events.
@ ACTIVITY_HI
Filter ACTIVITY_HI events.
@ COMMAND
Filter COMMAND events.
@ DIAGNOSTIC
Filter DIAGNOSTIC events.
@ ACTIVITY_LO
Filter ACTIVITY_LO events.
Auto-generated base for ActiveLogger component.
void FatalAnnounce_out(FwIndexType portNum, FwEventIdType Id)
Invoke output port FatalAnnounce.
bool isConnected_FatalAnnounce_OutputPort(FwIndexType portNum)
void log_WARNING_LO_ID_FILTER_NOT_FOUND(U32 ID)
void log_ACTIVITY_HI_ID_FILTER_ENABLED(U32 ID)
void cmdResponse_out(FwOpcodeType opCode, U32 cmdSeq, Fw::CmdResponse response)
Emit command response.
void log_ACTIVITY_HI_ID_FILTER_REMOVED(U32 ID)
void log_ACTIVITY_LO_SEVERITY_FILTER_STATE(Svc::ActiveLogger_FilterSeverity severity, bool enabled)
void pingOut_out(FwIndexType portNum, U32 key)
Invoke output port pingOut.
void PktSend_out(FwIndexType portNum, Fw::ComBuffer &data, U32 context)
Invoke output port PktSend.
bool isConnected_PktSend_OutputPort(FwIndexType portNum)
void loqQueue_internalInterfaceInvoke(FwEventIdType id, const Fw::Time &timeTag, const Fw::LogSeverity &severity, const Fw::LogBuffer &args)
Internal interface base-class function for loqQueue.
void log_WARNING_LO_ID_FILTER_LIST_FULL(U32 ID)
ActiveLoggerImpl(const char *compName)
constructor
virtual ~ActiveLoggerImpl()
destructor
SerializeStatus
forward declaration for string
@ FW_SERIALIZE_OK
Serialization/Deserialization operation was successful.
ActiveLogger_Enabled Enabled
ActiveLogger_FilterSeverity FilterSeverity