Navigation
Unreal Engine C++ API Reference > Developer > TraceAnalysis > Trace > IAnalyzer
- IAnalyzer::OnEvent()
References
Module | TraceAnalysis |
Header | /Engine/Source/Developer/TraceAnalysis/Public/Trace/Analyzer.h |
Include | #include "Trace/Analyzer.h" |
virtual bool OnEvent ( uint16 RouteId, [EStyle](API\Developer\TraceAnalysis\Trace\IAnalyzer\EStyle) Style, const [FOnEventContext](API\Developer\TraceAnalysis\Trace\IAnalyzer\FOnEventContext) & Context )
Remarks
For each event subscribed to in OnAnalysisBegin(), the analysis engine will call this method when those events are encountered in a trace log This analyzer is removed from the analysis session if false is returned.
Parameters
Name | Description |
---|---|
RouteId | User-provided identifier given when subscribing to a particular event. |
Style | Indicates the style of event. Note that EventData is undefined if the style is LeaveScope! |
Context | Access to the instance of the subscribed event. |