Inexor
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
inexor::ui::context::InexorContextProvider Class Referenceabstract

#include <InexorContextProvider.hpp>

Inheritance diagram for inexor::ui::context::InexorContextProvider:
inexor::ui::context::InexorContextManager inexor::ui::input::InexorKeyboardManager inexor::ui::input::InexorMouseManager inexor::ui::layer::InexorAppLayer inexor::ui::layer::InexorConsoleLayer inexor::ui::layer::InexorHudLayer inexor::ui::layer::InexorLayerManager

Public Member Functions

virtual void InitializeContext ()=0
 
virtual std::string GetContextName ()=0
 
CefRefPtr< CefV8Value > GetContext ()
 
void InitializeSubContexts ()
 
void AddSubContext (InexorContextProvider *sub_context)
 

Protected Member Functions

void CreateFunction (const CefString &name)
 
void CreateFunction (const CefString &name, CefRefPtr< CefV8Handler > handler)
 
void CreateVariable (const CefString &name, bool readonly=false)
 
void CreateSubContext (CefRefPtr< InexorContextProvider > sub_context)
 

Protected Attributes

std::list
< InexorContextProvider * > 
sub_contexts
 
CefRefPtr< CefV8Value > context
 

Member Function Documentation

void inexor::ui::context::InexorContextProvider::AddSubContext ( InexorContextProvider sub_context)

References sub_contexts.

void inexor::ui::context::InexorContextProvider::CreateFunction ( const CefString &  name)
protected

References context.

void inexor::ui::context::InexorContextProvider::CreateFunction ( const CefString &  name,
CefRefPtr< CefV8Handler >  handler 
)
protected

References context.

void inexor::ui::context::InexorContextProvider::CreateSubContext ( CefRefPtr< InexorContextProvider sub_context)
protected

References context.

Referenced by InitializeSubContexts().

void inexor::ui::context::InexorContextProvider::CreateVariable ( const CefString &  name,
bool  readonly = false 
)
protected

References context.

CefRefPtr< CefV8Value > inexor::ui::context::InexorContextProvider::GetContext ( )
virtual std::string inexor::ui::context::InexorContextProvider::GetContextName ( )
pure virtual
virtual void inexor::ui::context::InexorContextProvider::InitializeContext ( )
pure virtual
void inexor::ui::context::InexorContextProvider::InitializeSubContexts ( )

References CreateSubContext(), and sub_contexts.

Referenced by GetContext().

Member Data Documentation

CefRefPtr<CefV8Value> inexor::ui::context::InexorContextProvider::context
protected
std::list<InexorContextProvider*> inexor::ui::context::InexorContextProvider::sub_contexts
protected

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