Class AIAC::LayerLogRecorder¶
ClassList > AIAC > LayerLogRecorder
Inherits the following classes: AIAC::Layer
Public Functions¶
Type | Name |
---|---|
bool | IsPaused () const the recoder is paused |
bool | IsRecording () const the recorder is on |
LayerLogRecorder () = default | |
virtual void | OnAttach () override Is called when the layer is attached to the application. |
virtual void | OnFrameStart () override Is called when frame starts. |
void | PauseRecording () Pause recording. |
void | ResumeRecording () Pause recording. |
void | StartRecording (std::string logRootFolderPath="") Start recording the log to a file. |
void | StopRecording () Stop recording the log to a file. |
virtual | ~LayerLogRecorder () = default |
Public Functions inherited from AIAC::Layer¶
See AIAC::Layer
Type | Name |
---|---|
virtual void | OnAttach () Is called when the layer is attached to the application. |
virtual void | OnDetach () Is called when the layer is detached from the application (~app). |
virtual void | OnFrameAwake () Is calle before GLFW poll events, GL frame and Imgui Frame. |
virtual void | OnFrameEnd () Is called when frame ends. |
virtual void | OnFrameFall () Is called when the GLFW, GL and Imgui frame is updated and rendered. |
virtual void | OnFrameStart () Is called when frame starts. |
virtual | ~Layer () = default |
Public Functions Documentation¶
function IsPaused¶
the recoder is paused
function IsRecording¶
the recorder is on
Returns:
true if it's recording, false otherwise
function LayerLogRecorder¶
function OnAttach¶
Is called when the layer is attached to the application.
Implements AIAC::Layer::OnAttach
function OnFrameStart¶
Is called when frame starts.
Implements AIAC::Layer::OnFrameStart
function PauseRecording¶
Pause recording.
function ResumeRecording¶
Pause recording.
function StartRecording¶
Start recording the log to a file.
Parameters:
logRootFolderPath
The filename of the log file
function StopRecording¶
Stop recording the log to a file.
function ~LayerLogRecorder¶
The documentation for this class was generated from the following file src/AIAC/LayerLogRecorder.h