1.8
Classes | Typedefs | Functions
egt::v1::experimental Namespace Reference

Experimental namespace. More...

Classes

class  CameraCapture
 Capture a camera video feed directly to an output file. More...
 
class  ColorMap
 A ColorMap contains a series of sequential color steps that can be used for generating colors by interpolation. More...
 
class  CPUMonitorUsage
 Monitor CPU usage of the system. More...
 
class  Form
 Utility class to help with standard Form layout of widgets. More...
 
class  FramesPerSecond
 Calculate "frame-per-second" of something. More...
 
class  Gauge
 A Gauge Widget that is composed of GaugeLayer layers. More...
 
class  GaugeLayer
 A layer of a Gauge. More...
 
class  HttpClientRequest
 An HTTP client request. More...
 
class  LuaApplication
 Application instance that provides support for running LUA, including a LUA REPL. More...
 
class  NeedleLayer
 Special GaugeLayer that deals with a rotating needle. More...
 
class  RadialType
 Radial widget that draws a series of RangleValues on a circle. More...
 
class  Sound
 Simple class to manage playing raw or WAV PCM sound files. More...
 
class  UiLoader
 Parses and loads a UI XML file. More...
 

Typedefs

using Radial = RadialType< int >
 Helper type alias. More...
 
using RadialF = RadialType< float >
 Helper type alias. More...
 

Functions

template<class T >
load_file_from_network (const std::string &url)
 Blocking helper to download a file from the network using http. More...
 
EGT_API double lua_evaluate (const std::string &expr)
 Toy lua evaluation. More...
 

Detailed Description

Experimental namespace.

This namespace contains unstable, broken, or otherwise incomplete things.

Function Documentation

◆ load_file_from_network()

T egt::v1::experimental::load_file_from_network ( const std::string &  url)

Blocking helper to download a file from the network using http.

Warning
This downloads the entire file into memory - which means this should be used with severe caution.

◆ lua_evaluate()

EGT_API double egt::v1::experimental::lua_evaluate ( const std::string &  expr)

Toy lua evaluation.

This takes a LUA expression, evaluates it, and returns the result.

Parameters
exprLUA expression.