#include </home/clem/local/src/opie/inputmethods/dasher/DasherModel.h>
Inheritance diagram for Dasher::CDasherModel:


Public Member Functions | |
| CDasherModel (CDashEditbox *Editbox, CLanguageModel *LanguageModel, bool Dimensions) | |
| ~CDasherModel () | |
| void | NewFrame (unsigned long Time) |
| const double | Framerate () |
| void | SetBitrate (double TargetRate) |
| void | SetMaxBitrate (double MaxRate) |
| const myint | Rootmin () const |
| const myint | Rootmax () const |
| const myint | DasherOX () const |
| CDasherNode * | Root () const |
| int | Normalization () const |
| myint | DasherY () const |
| bool | Dimensions () const |
| void | Dump () const |
| void | Flush (const myint smousex, const myint smousey) |
| void | Set_dimensions (bool dimensions) |
| void | Tap_on_display (myint, myint, unsigned long Time) |
| void | Start () |
| void | Make_root (int whichchild) |
| void | Reparent_root (int lower, int upper) |
| void | Reset_framerate (unsigned long Time) |
| CAlphabet * | GetAlphabet () |
Public Attributes | |
| CAlphabet * | m_alphabet |
Private Member Functions | |
| CDasherNode * | Get_node_under_mouse (myint smousex, myint smousey) |
| CDasherNode * | Get_node_under_crosshair () |
| void | Get_new_root_coords (myint mousex, myint mousey) |
| void | Get_string_under_mouse (const myint smousex, const myint smousey, std::vector< symbol > &str) |
| void | Update (CDasherNode *node, CDasherNode *under, int safe) |
Private Attributes | |
| std::vector< CDasherNode * > | oldroots |
| myint | m_Rootmin |
| myint | m_Rootmax |
| myint | m_DasherY |
| myint | m_DasherOX |
| myint | m_DasherOY |
| bool | m_Dimensions |
| CDashEditbox * | m_editbox |
| CLanguageModel * | m_languagemodel |
| CLanguageModel::CNodeContext * | LearnContext |
| CFrameRate | m_fr |
| double | m_dAddProb |
| CDasherNode * | m_Root |
|
||||||||||||||||
|
Definition at line 19 of file DasherModel.cpp. References Dasher::CLanguageModel::GetRootNodeContext(), LearnContext, m_dAddProb, m_DasherOX, m_DasherOY, m_DasherY, and m_languagemodel. |
|
|
Definition at line 33 of file DasherModel.cpp. References LearnContext, m_languagemodel, m_Root, and Dasher::CLanguageModel::ReleaseNodeContext(). |
|
|
Definition at line 47 of file DasherModel.h. References m_DasherOX. |
|
|
Definition at line 50 of file DasherModel.h. References m_DasherY. |
|
|
Definition at line 51 of file DasherModel.h. References m_Dimensions. |
|
|
Definition at line 314 of file DasherModel.cpp. References Dasher::CDasherNode::Dump_node(), and m_Root. |
|
||||||||||||
|
Referenced by Dasher::CDasherView::FlushAt(). |
|
|
Definition at line 38 of file DasherModel.h. References CFrameRate::Framerate(), and m_fr. Referenced by Tap_on_display(), and Update(). |
|
||||||||||||
|
Definition at line 185 of file DasherModel.cpp. References LLONG_MIN, m_DasherOX, m_DasherY, m_fr, m_Rootmax, m_Rootmin, CFrameRate::Rxmax(), and CFrameRate::Steps(). Referenced by Tap_on_display(). |
|
|
Definition at line 83 of file DasherModel.cpp. References Dasher::CDasherNode::Get_node_under(), m_DasherOX, m_DasherOY, m_Root, m_Rootmax, m_Rootmin, and Normalization(). Referenced by Tap_on_display(). |
|
||||||||||||
|
Definition at line 91 of file DasherModel.cpp. References Dasher::CDasherNode::Get_node_under(), m_Root, m_Rootmax, m_Rootmin, and Normalization(). Referenced by Tap_on_display(). |
|
||||||||||||||||
|
Definition at line 99 of file DasherModel.cpp. References Dasher::CDasherNode::Get_string_under(), m_Root, m_Rootmax, m_Rootmin, and Normalization(). |
|
|
Definition at line 67 of file DasherModel.h. References m_alphabet. |
|
|
Definition at line 40 of file DasherModel.cpp. References Dasher::CDasherNode::Children(), Dasher::CDasherNode::Hbnd(), Dasher::CDasherNode::Lbnd(), LearnContext, Dasher::CLanguageModel::LearnNodeSymbol(), m_editbox, m_languagemodel, m_Root, m_Rootmax, m_Rootmin, Normalization(), oldroots, Dasher::CDashEditbox::output(), range, Dasher::CDasherNode::Symbol(), and t. |
|
|
Definition at line 37 of file DasherModel.h. References m_fr, and CFrameRate::NewFrame(). Referenced by Dasher::CDasherInterface::TapOn(). |
|
|
Definition at line 49 of file DasherModel.h. References m_languagemodel, and Dasher::CLanguageModel::normalization(). Referenced by Get_node_under_crosshair(), Get_node_under_mouse(), Get_string_under_mouse(), Make_root(), Dasher::CDasherView::RenderGroups(), and Start(). |
|
||||||||||||
|
Definition at line 63 of file DasherModel.cpp. References Dasher::CDashEditbox::deletetext(), m_editbox, m_Root, m_Rootmax, m_Rootmin, and oldroots. |
|
|
Definition at line 63 of file DasherModel.h. References m_fr, and CFrameRate::Reset(). Referenced by Dasher::CDasherInterface::Unpause(). |
|
|
Definition at line 48 of file DasherModel.h. References m_Root. |
|
|
Definition at line 46 of file DasherModel.h. References m_Rootmax. |
|
|
Definition at line 45 of file DasherModel.h. References m_Rootmin. |
|
|
Definition at line 57 of file DasherModel.h. References m_Dimensions. Referenced by Dasher::CDasherInterface::SetDasherDimensions(). |
|
|
Definition at line 41 of file DasherModel.h. References m_fr, and CFrameRate::SetBitrate(). |
|
|
Definition at line 42 of file DasherModel.h. References m_fr, and CFrameRate::SetMaxBitrate(). Referenced by Dasher::CDasherInterface::ChangeMaxBitRate(), and Dasher::CDasherInterface::CreateDasherModel(). |
|
|
||||||||||||||||
|
Definition at line 246 of file DasherModel.cpp. References Framerate(), Get_new_root_coords(), Get_node_under_crosshair(), Get_node_under_mouse(), m_Root, Dasher::CDasherNode::Push_Node(), Random(), and Update(). |
|
||||||||||||||||
|
Definition at line 122 of file DasherModel.cpp. References Framerate(). Referenced by Tap_on_display(). |
|
|
Definition at line 90 of file DasherModel.h. Referenced by CDasherModel(), Make_root(), Start(), and ~CDasherModel(). |
|
|
Definition at line 65 of file DasherModel.h. Referenced by GetAlphabet(). |
|
|
Definition at line 95 of file DasherModel.h. Referenced by CDasherModel(). |
|
|
Definition at line 80 of file DasherModel.h. Referenced by CDasherModel(), DasherOX(), Get_new_root_coords(), and Get_node_under_crosshair(). |
|
|
Definition at line 83 of file DasherModel.h. Referenced by CDasherModel(), and Get_node_under_crosshair(). |
|
|
Definition at line 77 of file DasherModel.h. Referenced by CDasherModel(), DasherY(), Get_new_root_coords(), and Start(). |
|
|
Definition at line 86 of file DasherModel.h. Referenced by Dimensions(), and Set_dimensions(). |
|
|
Definition at line 88 of file DasherModel.h. Referenced by Make_root(), Reparent_root(), and Start(). |
|
|
Definition at line 91 of file DasherModel.h. Referenced by Framerate(), Get_new_root_coords(), NewFrame(), Reset_framerate(), SetBitrate(), and SetMaxBitrate(). |
|
|
Definition at line 89 of file DasherModel.h. Referenced by CDasherModel(), Make_root(), Normalization(), Start(), and ~CDasherModel(). |
|
|
Definition at line 99 of file DasherModel.h. Referenced by Dump(), Get_node_under_crosshair(), Get_node_under_mouse(), Get_string_under_mouse(), Make_root(), Reparent_root(), Root(), Start(), Tap_on_display(), and ~CDasherModel(). |
|
|
Definition at line 74 of file DasherModel.h. Referenced by Get_new_root_coords(), Get_node_under_crosshair(), Get_node_under_mouse(), Get_string_under_mouse(), Make_root(), Reparent_root(), Rootmax(), and Start(). |
|
|
Definition at line 74 of file DasherModel.h. Referenced by Get_new_root_coords(), Get_node_under_crosshair(), Get_node_under_mouse(), Get_string_under_mouse(), Make_root(), Reparent_root(), Rootmin(), and Start(). |
|
|
Definition at line 71 of file DasherModel.h. Referenced by Make_root(), and Reparent_root(). |
1.4.2