wavelength 1.0.0
Loading...
Searching...
No Matches
MemFunCommand< Function, Object > Class Template Reference

Command that calls a member function of an object. More...

#include <memfuncommand.h>

Inheritance diagram for MemFunCommand< Function, Object >:
Collaboration diagram for MemFunCommand< Function, Object >:

Public Member Functions

 MemFunCommand (Object *pObject, Function pfnMember)
 Construct a command that calls a member function.
 ~MemFunCommand () override=default
 Release the command.
void Execute () override
 Call the member function.
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

template<typename Function, typename Object>
class MemFunCommand< Function, Object >

Command that calls a member function of an object.

The RTTI records each instantiation under its template arguments, the member function type and the object class, and records Command as the base. Each instantiation has its own out-of-line copies of the members, and each address listed is one instantiation's.

Template Parameters
FunctionThe member function type.
ObjectThe class of the object.

Constructor & Destructor Documentation

◆ MemFunCommand()

template<typename Function, typename Object>
MemFunCommand< Function, Object >::MemFunCommand ( Object * pObject,
Function pfnMember )
inline

Construct a command that calls a member function.

Parameters
pObjectThe object.
pfnMemberThe member function.

◆ ~MemFunCommand()

template<typename Function, typename Object>
MemFunCommand< Function, Object >::~MemFunCommand ( )
overridedefault

Release the command.

Ghidra address:
NTSC-U/C: 0x00334b38
Ghidra address:
PAL: 0x003a20e8
Ghidra address:
NTSC-U/C: 0x00334bb0
Ghidra address:
PAL: 0x003a2160
Ghidra address:
NTSC-U/C: 0x00334c28
Ghidra address:
PAL: 0x003a21d8
Ghidra address:
NTSC-U/C: 0x003354d8
Ghidra address:
PAL: 0x003a2a88
Ghidra address:
NTSC-U/C: 0x00335550
Ghidra address:
PAL: 0x003a2b00
Ghidra address:
NTSC-U/C: 0x00337ea8
Ghidra address:
PAL: 0x003a5458
Ghidra address:
NTSC-U/C: 0x00338088
Ghidra address:
PAL: 0x003a5638
Ghidra address:
NTSC-U/C: 0x00338698
Ghidra address:
PAL: 0x003a5c48
Ghidra address:
NTSC-U/C: 0x0033ad50
Ghidra address:
PAL: 0x003a8288
Ghidra address:
NTSC-U/C: 0x0033b208
Ghidra address:
PAL: 0x003a8740
Ghidra address:
NTSC-U/C: 0x0033c1b0
Ghidra address:
PAL: 0x003a96e8
Ghidra address:
NTSC-U/C: 0x0033c2a0
Ghidra address:
PAL: 0x003a97d8
Ghidra address:
NTSC-U/C: 0x0033c7c0
Ghidra address:
PAL: 0x003a9cf8
Ghidra address:
NTSC-U/C: 0x0033cf08
Ghidra address:
PAL: 0x003aa440
Ghidra address:
NTSC-U/C: 0x0033da88
Ghidra address:
PAL: 0x003aafc0
Ghidra address:
NTSC-U/C: 0x0033dbd8
Ghidra address:
PAL: 0x003ab110
Ghidra address:
NTSC-U/C: 0x0033f248
Ghidra address:
PAL: 0x003ac780
Ghidra address:
NTSC-U/C: 0x0033f3b0
Ghidra address:
PAL: 0x003ac8e8
Ghidra address:
NTSC-U/C: 0x0033fec8
Ghidra address:
PAL: 0x003ad400
Ghidra address:
NTSC-U/C: 0x00340fc8
Ghidra address:
PAL: 0x003ae500
Ghidra address:
PAL: 0x003ae5f0
Ghidra address:
NTSC-U/C: 0x003411a8
Ghidra address:
PAL: 0x003ae6e0
Ghidra address:
NTSC-U/C: 0x00344530
Ghidra address:
PAL: 0x003b1a68
Ghidra address:
NTSC-U/C: 0x00344688
Ghidra address:
PAL: 0x003b1bc0
Ghidra address:
NTSC-U/C: 0x00345c98
Ghidra address:
PAL: 0x003b31d0
Ghidra address:
NTSC-U/C: 0x00347e00
Ghidra address:
PAL: 0x003b5230
Ghidra address:
NTSC-U/C: 0x00349958
Ghidra address:
PAL: 0x003b6d88
Ghidra address:
NTSC-U/C: 0x0034ab88
Ghidra address:
PAL: 0x003b7fb8
Ghidra address:
NTSC-U/C: 0x0034b758
Ghidra address:
PAL: 0x003b8b88
Ghidra address:
NTSC-U/C: 0x0034c0b0
Ghidra address:
PAL: 0x003b94e0
Ghidra address:
NTSC-U/C: 0x0034c7c0
Ghidra address:
PAL: 0x003b9bf0
Ghidra address:
NTSC-U/C: 0x0034ca80
Ghidra address:
PAL: 0x003b9eb0
Ghidra address:
NTSC-U/C: 0x0034cce8
Ghidra address:
PAL: 0x003ba118
Ghidra address:
NTSC-U/C: 0x0034d208
Ghidra address:
PAL: 0x003ba638
Ghidra address:
NTSC-U/C: 0x00355e20
Ghidra address:
PAL: 0x003c30d0
Ghidra address:
NTSC-U/C: 0x00356098
Ghidra address:
PAL: 0x003c3348
Ghidra address:
NTSC-U/C: 0x003a66c8
Ghidra address:
PAL: 0x004153a8

