- ControlModes current_mode;
- pthread_mutex_t mutex;
- struct timespec start_time;
- char user_name[31]; // The user who owns the currently running experiment
- char experiment_dir[BUFSIZ]; //Directory for experiment
- char experiment_name[BUFSIZ];
+ ControlModes current_mode; /** Current experiment mode **/
+ pthread_mutex_t mutex; /** Mutex to serialise access to control methods **/
+ struct timespec start_time; /** Start time of current experiment **/
+ char user_name[31]; /** The user who owns the currently running experiment **/
+ char experiment_dir[BUFSIZ]; /** Directory for experiment **/
+ char experiment_name[BUFSIZ]; /** Name of the current experiment **/