wavelength 1.0.0
Loading...
Searching...
No Matches
ForceFeedbackMgr::MotorEffect::OffCmd Class Reference

Command that ends a MotorEffect once its duration has passed. More...

#include <forcefeedbackmgrmotoreffectoffcmd.h>

Inheritance diagram for ForceFeedbackMgr::MotorEffect::OffCmd:
Collaboration diagram for ForceFeedbackMgr::MotorEffect::OffCmd:

Public Member Functions

 ~OffCmd () override=default
 Destroy the object.
 OffCmd (MotorEffect *pEffect)
 Construct the command of an effect.
void Execute () override
 Mark the effect as not running and stop the controller's motors.
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 ends a MotorEffect once its duration has passed.

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

Constructor & Destructor Documentation

◆ ~OffCmd()

ForceFeedbackMgr::MotorEffect::OffCmd::~OffCmd ( )
overridedefault

Destroy the object.

Ghidra address:
NTSC-U/C: 0x00335f90
Ghidra address:
PAL: 0x003a3540

◆ OffCmd()

ForceFeedbackMgr::MotorEffect::OffCmd::OffCmd ( MotorEffect * pEffect)
inlineexplicit

Construct the command of an effect.

Parameters
pEffectThe effect.
Ghidra address:
NTSC-U/C: 0x00335d20
Ghidra address:
PAL: 0x003a32d0

Member Function Documentation

◆ Execute()

void ForceFeedbackMgr::MotorEffect::OffCmd::Execute ( )
inlineoverridevirtual

Mark the effect as not running and stop the controller's motors.

Ghidra address:
NTSC-U/C: 0x00336040
Ghidra address:
PAL: 0x003a35f0

Implements Command.


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