Package VisionEgg :: Module ResponseControl :: Class ResponseController |
[frames] | no frames]

# Class ResponseController

source code

                object --+
                         |
    FlowControl.Controller --+
                             |
                            ResponseController

    This abstract base class defines the interface to any ResponseController.

    This module provides an interface to collect responses during a
    presentation is running. To interface with real data acquisition devices,
    use a module that subclasses the classes defined here.

Instance Methods
__init__(self, **kw) Create instance of Controller. | source code
get_responses(self) Returns the responses in the current frame. | source code
get_data(self) Returns the responses in the current frame. | source code
get_responses_since_go(self) Returns all responses since the main 'go' loop has been started. | source code
get_time_responses_since_go(self) Returns the time stamps for all responses since the main 'go' loop has been started. | source code
get_first_response_since_go(self, index=0) Returns the first response since the main 'go' loop has been started. | source code
get_first_responses_since_go(self) Returns the first responses since the main 'go' loop has been started. | source code
get_time_first_response_since_go(self) Returns the time stamp for first responses since the main 'go' loop has been started. | source code
get_time_first_responses_since_go(self) Returns the time stamp for first responses since the main 'go' loop has been started. | source code
get_last_response_since_go(self, index=0) Returns the last response since the main 'go' loop has been started. | source code
get_last_responses_since_go(self) Returns the last responses since the main 'go' loop has been started. | source code
get_time_last_response_since_go(self) Returns the time stamp for last response since the main 'go' loop has been started. | source code
get_time_last_responses_since_go(self) Returns the time stamp for last response since the main 'go' loop has been started. | source code
between_go_eval(self) Evaluate between runs of the main 'go' loop. | source code
during_go_eval(self) Evaluate during the main 'go' loop. | source code
Inherited from `FlowControl.Controller`: `evaluate_now`, `returns_type`, `set_eval_frequency` Inherited from `object`: `__delattr__`, `__getattribute__`, `__hash__`, `__new__`, `__reduce__`, `__reduce_ex__`, `__repr__`, `__setattr__`, `__str__`

Class Variables
Inherited from `FlowControl.Controller`: `EVERY_FRAME`, `FRAMES_ABSOLUTE`, `FRAMES_SINCE_GO`, `NEVER`, `NOT_BETWEEN_GO`, `NOT_DURING_GO`, `ONCE`, `TIME_INDEPENDENT`, `TIME_SEC_ABSOLUTE`, `TIME_SEC_SINCE_GO`, `TRANSITIONS`, `flag_dictionary`

Properties
Inherited from `object`: `__class__`

Method Details

### __init__(self, **kw) (Constructor) | source code
    Create instance of Controller.

    Arguments:

    eval_frequency -- Int, bitwise "or" of flags
    temporal_variables -- Int, bitwise "or" of flags
    return_type -- Set to type() of the parameter under control
Overrides: FlowControl.Controller.__init__ (inherited documentation)

### between_go_eval(self) | source code
    Evaluate between runs of the main 'go' loop.

    Override this method in subclasses.
Overrides: FlowControl.Controller.between_go_eval

### during_go_eval(self) | source code
    Evaluate during the main 'go' loop.

    Override this method in subclasses.
Overrides: FlowControl.Controller.during_go_eval