Pioneer
Classes | Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
LoadStep Class Reference
Inheritance diagram for LoadStep:
Inheritance graph
[legend]
Collaboration diagram for LoadStep:
Collaboration graph
[legend]

Classes

struct  LoaderStep
 

Public Member Functions

 LoadStep ()
 
- Public Member Functions inherited from Application::Lifecycle
 Lifecycle ()
 
 Lifecycle (bool profilerAccumulate)
 
virtual ~Lifecycle ()
 
void RequestEndLifecycle ()
 

Protected Member Functions

template<typename T >
void AddStep (std::string name, T fn)
 
void Start () override
 
void Update (float) override
 
- Protected Member Functions inherited from Application::Lifecycle
virtual void End ()
 
void SetNextLifecycle (std::shared_ptr< Lifecycle > l)
 

Protected Attributes

std::vector< LoaderStep > m_loaders
 
size_t m_currentLoader = 0
 
Profiler::Clock m_loadTimer
 

Constructor & Destructor Documentation

◆ LoadStep()

LoadStep::LoadStep ( )
inline

Member Function Documentation

◆ AddStep()

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

◆ Start()

void LoadStep::Start ( )
overrideprotectedvirtual

Reimplemented from Application::Lifecycle.

Here is the call graph for this function:

◆ Update()

void LoadStep::Update ( float  deltaTime)
overrideprotectedvirtual

Implements Application::Lifecycle.

Here is the call graph for this function:

Member Data Documentation

◆ m_currentLoader

size_t LoadStep::m_currentLoader = 0
protected

◆ m_loaders

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

◆ m_loadTimer

Profiler::Clock LoadStep::m_loadTimer
protected

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