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

Source of the controller messages. More...

#include <JoypadMsgSource.h>

Inheritance diagram for JoypadMsgSource:
Collaboration diagram for JoypadMsgSource:

Public Member Functions

 JoypadMsgSource ()
 Create the source.
virtual ~JoypadMsgSource ()
 Release the source.
Public Member Functions inherited from MsgSource
 MsgSource ()
 Construct a source with no sinks.
virtual ~MsgSource ()
 Release the list of sinks.
virtual void AddSink (MsgSink *pSink)
 Register a sink, ignoring a sink that is already registered.
virtual void RemoveSink (MsgSink *pSink)
 Unregister the first occurrence of a sink.
void Send (Message *pMsg)
 Deliver a message to every registered sink, in registration order.
bool SendUntilHandled (Message *pMsg)
 Deliver a message to the registered sinks in registration order until one handles it.
 MsgSource ()
 Create a source with no sinks.
virtual ~MsgSource ()
 Free the list of sinks.
virtual void AddSink (MsgSink *sink)
 Add a sink at the end of the list, unless it is already there.
virtual void RemoveSink (MsgSink *sink)
 Remove a sink, which must be in the list.

Public Attributes

bool mInitialized
Public Attributes inherited from MsgSource
int mGraphBuilt

Detailed Description

Source of the controller messages.

The RTTI records the class as deriving from MsgSource. The object is 0x10 bytes.

Constructor & Destructor Documentation

◆ JoypadMsgSource()

JoypadMsgSource::JoypadMsgSource ( )

Create the source.

The constructor does not set mInitialized.

Ghidra address:
0x1000ec40

◆ ~JoypadMsgSource()

virtual JoypadMsgSource::~JoypadMsgSource ( )
virtual

Release the source.

Ghidra address:
0x1000ec80

Member Data Documentation

◆ mInitialized

bool JoypadMsgSource::mInitialized

Whether JoypadConfigInit() ran.


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