Graphitti
A toolkit/software architecture to ease creating high-performance neural network simulators
Loading...
Searching...
No Matches
XmlRecorder::singleVariableInfo Struct Reference

#include <XmlRecorder.h>

Collaboration diagram for XmlRecorder::singleVariableInfo:

Public Member Functions

 singleVariableInfo (const string &name, RecordableBase &location, UpdatedType variableType)
 Constructor accepting the variable name, the address of recorded variable, the updated type.
 
void captureData ()
 capture value to the vector in the table
 

Public Attributes

string variableName_
 the name of each variable
 
string dataType_
 the basic data type in the Recorded variable
 
UpdatedType variableType_
 the variable type: updated frequency
 
RecordableBasevariableLocation_
 
vector< multipleTypesvariableHistory_
 the history of accumulated values for a registered RecordableBase object variable
 

Detailed Description

Represents information about a single recorded variable. The singleVariableInfo struct encapsulates details about a recorded variable, including its name, basic data type, address (location), updated type and the history of accumulated values over time.

Definition at line 129 of file XmlRecorder.h.

Constructor & Destructor Documentation

◆ singleVariableInfo()

XmlRecorder::singleVariableInfo::singleVariableInfo ( const string & name,
RecordableBase & location,
UpdatedType variableType )
inline

Constructor accepting the variable name, the address of recorded variable, the updated type.

Definition at line 147 of file XmlRecorder.h.

Member Function Documentation

◆ captureData()

void XmlRecorder::singleVariableInfo::captureData ( )
inline

capture value to the vector in the table

Definition at line 154 of file XmlRecorder.h.

Member Data Documentation

◆ dataType_

string XmlRecorder::singleVariableInfo::dataType_

the basic data type in the Recorded variable

Definition at line 134 of file XmlRecorder.h.

◆ variableHistory_

vector<multipleTypes> XmlRecorder::singleVariableInfo::variableHistory_

the history of accumulated values for a registered RecordableBase object variable

Definition at line 144 of file XmlRecorder.h.

◆ variableLocation_

RecordableBase& XmlRecorder::singleVariableInfo::variableLocation_

a reference to a RecordableBase variable As the simulator runs, the values in the RecordableBase object will be updated

Definition at line 141 of file XmlRecorder.h.

◆ variableName_

string XmlRecorder::singleVariableInfo::variableName_

the name of each variable

Definition at line 131 of file XmlRecorder.h.

◆ variableType_

UpdatedType XmlRecorder::singleVariableInfo::variableType_

the variable type: updated frequency

Definition at line 137 of file XmlRecorder.h.


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