wavelength 1.0.0
Loading...
Searching...
No Matches
ForceFeedbackMgr::BeatCmd Class Reference

Command that runs the beat pulse once a period. More...

#include <forcefeedbackmgrbeatcmd.h>

Inheritance diagram for ForceFeedbackMgr::BeatCmd:
Collaboration diagram for ForceFeedbackMgr::BeatCmd:

Public Member Functions

 ~BeatCmd () override=default
 Destroy the object.
 BeatCmd ()
 Construct the command with no period.
void Execute () override
 Start the beat pulse of every enabled controller that plays no effect, and run again a period later.
void SetPeriod (int nPeriod)
 Set the ticks between two pulses.
Public Member Functions inherited from Command
 ~Command () override
 Release the command.
virtual bool IsSerializable ()
 Report whether a recording saves the command.
virtual int GetSerialId ()
 Report the identifier a recording rebuilds the command by.
virtual void Save (BinStream &stream) const
 Write the command to a recording.
virtual void Load (BinStream &stream)
 Read the command Save() writes.
Public Member Functions inherited from Attachment
 Attachment ()
 Construct an object with no reference.
virtual ~Attachment ()
 Release the object.
void AddRef ()
 Take one reference.
void Release ()
 Give back one reference and delete the object once the last one is gone.

Additional Inherited Members

Static Public Member Functions inherited from Attachment
static void ReleaseIfSet (Attachment *pAttachment)
 Give back one reference to an object that may be null.

Detailed Description

Command that runs the beat pulse once a period.

The RTTI records the name and Command as the base. Every member is inline.

Constructor & Destructor Documentation

◆ ~BeatCmd()

ForceFeedbackMgr::BeatCmd::~BeatCmd ( )
overridedefault

Destroy the object.

Ghidra address:
NTSC-U/C: 0x00335d90
Ghidra address:
PAL: 0x003a3340

◆ BeatCmd()

ForceFeedbackMgr::BeatCmd::BeatCmd ( )
inline

Construct the command with no period.

Member Function Documentation

◆ Execute()

void ForceFeedbackMgr::BeatCmd::Execute ( )
inlineoverridevirtual

Start the beat pulse of every enabled controller that plays no effect, and run again a period later.

Ghidra address:
NTSC-U/C: 0x00335e08
Ghidra address:
PAL: 0x003a33b8

Implements Command.

◆ SetPeriod()

void ForceFeedbackMgr::BeatCmd::SetPeriod ( int nPeriod)
inline

Set the ticks between two pulses.

Parameters
nPeriodThe period.

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