Opticka 2.16.1
Opticka is an experiment manager for behavioral research.
Loading...
Searching...
No Matches
ioManager Class Reference

Input Output manager, currently just a dummy class. More...

Detailed Description

Input Output manager, currently just a dummy class.

Copyright ©2014-2022 Ian Max Andolina — released: LGPL3, see LICENCE.md

Inheritance diagram for ioManager:

Public Member Functions

function ioManager (in varargin)
 Class constructor.
 
function open (in obj, in varargin)
 
function close (in obj, in varargin)
 
function resetStrobe (in obj, in varargin)
 
function triggerStrobe (in obj, in varargin)
 
function prepareStrobe (in obj, in value)
 
function sendStrobe (in obj, in value)
 
function strobeServer (in obj, in value)
 
function sendTTL (in obj, in value)
 
function startRecording (in obj, in value)
 
function resumeRecording (in obj, in value)
 
function pauseRecording (in obj, in value)
 
function stopRecording (in obj, in value)
 
function startFixation (in obj)
 
function correct (in obj)
 
function incorrect (in obj)
 
function breakFixation (in obj)
 
function rstart (in obj, in varargin)
 
function rstop (in obj, in varargin)
 
function timedTTL (in obj, in varargin)
 
function get type (in obj)
 
function delete (in obj)
 Delete method, closes gracefully.
 
- Public Member Functions inherited from optickaCore
function optickaCore (in varargin)
 Class constructor.
 
function get fullName (in me)
 
function getALF (in me, in subject, in sessionPrefix, in lab, in create)
 
function findAttributes (in me, in attrName, in attrValue)
 
function findAttributesandType (in me, in attrName, in attrValue, in type)
 find properties of object with specific attributes, for example all properties whose GetAcccess attribute is public and type is logical.
 
function findPropertyDefault (in me, in propName)
 
function clone (in me)
 Use this syntax to make a deep copy of the object, i.e. OBJ_OUT has the same field values, but will not behave as a handle-copy of me anymore.
 
function checkSuperclasses (in List)
 
function editProperties (in me, in properties)
 method to modify a set of properties
 
function setProp (in me, in property, in value)
 method to fast change a particular value. This is useful for use in anonymous functions, like in the state machine.
 
function initialiseGlobals (in me, in doReset, in doOpen)
 
function initialiseSaveFile (in me)
 Initialise Save prefix.
 
function checkPaths (in me)
 checks the paths are valid
 

Public Attributes

Property verbose
 verbosity
 
Property io
 the hardware object
 
Property silentMode
 
Property stimOFFValue
 
Property isOpen
 
Property sendValue
 
Property lastValue
 
- Public Attributes inherited from optickaCore
Property name
 object name
 
Property comment
 comment
 
Property verbose
 verbose logging, subclasses must assign this. This is normally logical true/false
 
Property dateStamp
 clock() dateStamp set on construction
 
Property uuid
 universal ID
 
Property paths
 storage of various paths
 
Property fullName
 The fullName is the object name combined with its uuid and class name.
 

Additional Inherited Members

- Static Public Member Functions inherited from optickaCore
static function makeArgs (in args)
 Converts cell args to structure array.
 
static function addDefaults (in args, in defs)
 add default options to arg input
 
static function hasKey (in in, in key)
 check if a struct / object has a propery / field
 
static function getKeys (in device)
 PTB Get key presses, stops key bouncing.
 
- Protected Member Functions inherited from optickaCore
function parseArgs (in me, in args, in allowedProperties)
 Sets properties from a structure or normal arguments pairs, ignores invalid or non-allowed properties.
 
function addArgs (in me, in args)
 
function setPaths (in me)
 Sets properties from a structure or normal arguments pairs, ignores invalid or non-allowed properties.
 
function getFonts (in me)
 set paths for object
 
function toStructure (in me)
 Converts properties to a structure.
 
function getType (in me, in in)
 
function logOutput (in me, in in, in message, in override)
 Give a metaproperty return the likely property class.
 
function salutation (in me, in varargin)
 Prints messages dependent on verbosity.
 
- Protected Attributes inherited from optickaCore
Property cloning
 are we cloning this from another object
 
Property mversion
 Matlab version number, this is transient so it is not saved.
 
Property sansFont
 sans font
 
Property monoFont
 monoFont
 
Property className
 class name
 
Property savePrefix
 save prefix generated from clock time
 
Property fullName_
 cached full name
 

Constructor & Destructor Documentation

◆ ioManager()

function ioManager::ioManager ( in  varargin)

Class constructor.

Parameters
<br>

Member Function Documentation

◆ breakFixation()

function ioManager::breakFixation ( in  obj)
Parameters
<br>

◆ close()

function ioManager::close ( in  obj,
in  varargin 
)
Parameters
<br>

◆ correct()

function ioManager::correct ( in  obj)
Parameters
<br>

◆ delete()

function ioManager::delete ( in  obj)

Delete method, closes gracefully.

◆ incorrect()

function ioManager::incorrect ( in  obj)
Parameters
<br>

◆ open()

function ioManager::open ( in  obj,
in  varargin 
)
Parameters
<br>

◆ pauseRecording()

function ioManager::pauseRecording ( in  obj,
in  value 
)
Parameters
<br>

◆ prepareStrobe()

function ioManager::prepareStrobe ( in  obj,
in  value 
)
Parameters
<br>

◆ resetStrobe()

function ioManager::resetStrobe ( in  obj,
in  varargin 
)
Parameters
<br>

◆ resumeRecording()

function ioManager::resumeRecording ( in  obj,
in  value 
)
Parameters
<br>

◆ rstart()

function ioManager::rstart ( in  obj,
in  varargin 
)
Parameters
<br>

◆ rstop()

function ioManager::rstop ( in  obj,
in  varargin 
)
Parameters
<br>

◆ sendStrobe()

function ioManager::sendStrobe ( in  obj,
in  value 
)
Parameters
<br>

◆ sendTTL()

function ioManager::sendTTL ( in  obj,
in  value 
)
Parameters
<br>

◆ startFixation()

function ioManager::startFixation ( in  obj)
Parameters
<br>

◆ startRecording()

function ioManager::startRecording ( in  obj,
in  value 
)
Parameters
<br>

◆ stopRecording()

function ioManager::stopRecording ( in  obj,
in  value 
)
Parameters
<br>

◆ strobeServer()

function ioManager::strobeServer ( in  obj,
in  value 
)
Parameters
<br>

◆ timedTTL()

function ioManager::timedTTL ( in  obj,
in  varargin 
)
Parameters
<br>

◆ triggerStrobe()

function ioManager::triggerStrobe ( in  obj,
in  varargin 
)
Parameters
<br>

◆ type()

function get ioManager::type ( in  obj)
Parameters
<br>

Member Data Documentation

◆ io

Property ioManager::io

the hardware object

◆ isOpen

Property ioManager::isOpen

◆ lastValue

Property ioManager::lastValue

◆ sendValue

Property ioManager::sendValue

◆ silentMode

Property ioManager::silentMode

◆ stimOFFValue

Property ioManager::stimOFFValue

◆ verbose

Property ioManager::verbose

verbosity


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