61 groupMonitorCorePtr_ = groupMonitorCorePtr;
65 delete groupMonitorCorePtr_;
75 std::string funcName =
"startRecording()";
82 std::string funcName =
"stopRecording()";
89 std::string funcName =
"getRecordingTotalTime()";
96 std::string funcName =
"getRecordingLastStartTime()";
103 std::string funcName =
"getRecordingStartTime()";
110 std::string funcName =
"getRecordingStopTime()";
125 std::string funcName =
"getDataVector()";
132 std::string funcName =
"getDataVector(int)";
142 std::string funcName =
"getTimeVector()";
149 std::string funcName =
"getPeakTimeVector()";
156 std::string funcName =
"getSortedPeakTimeVector()";
163 std::string funcName =
"getPeakValueVector()";
170 std::string funcName =
"getSortedPeakValueVector()";
std::vector< float > getDataVector()
get the group data
int getRecordingLastStartTime()
returns the timestamp of the last startRecording in ms
int getRecordingTotalTime()
Returns the total recording time (ms)
std::vector< int > getSortedPeakTimeVector()
get the sorted timestamps for peak values
bool isRecording()
returns recording status
int getRecordingTotalTime()
returns the total recorded time in ms
int getRecordingLastStartTime()
Returns the simulation time (ms) of the last call to startRecording()
std::vector< int > getTimeVector()
get the timestamps for group data
std::vector< float > getPeakValueVector()
return a vector of peak values in group data
std::vector< float > getPeakValueVector()
get the peak values of group data
void setPersistentData(bool persistentData)
sets status of PersistentData mode
std::vector< int > getTimeVector()
return a vector of the timestamps for group data
int getRecordingStopTime()
returns the timestamp of stopRecording
static void assertTrue(bool statement, errorType errorIfAssertionFails, std::string errorFunc, std::string errorMsgPrefix="", std::string errorMsgSuffix="")
simple wrapper for assert statement
std::vector< int > getSortedPeakTimeVector()
return a vector of the timestamps for peak values in group data (sorted in decending order) ...
void stopRecording()
Ends a recording period.
bool getPersistentData()
Returns a flag that indicates whether PersistentMode is on (true) or off (false)
std::vector< float > getSortedPeakValueVector()
return a vector of peak values in group data (sorted in decending order)
int getRecordingStopTime()
Returns the simulation time (ms) of the last call to stopRecording()
virtual ~GroupMonitor()
GroupMonitor destructor.
std::vector< float > getDataVector()
return the group data vector
void startRecording()
starts recording group data
std::vector< float > getSortedPeakValueVector()
get the sorted peak values of group data
int getRecordingStartTime()
retunrs the timestamp of the first startRecording in ms
GroupMonitor(GroupMonitorCore *groupMonitorCorePtr)
GroupMonitor constructor.
void setPersistentData(bool persistentData)
Sets PersistentMode either on (true) or off (false)
void stopRecording()
stops recording group data
std::vector< int > getPeakTimeVector()
get the timestamps for peak values
GroupMonitor private core implementation.
bool getPersistentData()
returns status of PersistentData mode
std::vector< int > getPeakTimeVector()
return a vector of the timestamps for peak values in group data
int getRecordingStartTime()
Returns the simulation time (ms) of the first call to startRecording()
bool isRecording()
Recording status (true=recording, false=not recording)
void startRecording()
Starts a new recording period.