Main Page   Hardware Class Hierarchy   Hardware API     Mapping Class Hierarchy  Mapping API 

oDialogue Class Reference

An object that provides a simple user interface using an oLCD and and oKeypad. More...

#include <odialogue.h>

Inheritance diagram for oDialogue:

oKeypad oDialogueSpeaker oDialogueTTS oDialogueTTSuCOS

Public Member Functions

 oDialogue (IOLINE)
void get (const char *const titleline, point &p, void *const speaker=NULL)
 Allows user to enter a point from Keypad and echos to LCD. Will prompt for both X and Y coordinates.

int get (const char *const titleline, int &i, void *const speaker=NULL)
 Allows user to enter an integer from Keypad and echos to LCD.

bool confirm (const char *const message, void *const speaker=NULL)
 Prompts user to confirm operation (0=no/1=yes).

char prompt (const char *const titleline, char &c, void *const speaker)
 Gets a character without need for CR ('D') entry.

void inform (const char *const imessage)
int query (int *const variable, char *message, WSIM_ID ID, void *const speaker)
void query_waypoints (void *_speaker)
virtual void wait (void)=0
virtual void sound (void *const speaker, int, int, char)=0
void Dbuffer (volatile word *inbuffer, uint16 ilen)

Protected Member Functions

 oDialogue (void)

Detailed Description

An object that provides a simple user interface using an oLCD and and oKeypad.

Operation
Really, an object composed of simply all functions from both an oLCD and a oKeypad with additional methods added. Uses Multiple inheritance .


Constructor & Destructor Documentation

oDialogue IOLINE   ) 
 

oDialogue void   )  [protected]
 


Member Function Documentation

bool confirm const char *const  message,
void *const  speaker = NULL
 

Prompts user to confirm operation (0=no/1=yes).

void Dbuffer volatile word inbuffer,
uint16  ilen
 

int get const char *const  titleline,
int &  i,
void *const  speaker = NULL
 

Allows user to enter an integer from Keypad and echos to LCD.

void get const char *const  titleline,
point p,
void *const  speaker = NULL
 

Allows user to enter a point from Keypad and echos to LCD. Will prompt for both X and Y coordinates.

void inform const char *const  imessage  ) 
 

char prompt const char *const  titleline,
char &  c,
void *const  speaker
 

Gets a character without need for CR ('D') entry.

int query int *const  variable,
char *  message,
WSIM_ID  ID,
void *const  speaker
 

void query_waypoints void *  _speaker  ) 
 

virtual void sound void *const  speaker,
int  ,
int  ,
char 
[pure virtual]
 

Implemented in oDialogueSpeaker, and oDialogueTTS.

virtual void wait void   )  [pure virtual]
 

Implemented in oDialogueSpeaker, oDialogueTTS, and oDialogueTTSuCOS.


Generated on Mon Oct 8 19:32:26 2007 for OOMRM Mapping API by doxygen1.3