psycho-spatial-orientation-2back.C File Reference

#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>
Include dependency graph for psycho-spatial-orientation-2back.C:

Go to the source code of this file.

Functions

nub::soft_ref< PsychoDisplayd (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 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, string message="")
bool isAnswerCorrect (string test, string answer, int mode)
int addArgument (const string st, const string delim="=")
std::string getArgumentValue (string arg)
vector< int > spatial_memory_task (int onsetTime, int isd, int dir, int ma=30, int Ma=120)
vector< int > getA2NonRepeatingSeqence (int numOfElements, int lenght)
vector< int > getA2RepeatingSequence (int numOfElements, int length)
vector< int > getA1NonRepeatingSeqence (int numOfElements, int lenght)
vector< int > getA1RepeatingSequence (int numOfElements, int length)
vector< int > getNonRepeatingSeqenceForPassiveTest (int numOfElements, int lenght)
vector< int > getRepeatingSeqenceForPassiveTest (int numOfElements, int lenght)
int spatial_memory_retrival (vector< int > dotsVector, int dir, int ma=30, int Ma=120, int ds=30)
int playTone (Mix_Music *tone)
std::string getUsageComment ()
int main (const int argc, char **argv)

Variables

ModelManager manager ("Psycho-Spatial-Orientation-2back")
map< uint, uinttestMap
map< string, stringargMap
map< string, vector< SDL_Rect * > * > clipsmap

Detailed Description

Psychophysics test to measure the effect of executive tasks on spatial memory

Definition in file psycho-spatial-orientation-2back.C.

Generated on Sun May 8 08:42:37 2011 for iLab Neuromorphic Vision Toolkit by  doxygen 1.6.3