resonance 1.0.1
Loading...
Searching...
No Matches
Sch::Recorder Class Reference

Recording of every command the scheduler queues, installed by Sch::Scheduler::BeginRecording(). More...

#include <recorder.h>

Public Member Functions

 Recorder (OBStream *pStream)
void Record (Sch::TimedCommand *pCommand)
 Write one queued wrapper to the recording.

Detailed Description

Recording of every command the scheduler queues, installed by Sch::Scheduler::BeginRecording().

The class is not polymorphic and emits no RTTI. Its name comes from the debugging symbols of the North American demo release. The demo's constructor has the same instructions as this class's constructor, and the demo's Record() differs from this class's Record() only by a logging block before the same save and stream call. The object is four bytes, the one stream pointer, and is allocated with the untagged allocator.

Constructor & Destructor Documentation

◆ Recorder()

Sch::Recorder::Recorder ( OBStream * pStream)
explicit
Parameters
pStreamThe stream the recording is written to.
Ghidra address:
NTSC-U/C: 0x00596290
Ghidra address:
PAL: 0x005d9698

Member Function Documentation

◆ Record()

void Sch::Recorder::Record ( Sch::TimedCommand * pCommand)

Write one queued wrapper to the recording.

The wrapper is saved and the stream's slot 2 is dispatched after it. Sch::Scheduler's delta queueing path is the caller, for a recordable command while recording. The title is inferred.

Parameters
pCommandThe wrapper.
Ghidra address:
NTSC-U/C: 0x005962a0
Ghidra address:
PAL: 0x005d96a8

The documentation for this class was generated from the following file: