15 static_assert(std::numeric_limits<FwSizeType>::max() >=
TELEM_ID_FILTER_SIZE,
"TELEM_ID_FILTER_SIZE must fit within range of FwSizeType");
36 memset(m_filteredIDs,0,
sizeof(m_filteredIDs));
82 FW_ASSERT(0,static_cast<FwAssertArgType>(severity.
e));
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(
179 FilterSeverity filterState(static_cast<FilterSeverity::t>(filter));
188 if (this->m_filteredIDs[entry] != 0) {
196 void ActiveLoggerImpl::pingIn_handler(
Serialization/Deserialization operation was successful.
ActiveLogger_Enabled Enabled
FwIdType FwOpcodeType
The type of a command opcode.
The number of enumerated constants.
PlatformSizeType FwSizeType
void resetSer()
reset to beginning of buffer to reuse for serialization
Filter DIAGNOSTIC events.
void setTimeTag(const Fw::Time &timeTag)
void FatalAnnounce_out(FwIndexType portNum, FwEventIdType Id)
Invoke output port FatalAnnounce.
void cmdResponse_out(FwOpcodeType opCode, U32 cmdSeq, Fw::CmdResponse response)
Emit command response.
void loqQueue_internalInterfaceInvoke(FwEventIdType id, const Fw::Time &timeTag, const Fw::LogSeverity &severity, const Fw::LogBuffer &args)
Internal interface base-class function for loqQueue.
Auto-generated base for ActiveLogger component.
virtual ~ActiveLoggerImpl()
destructor
void setId(FwEventIdType id)
Filter WARNING_HI events.
Filter ACTIVITY_LO events.
Size of telemetry ID filter.
void PktSend_out(FwIndexType portNum, Fw::ComBuffer &data, U32 context)
Invoke output port PktSend.
void pingOut_out(FwIndexType portNum, U32 key)
Invoke output port pingOut.
Software diagnostic events.
SerializeStatus
forward declaration for string
FwIdType FwEventIdType
The type of an event identifier.
WARNING LO events are filtered at input.
Less important informational events.
An activity related to commanding.
A less serious but recoverable event.
void log_ACTIVITY_HI_ID_FILTER_REMOVED(FwEventIdType ID) const
ACTIVITY LO events are filtered at input.
DIAGNOSTIC events are filtered at input.
void log_ACTIVITY_LO_SEVERITY_FILTER_STATE(Svc::ActiveLogger_FilterSeverity severity, bool enabled) const
A serious but recoverable event.
ACTIVITY HI events are filtered at input.
Filter ACTIVITY_HI events.
Enum representing event severity.
Command successfully executed.
ActiveLoggerImpl(const char *compName)
constructor
void setLogBuffer(const LogBuffer &buffer)
void log_WARNING_LO_ID_FILTER_NOT_FOUND(FwEventIdType ID) const
Command had execution error.
Important informational events.
PlatformIndexType FwIndexType
A fatal non-recoverable event.
Filter WARNING_LO events.
void log_WARNING_LO_ID_FILTER_LIST_FULL(FwEventIdType ID) const
RateGroupDivider component implementation.
void log_ACTIVITY_HI_ID_FILTER_ENABLED(FwEventIdType ID) const
SerializeStatus serialize(SerializeBufferBase &buffer) const
serialize contents
Enabled and disabled state.
WARNING HI events are filtered at input.
COMMAND events are filtered at input.
bool isConnected_FatalAnnounce_OutputPort(FwIndexType portNum)
bool isConnected_PktSend_OutputPort(FwIndexType portNum)
ActiveLogger_FilterSeverity FilterSeverity