Pioneer
Loading...
Searching...
No Matches
Classes | Public Member Functions | Public Attributes | Protected Member Functions | Protected Attributes | List of all members
StartupScreen Class Reference
Inheritance diagram for StartupScreen:
Inheritance graph
[legend]
Collaboration diagram for StartupScreen:
Collaboration graph
[legend]

Classes

struct  LoadStep
 

Public Member Functions

 StartupScreen ()
 
- Public Member Functions inherited from Application::Lifecycle
 Lifecycle ()
 
 Lifecycle (bool profilerAccumulate)
 
virtual ~Lifecycle ()
 
void RequestEndLifecycle ()
 
- Public Member Functions inherited from RefCounted
 RefCounted ()
 
virtual ~RefCounted ()
 
void IncRefCount () const
 
void DecRefCount () const
 
int GetRefCount () const
 
- Public Member Functions inherited from LuaWrappable
virtual ~LuaWrappable ()
 

Public Attributes

std::unique_ptr< JobSetasyncStartupQueue
 
std::unique_ptr< JobSetcurrentStepQueue
 

Protected Member Functions

template<typename T >
void AddStep (std::string name, T fn)
 
void Start () override
 
void Update (float) override
 
void End () override
 
void RunNewLoader ()
 
void FinishLoadStep ()
 
float GetProgress ()
 
- Protected Member Functions inherited from Application::Lifecycle
virtual void Start ()
 
virtual void Update (float deltaTime)=0
 
virtual void End ()
 
void SetNextLifecycle (RefCountedPtr< Lifecycle > l)
 
bool GetProfilerAccumulate () const
 
void SetProfilerAccumulate (bool enable)
 

Protected Attributes

std::vector< LoadStepm_loaders
 
size_t m_currentLoader = 0
 
bool m_hasQueuedJobs = 0
 
Profiler::Clock m_loadTimer
 
Profiler::Clock m_stepTimer
 

Constructor & Destructor Documentation

◆ StartupScreen()

StartupScreen::StartupScreen ( )
inline

Member Function Documentation

◆ AddStep()

template<typename T >
void StartupScreen::AddStep ( std::string  name,
fn 
)
inlineprotected

◆ End()

void StartupScreen::End ( )
overrideprotectedvirtual

Reimplemented from Application::Lifecycle.

Here is the call graph for this function:

◆ FinishLoadStep()

void StartupScreen::FinishLoadStep ( )
protected
Here is the call graph for this function:

◆ GetProgress()

float StartupScreen::GetProgress ( )
inlineprotected

◆ RunNewLoader()

void StartupScreen::RunNewLoader ( )
protected
Here is the call graph for this function:

◆ Start()

void StartupScreen::Start ( )
overrideprotectedvirtual

Reimplemented from Application::Lifecycle.

Here is the call graph for this function:

◆ Update()

void StartupScreen::Update ( float  deltaTime)
overrideprotectedvirtual

Implements Application::Lifecycle.

Here is the call graph for this function:

Member Data Documentation

◆ asyncStartupQueue

std::unique_ptr<JobSet> StartupScreen::asyncStartupQueue

◆ currentStepQueue

std::unique_ptr<JobSet> StartupScreen::currentStepQueue

◆ m_currentLoader

size_t StartupScreen::m_currentLoader = 0
protected

◆ m_hasQueuedJobs

bool StartupScreen::m_hasQueuedJobs = 0
protected

◆ m_loaders

std::vector<LoadStep> StartupScreen::m_loaders
protected

◆ m_loadTimer

Profiler::Clock StartupScreen::m_loadTimer
protected

◆ m_stepTimer

Profiler::Clock StartupScreen::m_stepTimer
protected

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