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

Dasher::CDasherAppInterface Class Reference

#include </home/clem/local/src/opie/inputmethods/dasher/DasherAppInterface.h>

Inheritance diagram for Dasher::CDasherAppInterface:

Inheritance graph
[legend]
List of all members.

Public Member Functions

virtual void ChangeScreen (CDasherScreen *NewScreen)=0
 Change the screen being used by the core to NewScreen.
virtual void ChangeEdit (CDashEditbox *NewEdit)=0
 Change the editbox being used by the core to NewEdit.
virtual void Train (std::string *TrainString, bool IsMore)=0
 Train the core on Trainstring.
virtual void TrainFile (std::string Filename)=0
 The file should contain UTF-8 encoded text.
virtual void GetFontSizes (std::vector< int > *FontSizes)=0
 Tell the interface how many font sizes there are and what they are.
virtual double GetCurCPM ()=0
 Provides the number of characters per minute input. (Not implemented).
virtual double GetCurFPS ()=0
 Provides the framerate that Dasher is runnin at. (Not implemented).
virtual void GetAlphabets (std::vector< std::string > *AlphabetList)=0
 Get a vector containing a list of alphabet names available to Dasher.
virtual const CAlphIO::AlphInfoGetInfo (const std::string &AlphID)=0
 Return an AlphInfo object containing the alphabet with name AlphID.
virtual void SetInfo (const CAlphIO::AlphInfo &NewInfo)=0
 Save a new or modified AlphInfo object.
virtual void DeleteAlphabet (const std::string &AlphID)=0
 Delete the alphabet with name AlphID.

Member Function Documentation

virtual void Dasher::CDasherAppInterface::ChangeEdit CDashEditbox NewEdit  )  [pure virtual]
 

Change the editbox being used by the core to NewEdit.

Implemented in Dasher::CDasherInterface.

virtual void Dasher::CDasherAppInterface::ChangeScreen CDasherScreen NewScreen  )  [pure virtual]
 

Change the screen being used by the core to NewScreen.

Implemented in Dasher::CDasherInterface.

virtual void Dasher::CDasherAppInterface::DeleteAlphabet const std::string &  AlphID  )  [pure virtual]
 

Delete the alphabet with name AlphID.

Implemented in Dasher::CDasherInterface.

virtual void Dasher::CDasherAppInterface::GetAlphabets std::vector< std::string > *  AlphabetList  )  [pure virtual]
 

Get a vector containing a list of alphabet names available to Dasher.

Implemented in Dasher::CDasherInterface.

virtual double Dasher::CDasherAppInterface::GetCurCPM  )  [pure virtual]
 

Provides the number of characters per minute input. (Not implemented).

Implemented in Dasher::CDasherInterface.

virtual double Dasher::CDasherAppInterface::GetCurFPS  )  [pure virtual]
 

Provides the framerate that Dasher is runnin at. (Not implemented).

Implemented in Dasher::CDasherInterface.

virtual void Dasher::CDasherAppInterface::GetFontSizes std::vector< int > *  FontSizes  )  [pure virtual]
 

Tell the interface how many font sizes there are and what they are.

Implemented in Dasher::CDasherInterface.

virtual const CAlphIO::AlphInfo& Dasher::CDasherAppInterface::GetInfo const std::string &  AlphID  )  [pure virtual]
 

Return an AlphInfo object containing the alphabet with name AlphID.

Implemented in Dasher::CDasherInterface.

virtual void Dasher::CDasherAppInterface::SetInfo const CAlphIO::AlphInfo NewInfo  )  [pure virtual]
 

Save a new or modified AlphInfo object.

Implemented in Dasher::CDasherInterface.

virtual void Dasher::CDasherAppInterface::Train std::string *  TrainString,
bool  IsMore
[pure virtual]
 

Train the core on Trainstring.

Parameters:
TrainString UTF-8 encoded string to train the core on
IsMore True if more text is to follow as part of the same logical sequence, false otherwise (this allows the model to make assumptions regarding whether the final character provided is in the middle of a word or not)

Implemented in Dasher::CDasherInterface.

virtual void Dasher::CDasherAppInterface::TrainFile std::string  Filename  )  [pure virtual]
 

The file should contain UTF-8 encoded text.

Implemented in Dasher::CDasherInterface.


The documentation for this class was generated from the following file:
Generated on Sat Nov 5 17:58:28 2005 for OPIE by  doxygen 1.4.2