
#include "Component/ModelManager.H"#include "Image/Image.H"#include "Psycho/PsychoDisplay.H"#include "Psycho/EyeTrackerConfigurator.H"#include "Psycho/EyeTracker.H"#include "Psycho/PsychoOpts.H"#include "Component/EventLog.H"#include "Component/ComponentOpts.H"#include "Raster/Raster.H"#include "Util/MathFunctions.H"#include "Util/Types.H"#include "GameBoard/basic-graphics.H"#include <sys/types.h>#include <dirent.h>#include <errno.h>#include <vector>#include <string>#include <iostream>#include <SDL/SDL.h>#include <SDL/SDL_image.h>#include <SDL/SDL_mixer.h>#include <stdio.h>#include <stdlib.h>#include <sstream>#include <time.h>#include "Image/DrawOps.H"#include "GameBoard/resize.h"#include <fstream>#include <set>#include <algorithm>#include <ctime>
Go to the source code of this file.
Functions | |
| nub::soft_ref< PsychoDisplay > | d (new PsychoDisplay(manager)) |
| template<class T > | |
| std::string | stringify (T i) |
| double | getAvarage (vector< long > v) |
| double | getVariance (vector< long > v) |
| bool | itIsInThere (int x, vector< int > bag) |
| string | get0321 (string s) |
| string | get1230 (string s) |
| string | get3012 (string s) |
| string | get2103 (string s) |
| string | get34012 (string s) |
| string | get21043 (string s) |
| string | get41230 (string s) |
| string | get03214 (string s) |
| string | get42130 (string s) |
| string | get03124 (string s) |
| string | ascSort (string st) |
| string | desSort (string st) |
| string | getARandomString (uint l, string alphabet="0123456789") |
| string | digitMemorizationTask (uint l, string alphabet="0123456789", int displayFrame=10) |
| void | scramble (vector< string > &v) |
| void | scramble (vector< int > &v) |
| string | transformString (string pattern, vector< string > *wl, int white_space_distance) |
| SDL_Surface * | getButtonImage (string label, PixRGB< byte > txtcolor=PixRGB< byte >(0, 0, 0), PixRGB< byte > bgcolor=PixRGB< byte >(255, 255, 255), Point2D< int > size=Point2D< int >(100, 100), PixRGB< byte > bordercolor=PixRGB< byte >(0, 0, 0), int border=3) |
| SDL_Surface * | getKeyPad (string alphabet, vector< string > *wl, map< string, SDL_Rect > &buttmap) |
| string | getPressedButtonCommand (map< string, SDL_Rect > &buttmap, Point2D< int > offset=Point2D< int >(0, 0)) |
| string | getDigitSequenceFromSubject (string alphabet, vector< string > *wl, uint maxl) |
| bool | isAnswerCorrect (string test, string answer, int mode) |
| int | addArgument (const string st, const string delim="=") |
| std::string | getArgumentValue (string arg) |
| std::string | getUsageComment () |
| void | displayWholeNumber (string s, int onsetTime, int wsd) |
| void | displayHorizontal (string s, int onsetTime) |
| void | displayLinear (string s, int onsetTime) |
| void | showMask (int frames, string alphabet) |
| vector< string > | getARandomArray (uint l, vector< string > *wl) |
| int | readWordFile (const char *filename, vector< string > *wl) |
| string | switch_neighbors (string s) |
| string | replaceOne (string s, string alphabet="0123456789") |
| int | main (const int argc, char **argv) |
Variables | |
| ModelManager | manager ("Psycho-Concurrent-Digit") |
| map< uint, uint > | testMap |
| map< string, string > | argMap |
| map< string, vector< SDL_Rect * > * > | clipsmap |
Psychophysics test to measure the influence of eyemovement on memory task performance this is an new version of psycho-sc.C which supports words instead of characters for the memory task
Definition in file psycho-msc.C.
1.6.3