ot::SpeechControlSource Class Reference

#include <SpeechControlSource.h>

Inheritance diagram for ot::SpeechControlSource:

Inheritance graph
[legend]
Collaboration diagram for ot::SpeechControlSource:

Collaboration graph
[legend]
List of all members.

Public Member Functions

bool push ()
void speak (const char *sentence)
void setListening (bool lis)
void setMoving (bool mov)
void setEvent (Event &newEvent)
void setSavedEvent (int i, Event &s)
bool isMoving ()
bool isWasMoving ()
bool isSavedEventAvailable (int i)
double getFeedbackAvoidanceTime (double syl)
EventgetEvent ()
EventgetSavedEvent (int i)
CommandStackgetCmdStack ()
CommandgetLastCmd ()

Protected Member Functions

 SpeechControlSource (SpeechControlModule *speechControlModule_, SpeechSetBase *speechSet_)
 ~SpeechControlSource ()

Protected Attributes

bool moving
bool wasMoving
bool listening
bool savedEventAvailable [5]
Event savedEvents [5]
double listeningStartTime
double lastSpeakTime
double feedbackAvoidanceTime
CommandStackcmdStack

Friends

class SpeechControlModule

Constructor & Destructor Documentation

ot::SpeechControlSource::SpeechControlSource SpeechControlModule speechControlModule_,
SpeechSetBase speechSet_
[protected]
 

ot::SpeechControlSource::~SpeechControlSource  )  [protected]
 


Member Function Documentation

CommandStack& ot::SpeechControlSource::getCmdStack  )  [inline]
 

Event& ot::SpeechControlSource::getEvent  )  [inline]
 

double ot::SpeechControlSource::getFeedbackAvoidanceTime double  syl  )  [inline]
 

Command* ot::SpeechControlSource::getLastCmd  )  [inline]
 

Event& ot::SpeechControlSource::getSavedEvent int  i  )  [inline]
 

bool ot::SpeechControlSource::isMoving  )  [inline]
 

bool ot::SpeechControlSource::isSavedEventAvailable int  i  )  [inline]
 

bool ot::SpeechControlSource::isWasMoving  )  [inline]
 

bool ot::SpeechControlSource::push void   ) 
 

pushes event down the line. Needed to access protected updateObservers method in EventGenerator

Reimplemented from ot::SpeechSource.

void ot::SpeechControlSource::setEvent Event newEvent  )  [inline]
 

void ot::SpeechControlSource::setListening bool  lis  )  [inline]
 

void ot::SpeechControlSource::setMoving bool  mov  )  [inline]
 

void ot::SpeechControlSource::setSavedEvent int  i,
Event s
[inline]
 

void ot::SpeechControlSource::speak const char *  sentence  )  [inline]
 


Friends And Related Function Documentation

friend class SpeechControlModule [friend]
 


Member Data Documentation

CommandStack* ot::SpeechControlSource::cmdStack [protected]
 

double ot::SpeechControlSource::feedbackAvoidanceTime [protected]
 

double ot::SpeechControlSource::lastSpeakTime [protected]
 

bool ot::SpeechControlSource::listening [protected]
 

double ot::SpeechControlSource::listeningStartTime [protected]
 

bool ot::SpeechControlSource::moving [protected]
 

bool ot::SpeechControlSource::savedEventAvailable[5] [protected]
 

Event ot::SpeechControlSource::savedEvents[5] [protected]
 

bool ot::SpeechControlSource::wasMoving [protected]
 


The documentation for this class was generated from the following file:
Generated on Wed Feb 28 15:33:02 2007 for NaviTrack by  doxygen 1.4.6