Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

SoundRequest Class Reference

Represents an acoustic message. More...

#include <SoundRequest.h>

List of all members.

Public Types

enum  SoundID {
  none, test, bark1,
  bark2, bark3, hurtdog,
  howl, growl, startMe,
  ring, space, bing01,
  bing02, bing03, bing04,
  bing05, bing06, bing07,
  rob001, rob002, rob003,
  rob004, rob005, rob006,
  rob101, okay, notokay,
  accuracy, impressive, excellent,
  numOfSoundIDs
}
 ids for all acoustic message Ids signals have to be enumerated first More...


Public Member Functions

 SoundRequest ()
 constructor

bool operator== (const SoundRequest &other) const
bool operator!= (const SoundRequest &other) const

Static Public Member Functions

const char * getSoundIDName (SoundID id)

Public Attributes

SoundID soundID
 the id of the request


Detailed Description

Represents an acoustic message.

Definition at line 21 of file SoundRequest.h.


Member Enumeration Documentation

enum SoundRequest::SoundID
 

ids for all acoustic message Ids signals have to be enumerated first

Enumeration values:
none 
test 
bark1 
bark2 
bark3 
hurtdog 
howl 
growl 
startMe 
ring 
space 
bing01 
bing02 
bing03 
bing04 
bing05 
bing06 
bing07 
rob001 
rob002 
rob003 
rob004 
rob005 
rob006 
rob101 
okay 
notokay 
accuracy 
impressive 
excellent 
numOfSoundIDs 

Definition at line 28 of file SoundRequest.h.


Constructor & Destructor Documentation

SoundRequest::SoundRequest  )  [inline]
 

constructor

Definition at line 101 of file SoundRequest.h.

References soundID.


Member Function Documentation

const char* SoundRequest::getSoundIDName SoundID  id  )  [inline, static]
 

Definition at line 62 of file SoundRequest.h.

References accuracy, bark1, bark2, bark3, bing01, bing02, bing03, bing04, bing05, bing06, bing07, excellent, growl, howl, hurtdog, impressive, notokay, okay, ring, rob001, rob002, rob003, rob004, rob005, rob006, rob101, space, startMe, and test.

Referenced by GT2004SoundControl::GT2004SoundControl().

bool SoundRequest::operator== const SoundRequest other  )  const [inline]
 

Definition at line 106 of file SoundRequest.h.

References soundID.

bool SoundRequest::operator!= const SoundRequest other  )  const [inline]
 

Definition at line 111 of file SoundRequest.h.


Member Data Documentation

SoundID SoundRequest::soundID
 

the id of the request

Definition at line 115 of file SoundRequest.h.

Referenced by GT2004SoundControl::execute(), ObstacleAvoiderOnGreenFieldERS7::execute(), ObstacleAvoiderOnGreenField::execute(), operator==(), GT2004BehaviorControl::postExecute(), GT2004BehaviorControl::preExecute(), LEDAndSoundSymbols::registerSymbols(), and SoundRequest().


The documentation for this class was generated from the following file:
Generated on Thu Sep 23 20:11:51 2004 for GT2004 by doxygen 1.3.6