Class RecordableDataInterface

Inheritance Relationships

Derived Types

Class Documentation

class RecordableDataInterface

Interface class for RecordableData.

New data is stored pending during recording.

Subclassed by DummyRecordableKeysSet, RecordableData< Args >

Public Functions

inline virtual ~RecordableDataInterface()
virtual void start() = 0

Move on to recording state.

virtual bool finished() const = 0

Check whether recording is finished.

Returns:

True if recording is finished, false otherwise.

virtual bool is_recording() const = 0

Check whether recording is ongoing.

Returns:

True if recording is ongoing, false otherwise.

virtual void record_next_one() = 0

Record next data.

virtual void reset() = 0

Reset recording status.

virtual size_t size() const = 0

Get size.

Returns:

data size.

virtual size_t pending_size() const = 0

Get pending data size.

Returns:

pending data size.

virtual const std::string &trace_point() const = 0

Get trace point name.

Returns:

trace point name.