wavelength 1.0.0
Loading...
Searching...
No Matches
EnableDisableSoftFxQJ Class Reference

Job that turns the software effects on or off. More...

#include <enabledisablesoftfxqj.h>

Inheritance diagram for EnableDisableSoftFxQJ:
Collaboration diagram for EnableDisableSoftFxQJ:

Public Member Functions

 EnableDisableSoftFxQJ (int nEnable)
 Construct a job.
 ~EnableDisableSoftFxQJ () override
int GetEnable () const
int GetWaitPolls () const
void SetWaitPolls (int nWaitPolls)
 Set the polls still to wait once the request is sent.
Public Member Functions inherited from QueuedJob
 QueuedJob (int nType)
 Construct a job that has not started.
virtual ~QueuedJob ()
int GetType () const
int GetStarted () const
void SetStarted (int nStarted)
 Record that the job has sent its request.

Static Public Attributes

static constexpr int kSettlePolls = 30
 The polls the job waits after sending the request.

Additional Inherited Members

Public Types inherited from QueuedJob
enum  Type {
  kTypePartition = 0 , kTypeDeactivateBank = 1 , kTypeBankLoad = 2 , kTypeEnableDisableSoftFx = 3 ,
  kTypeSetupCoreFx = 4 , kTypeCallback = 5
}
 The kinds of job, the values of mType. More...

Detailed Description

Job that turns the software effects on or off.

The RTTI includes the class name and records QueuedJob as the base. After sending the request, the job waits a number of polls before it finishes.

Constructor & Destructor Documentation

◆ EnableDisableSoftFxQJ()

EnableDisableSoftFxQJ::EnableDisableSoftFxQJ ( int nEnable)
inlineexplicit

Construct a job.

Parameters
nEnable1 to turn the software effects on, 0 to turn them off.

◆ ~EnableDisableSoftFxQJ()

EnableDisableSoftFxQJ::~EnableDisableSoftFxQJ ( )
inlineoverride
Ghidra address:
NTSC-U/C: 0x00396d70
Ghidra address:
PAL: 0x00405458

Member Function Documentation

◆ GetEnable()

int EnableDisableSoftFxQJ::GetEnable ( ) const
inline
Returns
1 to turn the software effects on, 0 to turn them off.

◆ GetWaitPolls()

int EnableDisableSoftFxQJ::GetWaitPolls ( ) const
inline
Returns
The polls still to wait once the request is sent.

◆ SetWaitPolls()

void EnableDisableSoftFxQJ::SetWaitPolls ( int nWaitPolls)
inline

Set the polls still to wait once the request is sent.

Parameters
nWaitPollsThe polls still to wait.

Member Data Documentation

◆ kSettlePolls

int EnableDisableSoftFxQJ::kSettlePolls = 30
staticconstexpr

The polls the job waits after sending the request.


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