Nui
Public Member Functions | Public Attributes | List of all members
Nui::Window::Implementation Struct Referenceabstract
Inheritance diagram for Nui::Window::Implementation:
Inheritance graph
[legend]
Collaboration diagram for Nui::Window::Implementation:
Collaboration graph
[legend]

Public Member Functions

virtual void registerSchemeHandlers (WindowOptions const &options)=0
 
 Implementation ()
 
virtual ~Implementation ()
 
void initialize (bool debug, void *options)
 
template<class Derived >
std::shared_ptr< Derived > shared_from_base ()
 
template<class Derived >
std::weak_ptr< Derived > weak_from_base ()
 
 Implementation ()
 

Public Attributes

std::recursive_mutex viewGuard
 
boost::asio::thread_pool pool
 
std::unique_ptr< webview::webview > view
 
std::vector< std::filesystem::path > cleanupFiles
 
std::unordered_map< std::string, std::function< void(nlohmann::json const &)> > callbacks
 
int width
 
int height
 
std::function< void(std::string_view)> onRpcError
 

Constructor & Destructor Documentation

◆ Implementation() [1/2]

Nui::Window::Implementation::Implementation ( )
inline

◆ ~Implementation()

virtual Nui::Window::Implementation::~Implementation ( )
inlinevirtual

◆ Implementation() [2/2]

Nui::Window::Implementation::Implementation ( )
inline

Member Function Documentation

◆ initialize()

void Nui::Window::Implementation::initialize ( bool  debug,
void *  options 
)
inline

◆ registerSchemeHandlers()

virtual void Nui::Window::Implementation::registerSchemeHandlers ( WindowOptions const &  options)
pure virtual

◆ shared_from_base()

template<class Derived >
std::shared_ptr<Derived> Nui::Window::Implementation::shared_from_base ( )
inline

◆ weak_from_base()

template<class Derived >
std::weak_ptr<Derived> Nui::Window::Implementation::weak_from_base ( )
inline

Member Data Documentation

◆ callbacks

std::unordered_map<std::string, std::function<void(nlohmann::json const&)> > Nui::Window::Implementation::callbacks

◆ cleanupFiles

std::vector<std::filesystem::path> Nui::Window::Implementation::cleanupFiles

◆ height

int Nui::Window::Implementation::height

◆ onRpcError

std::function<void(std::string_view)> Nui::Window::Implementation::onRpcError

◆ pool

boost::asio::thread_pool Nui::Window::Implementation::pool

◆ view

std::unique_ptr<webview::webview> Nui::Window::Implementation::view

◆ viewGuard

std::recursive_mutex Nui::Window::Implementation::viewGuard

◆ width

int Nui::Window::Implementation::width

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