Rubber Hand VR  V1.0
Toolkit for developing VR neuroplasticity experiments relying on the leap motion hand tracker
HandVR.ButtonGame.ButtonGameManager Class Reference

Sample test - users must hit the colored button matching the central pattern More...

Inheritance diagram for HandVR.ButtonGame.ButtonGameManager:
Collaboration diagram for HandVR.ButtonGame.ButtonGameManager:

Public Member Functions

void StopTest ()
 Stops the test early More...
 
void SetNumTests (int numTests)
 Sets the number of trials to perform - use setNumMins instead More...
 
void SetNumMinutes (float numMins)
 Sets how long the test should run for More...
 
IEnumerator StartTest_trials ()
 Runs through the task for the given number of trials - use StartTest instead More...
 
IEnumerator StartTest ()
 Starts the test - runs for a fixed number of minutes More...
 

Properties

IList< ITestDataResults [get]
 Returns the list of results for the trials - see ButtonData for result structure More...
 
bool IsRunning = false [get]
 True if the test is currently in progress More...
 
- Properties inherited from HandVR.ITest
IList< ITestDataResults [get]
 Returns results of test More...
 
bool IsRunning [get]
 Returns true if the test is in progress More...
 

Detailed Description

Sample test - users must hit the colored button matching the central pattern

Definition at line 15 of file ButtonGameManager.cs.

Member Function Documentation

◆ SetNumMinutes()

void HandVR.ButtonGame.ButtonGameManager.SetNumMinutes ( float  numMins)

Sets how long the test should run for

Parameters
numMins

Implements HandVR.ITest.

Definition at line 91 of file ButtonGameManager.cs.

◆ SetNumTests()

void HandVR.ButtonGame.ButtonGameManager.SetNumTests ( int  numTests)

Sets the number of trials to perform - use setNumMins instead

Parameters
numTests

Implements HandVR.ITest.

Definition at line 82 of file ButtonGameManager.cs.

◆ StartTest()

IEnumerator HandVR.ButtonGame.ButtonGameManager.StartTest ( )

Starts the test - runs for a fixed number of minutes

Returns

Implements HandVR.ITest.

Definition at line 122 of file ButtonGameManager.cs.

◆ StartTest_trials()

IEnumerator HandVR.ButtonGame.ButtonGameManager.StartTest_trials ( )

Runs through the task for the given number of trials - use StartTest instead

Returns

Definition at line 100 of file ButtonGameManager.cs.

◆ StopTest()

void HandVR.ButtonGame.ButtonGameManager.StopTest ( )

Stops the test early

Implements HandVR.ITest.

Definition at line 72 of file ButtonGameManager.cs.

Property Documentation

◆ IsRunning

bool HandVR.ButtonGame.ButtonGameManager.IsRunning = false
get

True if the test is currently in progress

Definition at line 44 of file ButtonGameManager.cs.

◆ Results

IList<ITestData> HandVR.ButtonGame.ButtonGameManager.Results
get

Returns the list of results for the trials - see ButtonData for result structure

Definition at line 39 of file ButtonGameManager.cs.


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