Class DataRecorder
Defined in File data_recorder.hpp
Class Documentation
-
class DataRecorder
Class that manages the recording of all trace data.
Public Functions
-
DataRecorder()
Construct an instance.
Construct an instance.
- Parameters:
data – Data to be record controlled.
Construct an instance.
- Parameters:
data – Data to be record controlled.
-
bool finished() const
Check whether recording has finished.
- Returns:
True if recording has finished, false otherwise.
-
bool is_recording() const
Check whether recording is ongoing.
- Returns:
True if recording is ongoing, false otherwise.
-
size_t size() const
Get data size.
- Returns:
Total number of recorded data.
-
std::vector<std::string> trace_points() const
Get trace point names.
- Returns:
trace point names.
-
void start()
Move to start state.
-
void record_next_one()
Record next data.
-
void reset()
Reset recording status.
-
DataRecorder()