wavelength 1.0.0
Loading...
Searching...
No Matches
Scheduler::Playbacker Class Reference

Reader of a recording that queues its runs on a scheduler. More...

#include <scheduler.h>

Public Member Functions

 Playbacker (const char *pszFile, Scheduler *pScheduler)
 Open a recording in a file.
 Playbacker (char *pBuffer, int nSize, Scheduler *pScheduler)
 Open a recording in a buffer.
 ~Playbacker ()
 Release the stream.
void QueueAll ()
 Queue every run of the recording.

Detailed Description

Reader of a recording that queues its runs on a scheduler.

The class is not polymorphic and has no RTTI. The name is inferred.

Constructor & Destructor Documentation

◆ Playbacker() [1/2]

Scheduler::Playbacker::Playbacker ( const char * pszFile,
Scheduler * pScheduler )

Open a recording in a file.

Parameters
pszFileThe file.
pSchedulerThe scheduler the runs are queued on.
Ghidra address:
NTSC-U/C: 0x00281ec8
Ghidra address:
PAL: 0x0028b780

◆ Playbacker() [2/2]

Scheduler::Playbacker::Playbacker ( char * pBuffer,
int nSize,
Scheduler * pScheduler )

Open a recording in a buffer.

Parameters
pBufferThe recording. The caller retains it.
nSizeThe size of the recording in bytes.
pSchedulerThe scheduler the runs are queued on.
Ghidra address:
NTSC-U/C: 0x00281f30
Ghidra address:
PAL: 0x0028b7e8

◆ ~Playbacker()

Scheduler::Playbacker::~Playbacker ( )

Release the stream.

Ghidra address:
NTSC-U/C: 0x00281fa0
Ghidra address:
PAL: 0x0028b858

Member Function Documentation

◆ QueueAll()

void Scheduler::Playbacker::QueueAll ( )

Queue every run of the recording.

The name is inferred.

Ghidra address:
NTSC-U/C: 0x00282000
Ghidra address:
PAL: 0x0028b8b8

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