Inexor
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Types | Public Member Functions | Public Attributes | List of all members
inexor::ui::CefSubsystem Class Reference

#include <CefSubsystem.hpp>

Inheritance diagram for inexor::ui::CefSubsystem:
inexor::util::Subsystem

Public Types

typedef std::function
< std::unique_ptr< Subsystem >)> 
Starter
 A function that starts a subsystem and returns a pointer to the instance this exists for the register: we can not store classes at run time, so we instead store these functions as proxies to the Constructors. More...
 

Public Member Functions

 ~CefSubsystem () override
 
void tick () override
 Called once per frame, or what ever our event loop is. More...
 
void initialize (int argc, char **argv) override
 Called once. More...
 

Public Attributes

bool is_initialized = false
 

Member Typedef Documentation

typedef std::function<std::unique_ptr<Subsystem>)> inexor::util::Subsystem::Starter
inherited

A function that starts a subsystem and returns a pointer to the instance this exists for the register: we can not store classes at run time, so we instead store these functions as proxies to the Constructors.

We create these as lambdas in the SUBSYSTEM_REGISTER macro;

Constructor & Destructor Documentation

inexor::ui::CefSubsystem::~CefSubsystem ( )
override

References inexor::ui::cef_app.

Member Function Documentation

void inexor::ui::CefSubsystem::initialize ( int  argc,
char **  argv 
)
overridevirtual
void inexor::ui::CefSubsystem::tick ( )
overridevirtual

Called once per frame, or what ever our event loop is.

Reimplemented from inexor::util::Subsystem.

Member Data Documentation

bool inexor::util::Subsystem::is_initialized = false
inherited

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