Nebula
Loading...
Searching...
No Matches
Dynui::Graph Class Reference

#include <imguigraph.h>

Detailed Description

Time Graph with predefined amount of entries.

Public Member Functions

 Graph (Util::String const &name, SizeT historySize)
void AddValue (float val)
void Draw ()

Static Private Member Functions

static float ValueGetter (void *object, int idx)

Private Attributes

float _min
float _max
float frame_min
float frame_max
float average
float averageSum
Util::String name
Util::String header
Util::RingBuffer< float > buffer
bool scroll

Constructor & Destructor Documentation

◆ Graph()

Dynui::Graph::Graph ( Util::String const & name,
SizeT historySize )

Member Function Documentation

◆ AddValue()

void Dynui::Graph::AddValue ( float val)
inline

◆ Draw()

void Dynui::Graph::Draw ( )

◆ ValueGetter()

float Dynui::Graph::ValueGetter ( void * object,
int idx )
inlinestaticprivate

Member Data Documentation

◆ _max

float Dynui::Graph::_max
private

◆ _min

float Dynui::Graph::_min
private

◆ average

float Dynui::Graph::average
private

◆ averageSum

float Dynui::Graph::averageSum
private

◆ buffer

Util::RingBuffer<float> Dynui::Graph::buffer
private

◆ frame_max

float Dynui::Graph::frame_max
private

◆ frame_min

float Dynui::Graph::frame_min
private

◆ header

Util::String Dynui::Graph::header
private

◆ name

Util::String Dynui::Graph::name
private

◆ scroll

bool Dynui::Graph::scroll
private

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