algorithm-visualizer
 All Classes
Public Member Functions | Static Public Member Functions | Public Attributes | Protected Types | Protected Member Functions | Static Protected Member Functions | List of all members
Array1DTracer Class Reference
Inheritance diagram for Array1DTracer:
BaseArray1DTracer Array2DTracer Tracer Commander

Public Member Functions

 Array1DTracer (const string &title="", const string &className="Array1DTracer")
 
void chart (const ChartTracer &chartTracer)
 
void set (const json &array1d)
 
void set ()
 
void patch (int x, const json &v)
 
void patch (int x)
 
void patch (int x, int y, const json &v)
 
void patch (int x, int y)
 
void depatch (int x)
 
void depatch (int x, int y)
 
void select (int sx, int ex)
 
void select (int x)
 
void select (int sx, int sy, int ex, int ey)
 
void deselect (int sx, int ex)
 
void deselect (int x)
 
void deselect (int sx, int sy, int ex, int ey)
 
void selectRow (int x, int sy, int ey)
 
void selectCol (int y, int sx, int ex)
 
void deselectRow (int x, int sy, int ey)
 
void deselectCol (int y, int sx, int ex)
 
void reset ()
 
void destroy ()
 

Static Public Member Functions

static void delay (int lineNumber)
 
static void delay ()
 
static size_t writeFunction (void *ptr, size_t size, size_t nmemb, std::string *data)
 
static void onExit ()
 

Public Attributes

string key
 

Protected Types

using string = std::string
 
using json = nlohmann::json
 
using arguments = std::vector< json >
 

Protected Member Functions

void command (const string &method, const arguments &args)
 

Static Protected Member Functions

static void command (const json &key, const string &method, const arguments &args)
 

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