Ginan
Loading...
Searching...
No Matches
InteractiveTerminal Struct Reference
Inheritance diagram for InteractiveTerminal:
Collaboration diagram for InteractiveTerminal:

Public Member Functions

 InteractiveTerminal (const string &name, Trace &trace, bool doClear=true)
 Creates a RAII object that acts like an ostringstream and spits results out to another trace when it goes out of scope Also clears and updates an interactive terminal page.
 
 ~InteractiveTerminal ()
 

Static Public Member Functions

static void enable ()
 
static void drawMenus ()
 
static void drawWindow ()
 
static void keyboardHandler ()
 
static void clearPage (string pageName)
 
static void clearModes (string epochStr="", string durationStr="")
 
static void setMode (E_InteractiveMode modeName)
 
static void addString (string pageName, const string &str, bool updateWindow=true)
 

Data Fields

string name
 
Tracetrace
 
bool doClear
 

Static Public Attributes

static mutex dataMutex
 
static mutex displayMutex
 
static string activePage
 
static string epoch
 
static string duration
 
static E_InteractMode interactMode = E_InteractMode::Page
 
static E_InteractiveMode activeMode = E_InteractiveMode::Syncing
 
static bool enabled = false
 
static map< string, InteractivePagepages
 
static map< E_InteractiveMode, InteractiveModemodes
 

Constructor & Destructor Documentation

◆ InteractiveTerminal()

InteractiveTerminal::InteractiveTerminal ( const string & name,
Trace & trace,
bool doClear = true )
inline

Creates a RAII object that acts like an ostringstream and spits results out to another trace when it goes out of scope Also clears and updates an interactive terminal page.

◆ ~InteractiveTerminal()

InteractiveTerminal::~InteractiveTerminal ( )
inline
Here is the call graph for this function:

Member Function Documentation

◆ addString()

void InteractiveTerminal::addString ( string pageName,
const string & str,
bool updateWindow = true )
static
Here is the call graph for this function:
Here is the caller graph for this function:

◆ clearModes()

static void InteractiveTerminal::clearModes ( string epochStr = "",
string durationStr = "" )
inlinestatic
Here is the call graph for this function:
Here is the caller graph for this function:

◆ clearPage()

static void InteractiveTerminal::clearPage ( string pageName)
inlinestatic
Here is the caller graph for this function:

◆ drawMenus()

void InteractiveTerminal::drawMenus ( )
static
Here is the caller graph for this function:

◆ drawWindow()

void InteractiveTerminal::drawWindow ( )
static
Here is the caller graph for this function:

◆ enable()

void InteractiveTerminal::enable ( )
static
Here is the call graph for this function:
Here is the caller graph for this function:

◆ keyboardHandler()

void InteractiveTerminal::keyboardHandler ( )
static
Here is the call graph for this function:
Here is the caller graph for this function:

◆ setMode()

void InteractiveTerminal::setMode ( E_InteractiveMode modeName)
static
Here is the call graph for this function:
Here is the caller graph for this function:

Field Documentation

◆ activeMode

E_InteractiveMode InteractiveTerminal::activeMode = E_InteractiveMode::Syncing
static

◆ activePage

string InteractiveTerminal::activePage
static

◆ dataMutex

mutex InteractiveTerminal::dataMutex
static

◆ displayMutex

mutex InteractiveTerminal::displayMutex
static

◆ doClear

bool InteractiveTerminal::doClear

◆ duration

string InteractiveTerminal::duration
static

◆ enabled

bool InteractiveTerminal::enabled = false
static

◆ epoch

string InteractiveTerminal::epoch
static

◆ interactMode

E_InteractMode InteractiveTerminal::interactMode = E_InteractMode::Page
static

◆ modes

map< E_InteractiveMode, InteractiveMode > InteractiveTerminal::modes
static

◆ name

string InteractiveTerminal::name

◆ pages

map< string, InteractivePage > InteractiveTerminal::pages
static

◆ trace

Trace& InteractiveTerminal::trace

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