Member Function Documentation

◆ Execute()

template<typename Function, typename Object>
void MemFunCommand< Function, Object >::Execute ( )
inlineoverridevirtual

Call the member function.

Ghidra address:
NTSC-U/C: 0x0033ff40
Ghidra address:
PAL: 0x003ad478
Ghidra address:
NTSC-U/C: 0x00334ca0
Ghidra address:
PAL: 0x003a2250
Ghidra address:
NTSC-U/C: 0x00334d20
Ghidra address:
PAL: 0x003a22d0
Ghidra address:
NTSC-U/C: 0x00334da0
Ghidra address:
PAL: 0x003a2350
Ghidra address:
NTSC-U/C: 0x003355c8
Ghidra address:
PAL: 0x003a2b78
Ghidra address:
NTSC-U/C: 0x00335648
Ghidra address:
PAL: 0x003a2bf8
Ghidra address:
NTSC-U/C: 0x00338100
Ghidra address:
PAL: 0x003a56b0
Ghidra address:
NTSC-U/C: 0x00338300
Ghidra address:
PAL: 0x003a58b0
Ghidra address:
NTSC-U/C: 0x00338710
Ghidra address:
PAL: 0x003a5cc0
Ghidra address:
NTSC-U/C: 0x0033adc8
Ghidra address:
PAL: 0x003a8300
Ghidra address:
NTSC-U/C: 0x0033b280
Ghidra address:
PAL: 0x003a87b8
Ghidra address:
NTSC-U/C: 0x0033c318
Ghidra address:
PAL: 0x003a9850
Ghidra address:
NTSC-U/C: 0x0033c428
Ghidra address:
PAL: 0x003a9960
Ghidra address:
NTSC-U/C: 0x0033c8e8
Ghidra address:
PAL: 0x003a9e20
Ghidra address:
NTSC-U/C: 0x0033cf80
Ghidra address:
PAL: 0x003aa4b8
Ghidra address:
NTSC-U/C: 0x0033db00
Ghidra address:
PAL: 0x003ab038
Ghidra address:
NTSC-U/C: 0x0033dc50
Ghidra address:
PAL: 0x003ab188
Ghidra address:
NTSC-U/C: 0x0033f918
Ghidra address:
PAL: 0x003ace50
Ghidra address:
NTSC-U/C: 0x0033faa0
Ghidra address:
PAL: 0x003acfd8
Ghidra address:
NTSC-U/C: 0x00341328
Ghidra address:
PAL: 0x003ae860
Ghidra address:
NTSC-U/C: 0x00341530
Ghidra address:
PAL: 0x003aea68
Ghidra address:
NTSC-U/C: 0x003445a8
Ghidra address:
PAL: 0x003b1ae0
Ghidra address:
NTSC-U/C: 0x00344700
Ghidra address:
PAL: 0x003b1c38
Ghidra address:
NTSC-U/C: 0x00345d10
Ghidra address:
PAL: 0x003b3248
Ghidra address:
NTSC-U/C: 0x00347e78
Ghidra address:
PAL: 0x003b52a8
Ghidra address:
NTSC-U/C: 0x003499d0
Ghidra address:
PAL: 0x003b6e00
Ghidra address:
NTSC-U/C: 0x0034ac00
Ghidra address:
PAL: 0x003b8030
Ghidra address:
NTSC-U/C: 0x0034b7d0
Ghidra address:
PAL: 0x003b8c00
Ghidra address:
NTSC-U/C: 0x0034c128
Ghidra address:
PAL: 0x003b9558
Ghidra address:
NTSC-U/C: 0x0034c838
Ghidra address:
PAL: 0x003b9c68
Ghidra address:
NTSC-U/C: 0x0034caf8
Ghidra address:
PAL: 0x003b9f28
Ghidra address:
NTSC-U/C: 0x0034cd60
Ghidra address:
PAL: 0x003ba190
Ghidra address:
NTSC-U/C: 0x0034d280
Ghidra address:
PAL: 0x003ba6b0
Ghidra address:
NTSC-U/C: 0x00355e98
Ghidra address:
PAL: 0x003c3148
Ghidra address:
NTSC-U/C: 0x00356110
Ghidra address:
PAL: 0x003c33c0
Ghidra address:
NTSC-U/C: 0x003a6740
Ghidra address:
PAL: 0x00415420

Implements Command.


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