Registrar that adds one message class to the factory list a received message is built from.
More...
#include <messagefactory.h>
|
| static std::vector< Entry > * | List () |
| | Report the factory list, which is constructed on first use and destroyed at exit.
|
Registrar that adds one message class to the factory list a received message is built from.
Each registration is a file-scope object whose constructor passes the identity Message::Type() reports and the class's static New(). The class is not polymorphic, emits no RTTI descriptor, and writes no member. The name is inferred.
◆ MessageFactory()
Insert a factory into the list, ordered by identity.
- Parameters
-
| nType | The identity the class streams itself under. |
| pfnCreate | The factory for the class. |
- Ghidra address:
- NTSC-U/C: 0x0029ccd0
- Ghidra address:
- PAL: 0x002a6998
◆ List()
| std::vector< Entry > * MessageFactory::List |
( |
| ) |
|
|
static |
Report the factory list, which is constructed on first use and destroyed at exit.
- Returns
- The list, ordered by identity.
- Ghidra address:
- NTSC-U/C: 0x0029cc78
- Ghidra address:
- PAL: 0x002a6940
The documentation for this class was generated from the following file: