yaze 0.3.2
Link to the Past ROM Editor
 
Loading...
Searching...
No Matches
yaze::ios::IOSHost Class Reference

#include <ios_host.h>

Collaboration diagram for yaze::ios::IOSHost:

Public Member Functions

 IOSHost ()=default
 
 ~IOSHost ()
 
absl::Status Initialize (const IOSHostConfig &config)
 
void Tick ()
 
void Shutdown ()
 
void SetMetalView (void *view)
 
void * GetMetalView () const
 

Private Attributes

IOSHostConfig config_ {}
 
void * metal_view_ = nullptr
 
bool initialized_ = false
 

Detailed Description

Definition at line 16 of file ios_host.h.

Constructor & Destructor Documentation

◆ IOSHost()

yaze::ios::IOSHost::IOSHost ( )
default

◆ ~IOSHost()

yaze::ios::IOSHost::~IOSHost ( )

Definition at line 16 of file ios_host.mm.

References Shutdown().

Here is the call graph for this function:

Member Function Documentation

◆ Initialize()

absl::Status yaze::ios::IOSHost::Initialize ( const IOSHostConfig & config)

Definition at line 20 of file ios_host.mm.

References yaze::ios::IOSHostConfig::app_config, config_, yaze::Application::Initialize(), initialized_, yaze::Application::Instance(), LOG_INFO, and metal_view_.

Here is the call graph for this function:

◆ Tick()

void yaze::ios::IOSHost::Tick ( )

Definition at line 37 of file ios_host.mm.

References initialized_, yaze::Application::Instance(), and yaze::Application::Tick().

Here is the call graph for this function:

◆ Shutdown()

void yaze::ios::IOSHost::Shutdown ( )

Definition at line 44 of file ios_host.mm.

References initialized_, yaze::Application::Instance(), and yaze::Application::Shutdown().

Referenced by ~IOSHost().

Here is the call graph for this function:

◆ SetMetalView()

void yaze::ios::IOSHost::SetMetalView ( void * view)

Definition at line 52 of file ios_host.mm.

References metal_view_, and yaze::platform::ios::SetMetalView().

Here is the call graph for this function:

◆ GetMetalView()

void * yaze::ios::IOSHost::GetMetalView ( ) const

Definition at line 57 of file ios_host.mm.

References metal_view_.

Member Data Documentation

◆ config_

IOSHostConfig yaze::ios::IOSHost::config_ {}
private

Definition at line 29 of file ios_host.h.

Referenced by Initialize().

◆ metal_view_

void* yaze::ios::IOSHost::metal_view_ = nullptr
private

Definition at line 30 of file ios_host.h.

Referenced by GetMetalView(), Initialize(), and SetMetalView().

◆ initialized_

bool yaze::ios::IOSHost::initialized_ = false
private

Definition at line 31 of file ios_host.h.

Referenced by Initialize(), Shutdown(), and Tick().


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