#include <iwakishi.h>
Public Member Functions | |
void | close () |
std::map< string, int > | getAtomSubtypeCounts (Conjunction &gBindings) |
void | init () |
string | makeActionDescription (BodyElement &element, int active_element, int element_id) |
string | makeFutureActionDescription (BodyElement &element) |
string | makePastActionDescription (BodyElement &element) |
void | printGlobals (Conjunction &gBindings) |
void | printHeader () |
void | printKeyboardBuffer () |
void | printMessages (const int &msg_height) |
void | printPlanTree (PlanTree &tr, const int &tree_height) |
void | processBodyElementDescriptions () |
void | push_msg (const string &msg) |
void | setBodyElementDescriptions (Node &aNode) |
TextUI () | |
UICommand | update (InteractionManager &im, int ch) |
void | updateBodyElementDescription (Node &aNode, int element_id) |
void | updateBodyElementDescriptions (Node &aNode) |
Public Attributes | |
string | keyboardBuffer |
std::list< string > | messages |
int | minTreeHeight |
int | msgPaneHeight |
int | tick_id |
VerbosityLevel | verbosity |
TextUI is the object that provides terminal-based user interface
Definition at line 71 of file iwakishi.h.
TextUI::TextUI | ( | ) | [inline] |
Definition at line 74 of file iwakishi.h.
void TextUI::close | ( | ) |
Definition at line 133 of file text_ui.cpp.
std::map< string, int > TextUI::getAtomSubtypeCounts | ( | Conjunction & | gBindings | ) |
Definition at line 418 of file text_ui.cpp.
void TextUI::init | ( | ) |
Definition at line 123 of file text_ui.cpp.
string TextUI::makeActionDescription | ( | BodyElement & | element, |
int | active_element, | ||
int | element_id | ||
) |
Definition at line 258 of file text_ui.cpp.
string TextUI::makeFutureActionDescription | ( | BodyElement & | element | ) |
Definition at line 267 of file text_ui.cpp.
string TextUI::makePastActionDescription | ( | BodyElement & | element | ) |
Definition at line 315 of file text_ui.cpp.
void TextUI::printGlobals | ( | Conjunction & | gBindings | ) |
Definition at line 438 of file text_ui.cpp.
void TextUI::printHeader | ( | ) |
Definition at line 227 of file text_ui.cpp.
void TextUI::printKeyboardBuffer | ( | ) |
Definition at line 247 of file text_ui.cpp.
void TextUI::printMessages | ( | const int & | msg_height | ) |
Definition at line 232 of file text_ui.cpp.
void TextUI::printPlanTree | ( | PlanTree & | tr, |
const int & | tree_height | ||
) |
Definition at line 138 of file text_ui.cpp.
void TextUI::push_msg | ( | const string & | msg | ) |
Definition at line 252 of file text_ui.cpp.
void TextUI::setBodyElementDescriptions | ( | Node & | aNode | ) |
Definition at line 363 of file text_ui.cpp.
UICommand TextUI::update | ( | InteractionManager & | im, |
int | ch | ||
) |
Definition at line 45 of file text_ui.cpp.
void TextUI::updateBodyElementDescription | ( | Node & | aNode, |
int | element_id | ||
) |
Definition at line 388 of file text_ui.cpp.
void TextUI::updateBodyElementDescriptions | ( | Node & | aNode | ) |
Definition at line 378 of file text_ui.cpp.
string TextUI::keyboardBuffer |
Definition at line 100 of file iwakishi.h.
std::list< string > TextUI::messages |
Definition at line 98 of file iwakishi.h.
Definition at line 97 of file iwakishi.h.
Definition at line 96 of file iwakishi.h.
int TextUI::tick_id |
Definition at line 99 of file iwakishi.h.
Definition at line 95 of file iwakishi.h.