Graphitti
A toolkit/software architecture to ease creating high-performance neural network simulators
|
#include <XmlRecorder.h>
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 | |
RecordableBase & | variableLocation_ |
vector< multipleTypes > | variableHistory_ |
the history of accumulated values for a registered RecordableBase object variable | |
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.
|
inline |
Constructor accepting the variable name, the address of recorded variable, the updated type.
Definition at line 147 of file XmlRecorder.h.
|
inline |
capture value to the vector in the table
Definition at line 154 of file XmlRecorder.h.
string XmlRecorder::singleVariableInfo::dataType_ |
the basic data type in the Recorded variable
Definition at line 134 of file XmlRecorder.h.
vector<multipleTypes> XmlRecorder::singleVariableInfo::variableHistory_ |
the history of accumulated values for a registered RecordableBase object variable
Definition at line 144 of file XmlRecorder.h.
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.
string XmlRecorder::singleVariableInfo::variableName_ |
the name of each variable
Definition at line 131 of file XmlRecorder.h.
UpdatedType XmlRecorder::singleVariableInfo::variableType_ |
the variable type: updated frequency
Definition at line 137 of file XmlRecorder.h.