|
resonance 1.0.1
|
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. | |
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.
|
explicit |
| pStream | The stream the recording is written to. |
| 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.
| pCommand | The wrapper. |