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