StateServer 1.6.9
Compiled `c` application to handle task state logging and timing.
Loading...
Searching...
No Matches
ThreadSafeArgs Struct Reference

Thread-safe state-data/argument structure. More...

#include <state_server.h>

Data Fields

FILE * log
 
double sample_period
 
uint16_t set_index
 
FlagData * flags
 
Config * config
 
HeaderData * header
 
TrialData * trial
 
StateData * state
 
RenderedCircleData * target [2]
 
TaskParameters * parameters
 
CalibrationData * cal
 

Detailed Description

Thread-safe state-data/argument structure.

Field Documentation

◆ cal

CalibrationData* ThreadSafeArgs::cal

Pointer to the calibration data.

◆ config

Config* ThreadSafeArgs::config

Pointer to log and network configuration data

◆ flags

FlagData* ThreadSafeArgs::flags

Pointer to flag data

◆ header

HeaderData* ThreadSafeArgs::header

Pointer to the log header data struct.

◆ log

FILE* ThreadSafeArgs::log

Log file

◆ parameters

TaskParameters* ThreadSafeArgs::parameters

Pointer to task parameters

◆ sample_period

double ThreadSafeArgs::sample_period

Sample duration for CLOCK thread.

◆ set_index

uint16_t ThreadSafeArgs::set_index

Index for the current set.

◆ state

StateData* ThreadSafeArgs::state

Pointer to state data

◆ target

RenderedCircleData* ThreadSafeArgs::target[2]

Array of pointers to target data

◆ trial

TrialData* ThreadSafeArgs::trial

Pointer to trial data