NDEVR
API Documentation
StepsRecorder.h
1#pragma once
2#include "DLLInfo.h"
3#include <NDEVR/ApplicationOptions.h>
4namespace NDEVR
5{
6 class File;
10 class DESIGN_WIDGETS_API StepsRecorder
11 {
12 public:
20 void begin();
25 void begin(const File& file);
29 void end();
34 bool isRunning() const { return m_is_running; };
35 public:
42 protected:
44 };
45}
The default object to store data of any type that should persist through sessions of the application.
Logic for reading or writing to a file as well as navigating filesystems or other common file operati...
Definition File.h:53
StepsRecorder()
Constructs a StepsRecorder instance.
void begin(const File &file)
Begins recording user interactions to the specified output file.
void end()
Stops the current recording session.
void begin()
Begins recording user interactions to the default output location.
static StepsRecorder & DefaultInstance()
Returns the singleton StepsRecorder instance.
bool isRunning() const
Returns whether a recording session is currently active.
bool m_is_running
Whether a recording session is currently active.
static ApplicationOption< bool > default_launch_recorder
Application option controlling whether the recorder launches by default.
The primary namespace for the NDEVR SDK.