OpenEnroth 73e68f7
|
#include <EngineTraceSimpleRecorder.h>
Public Member Functions | |
EngineTraceSimpleRecorder () | |
virtual | ~EngineTraceSimpleRecorder () |
void | startRecording () |
std::vector< std::unique_ptr< PlatformEvent > > | finishRecording () |
bool | isRecording () const |
Private Attributes | |
bool | _recording = false |
std::vector< std::unique_ptr< PlatformEvent > > | _events |
Friends | |
class | PlatformIntrospection |
Component that can be used to record events.
Note that this component is intentionally very dumb. Calling startRecording
starts recording events right away, and calling finishRecording
just returns everything that was recorded.
EngineTraceSimpleRecorder::EngineTraceSimpleRecorder | ( | ) |
|
virtualdefault |
|
overrideprivatevirtual |
Reimplemented from PlatformEventFilter.
std::vector< std::unique_ptr< PlatformEvent > > EngineTraceSimpleRecorder::finishRecording | ( | ) |
|
inline |
void EngineTraceSimpleRecorder::startRecording | ( | ) |
Starts trace recording.
|
overrideprivatevirtual |
Reimplemented from ProxyOpenGLContext.
|
friend |
|
private |
|
private |