Opticka 2.16.1
Opticka is an experiment manager for behavioral research.
Loading...
Searching...
No Matches
nirSmartManager 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 nirSmartManager:

Public Member Functions

function nirSmartManager (in varargin)
 Class constructor.
 
function open (in me, in varargin)
 
function close (in me, in varargin)
 
function prepareStrobe (in me, in value)
 
function sendStrobe (in me, in value)
 
function resetStrobe (in me, in varargin)
 
function triggerStrobe (in me, in varargin)
 
function strobeServer (in me, in value)
 
function sendTTL (in me, in value)
 
function startRecording (in me, in value)
 
function resumeRecording (in me, in value)
 
function pauseRecording (in me, in value)
 
function stopRecording (in me, in value)
 
function startFixation (in me)
 
function correct (in me)
 
function incorrect (in me)
 
function breakFixation (in me)
 
function rstart (in me, in varargin)
 
function rstop (in me, in varargin)
 
function timedTTL (in me, in varargin)
 
function delete (in me)
 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 ip
 
Property port
 
Property io
 the hardware object
 
Property silentMode
 
Property stimOFFValue
 
Property verbose
 
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

◆ nirSmartManager()

function nirSmartManager::nirSmartManager ( in  varargin)

Class constructor.

Parameters
<br>

Member Function Documentation

◆ breakFixation()

function nirSmartManager::breakFixation ( in  me)
Parameters
<br>

◆ close()

function nirSmartManager::close ( in  me,
in  varargin 
)
Parameters
<br>

◆ correct()

function nirSmartManager::correct ( in  me)
Parameters
<br>

◆ delete()

function nirSmartManager::delete ( in  me)

Delete method, closes gracefully.

◆ incorrect()

function nirSmartManager::incorrect ( in  me)
Parameters
<br>

◆ open()

function nirSmartManager::open ( in  me,
in  varargin 
)
Parameters
<br>

◆ pauseRecording()

function nirSmartManager::pauseRecording ( in  me,
in  value 
)
Parameters
<br>

◆ prepareStrobe()

function nirSmartManager::prepareStrobe ( in  me,
in  value 
)
Parameters
<br>

◆ resetStrobe()

function nirSmartManager::resetStrobe ( in  me,
in  varargin 
)
Parameters
<br>

◆ resumeRecording()

function nirSmartManager::resumeRecording ( in  me,
in  value 
)
Parameters
<br>

◆ rstart()

function nirSmartManager::rstart ( in  me,
in  varargin 
)
Parameters
<br>

◆ rstop()

function nirSmartManager::rstop ( in  me,
in  varargin 
)
Parameters
<br>

◆ sendStrobe()

function nirSmartManager::sendStrobe ( in  me,
in  value 
)
Parameters
<br>

◆ sendTTL()

function nirSmartManager::sendTTL ( in  me,
in  value 
)
Parameters
<br>

◆ startFixation()

function nirSmartManager::startFixation ( in  me)
Parameters
<br>

◆ startRecording()

function nirSmartManager::startRecording ( in  me,
in  value 
)
Parameters
<br>

◆ stopRecording()

function nirSmartManager::stopRecording ( in  me,
in  value 
)
Parameters
<br>

◆ strobeServer()

function nirSmartManager::strobeServer ( in  me,
in  value 
)
Parameters
<br>

◆ timedTTL()

function nirSmartManager::timedTTL ( in  me,
in  varargin 
)
Parameters
<br>

◆ triggerStrobe()

function nirSmartManager::triggerStrobe ( in  me,
in  varargin 
)
Parameters
<br>

Member Data Documentation

◆ io

Property nirSmartManager::io

the hardware object

◆ ip

Property nirSmartManager::ip

◆ isOpen

Property nirSmartManager::isOpen

◆ lastValue

Property nirSmartManager::lastValue

◆ port

Property nirSmartManager::port

◆ sendValue

Property nirSmartManager::sendValue

◆ silentMode

Property nirSmartManager::silentMode

◆ stimOFFValue

Property nirSmartManager::stimOFFValue

◆ verbose

Property nirSmartManager::verbose

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