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

#include <InexorContextManager.hpp>

Inheritance diagram for inexor::ui::context::InexorContextManager:
inexor::ui::context::InexorContextProvider

Public Member Functions

 InexorContextManager ()
 
void InitializeContext () override
 
bool Execute (const CefString &name, CefRefPtr< CefV8Value > object, const CefV8ValueList &arguments, CefRefPtr< CefV8Value > &retval, CefString &exception) override
 
bool Get (const CefString &name, const CefRefPtr< CefV8Value > object, CefRefPtr< CefV8Value > &retval, CefString &exception) override
 
bool Set (const CefString &name, const CefRefPtr< CefV8Value > object, const CefRefPtr< CefV8Value > value, CefString &exception) override
 
std::string GetContextName () override
 
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
 

Private Member Functions

 IMPLEMENT_REFCOUNTING (InexorContextManager)
 

Constructor & Destructor Documentation

inexor::ui::context::InexorContextManager::InexorContextManager ( )
inline

Member Function Documentation

void inexor::ui::context::InexorContextProvider::AddSubContext ( InexorContextProvider sub_context)
inherited
void inexor::ui::context::InexorContextProvider::CreateFunction ( const CefString &  name)
protectedinherited
void inexor::ui::context::InexorContextProvider::CreateFunction ( const CefString &  name,
CefRefPtr< CefV8Handler >  handler 
)
protectedinherited
void inexor::ui::context::InexorContextProvider::CreateSubContext ( CefRefPtr< InexorContextProvider sub_context)
protectedinherited
void inexor::ui::context::InexorContextProvider::CreateVariable ( const CefString &  name,
bool  readonly = false 
)
protectedinherited
bool inexor::ui::context::InexorContextManager::Execute ( const CefString &  name,
CefRefPtr< CefV8Value >  object,
const CefV8ValueList &  arguments,
CefRefPtr< CefV8Value > &  retval,
CefString &  exception 
)
override
bool inexor::ui::context::InexorContextManager::Get ( const CefString &  name,
const CefRefPtr< CefV8Value >  object,
CefRefPtr< CefV8Value > &  retval,
CefString &  exception 
)
override
CefRefPtr< CefV8Value > inexor::ui::context::InexorContextProvider::GetContext ( )
inherited
std::string inexor::ui::context::InexorContextManager::GetContextName ( )
inlineoverridevirtual
inexor::ui::context::InexorContextManager::IMPLEMENT_REFCOUNTING ( InexorContextManager  )
private
void inexor::ui::context::InexorContextManager::InitializeContext ( )
overridevirtual
void inexor::ui::context::InexorContextProvider::InitializeSubContexts ( )
inherited
bool inexor::ui::context::InexorContextManager::Set ( const CefString &  name,
const CefRefPtr< CefV8Value >  object,
const CefRefPtr< CefV8Value >  value,
CefString &  exception 
)
override

Member Data Documentation

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

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