Public Member Functions | Public Attributes

unlock.state.timed_stimuli.TimedStimulus Class Reference

Inheritance diagram for unlock.state.timed_stimuli.TimedStimulus:
unlock.state.state.UnlockState

List of all members.

Public Member Functions

def __init__
def get_state
def start
def stop
def process_command

Public Attributes

 time_state
 seq_state
 state
 count
 repeat_count
 logger

Detailed Description

Emits a sequence of values at fixed time interval.
time_state: manages the time (when to emit the next value)
seq_state: manages the values to emit (on, on, off, on, off, on, off, off, etc..)

Member Function Documentation

def unlock.state.timed_stimuli.TimedStimulus.__init__ (   self,
  time_state,
  seq_state,
  repeat_count = 150 
)
def unlock.state.timed_stimuli.TimedStimulus.get_state (   self  ) 

Reimplemented from unlock.state.state.UnlockState.

def unlock.state.timed_stimuli.TimedStimulus.process_command (   self,
  command 
)
Updates the stimulus to the next state in the presentation
sequence if the time state is exceeded.

A value of Trigger.Start is returned at the start of the sequence.

Reimplemented from unlock.state.state.UnlockState.

def unlock.state.timed_stimuli.TimedStimulus.start (   self  ) 

Reimplemented from unlock.state.state.UnlockState.

def unlock.state.timed_stimuli.TimedStimulus.stop (   self  ) 

Reimplemented from unlock.state.state.UnlockState.


Member Data Documentation


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