NeuralEngine
A Game Engine with embeded Machine Learning algorithms based on Gaussian Processes.
NeuralEngine::MachineLearning::Window Class Reference
Collaboration diagram for NeuralEngine::MachineLearning::Window:

Public Member Functions

 Window (const std::string &title="")
 
Windowresize (Rect rect)
 
Windowsize (Size size)
 
Windowoffset (Offset offset)
 
Windowtitle (const std::string &title)
 
Windowfps (float fps)
 
Windowensure (Rect rect)
 
Windowcursor (bool cursor)
 
void * buffer ()
 
void flush ()
 
Viewview (const std::string &name, Size size={ 300, 300 })
 
void dirty ()
 
void tick ()
 
void hide (bool hidden=true)
 
void onmouse (int event, int x, int y, int flags)
 
Windowoperator= (const Window &)=delete
 

Static Public Member Functions

static Windowcurrent ()
 
static void current (Window &window)
 
static Windowcurrent (const std::string &title)
 

Protected Attributes

Offset offset_
 
void * buffer_
 
std::string title_
 
std::string name_
 
std::map< std::string, Viewviews_
 
bool dirty_
 
float flush_time_
 
float fps_
 
bool hidden_
 
bool show_cursor_
 
Offset cursor_
 

Detailed Description

Definition at line 114 of file FgWindow.h.

Member Data Documentation

◆ offset_

Offset NeuralEngine::MachineLearning::Window::offset_
protected

Definition at line 154 of file FgWindow.h.

◆ buffer_

void* NeuralEngine::MachineLearning::Window::buffer_
protected

Definition at line 155 of file FgWindow.h.

◆ title_

std::string NeuralEngine::MachineLearning::Window::title_
protected

Definition at line 156 of file FgWindow.h.

◆ name_

std::string NeuralEngine::MachineLearning::Window::name_
protected

Definition at line 157 of file FgWindow.h.

◆ views_

std::map<std::string, View> NeuralEngine::MachineLearning::Window::views_
protected

Definition at line 158 of file FgWindow.h.

◆ dirty_

bool NeuralEngine::MachineLearning::Window::dirty_
protected

Definition at line 159 of file FgWindow.h.

◆ flush_time_

float NeuralEngine::MachineLearning::Window::flush_time_
protected

Definition at line 160 of file FgWindow.h.

◆ fps_

float NeuralEngine::MachineLearning::Window::fps_
protected

Definition at line 161 of file FgWindow.h.

◆ hidden_

bool NeuralEngine::MachineLearning::Window::hidden_
protected

Definition at line 162 of file FgWindow.h.

◆ show_cursor_

bool NeuralEngine::MachineLearning::Window::show_cursor_
protected

Definition at line 163 of file FgWindow.h.

◆ cursor_

Offset NeuralEngine::MachineLearning::Window::cursor_
protected

Definition at line 164 of file FgWindow.h.


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