#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 | 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) |
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, map< string, SDL_Rect > &buttmap) |
string | getPressedButtonCommand (map< string, SDL_Rect > &buttmap, Point2D< int > offset=Point2D< int >(0, 0)) |
string | getDigitSequenceFromSubject (string alphabet="0123456789", uint maxl=7) |
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 | displayWholeNumberVertically (string s, int onsetTime, int wsd) |
void | displayRandom (string s, int onsetTime) |
void | displayLinear (string s, int onsetTime) |
void | displayLinearReverse (string s, int onsetTime) |
void | displayLinearRandom (string s, int onsetTime) |
void | displayLinearRandomVertically (string s, int onsetTime) |
void | displayLinearRandomNoRepeating (string s, int onsetTime) |
void | showMask (int frames, 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
Definition in file psycho-sorting-cost.C.