Braille Glove
 
Loading...
Searching...
No Matches
SingeltonGloveSettings Class Reference

Singleton class that defines all the different glove settings. More...

#include <SingeltonGloveSettings.h>

Static Public Member Functions

static SingeltonGloveSettingsgetInstance ()
 Gets the singleton instance of the SingeltonGloveSettings class.
 

Public Attributes

const int OST_OFFSET = 10
 The offset between activations in the OST encoding.
 
const int DURATION = 200
 Duration of actuator activation in milliseconds.
 
const int PAUSE = 2000
 Pause time between two characters in milliseconds.
 
const int NUM_ACTUATORS = 3
 The number of actuators used in the glove.
 
const int AUDIO_STIMULI_OFFSET = 100
 The offset between audio stimuli and tactile stimuli in milliseconds.
 
const int SEQ_OFFSET = 1000
 The offset between characters in the Sequential encoding scheme.
 
const int studyOstRepititions = 126
 Number of repetitions for the OST encoding in the study.
 
const int studySeqRepititions = 44
 Number of repetitions for the Sequential encoding in the study.
 

Detailed Description

Singleton class that defines all the different glove settings.

This class follows the Singleton pattern, ensuring that only one instance of the glove settings exists. It contains various constants that define the parameters for actuator timing, offsets, and repetitions related to the glove's operation.

Member Function Documentation

◆ getInstance()

static SingeltonGloveSettings & SingeltonGloveSettings::getInstance ( )
inlinestatic

Gets the singleton instance of the SingeltonGloveSettings class.

Returns
A reference to the single instance of SingeltonGloveSettings.

The documentation for this class was generated from the following file: