ReXGlue SDK
Loading...
Searching...
No Matches
rex::xam::XAMApplet Class Referenceabstract

#include <rex/xam/app_manager.h>

Public Member Functions

u32 GetAppID () const
virtual rex::kernel::X_HRESULT DispatchMessageSync (u32 message, u32 buffer_ptr, u32 buffer_length)=0

Protected Member Functions

 XAMApplet (const XAMKernelInterfaces &title, u32 app_id)

Protected Attributes

XAMKernelInterfaces title_
rex::memory::GuestMembase membase_
u32 app_id_

Detailed Description

Base class of an XAM app, which receives messages dispatched by app ID.

Constructor & Destructor Documentation

◆ XAMApplet()

rex::xam::XAMApplet::XAMApplet ( const XAMKernelInterfaces & title,
u32 app_id )
protected
Parameters
titleThe kernel interfaces of the title the app serves.
app_idThe ID the app is registered under.

Member Function Documentation

◆ DispatchMessageSync()

virtual rex::kernel::X_HRESULT rex::xam::XAMApplet::DispatchMessageSync ( u32 message,
u32 buffer_ptr,
u32 buffer_length )
pure virtual

Processes a message addressed to the app.

Parameters
buffer_ptrThe guest address of the message buffer.

Member Data Documentation

◆ membase_

rex::memory::GuestMembase rex::xam::XAMApplet::membase_
protected

Translates the message buffer addresses.


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