#include <CallGUI.h>
Public Types | |
enum | TYPE { DISPLAY = bwi_msgs::QuestionDialogRequest::DISPLAY, CHOICE_QUESTION = bwi_msgs::QuestionDialogRequest::CHOICE_QUESTION, TEXT_QUESTION = bwi_msgs::QuestionDialogRequest::TEXT_QUESTION } |
Public Member Functions | |
CallGUI (const std::string &name, const TYPE type, const std::string &message, float timeOut=0.0f, const std::vector< std::string > &options=std::vector< std::string >()) | |
virtual actasp::Action * | clone () const |
actasp::Action * | cloneAndInit (const actasp::AspFluent &fluent) const |
std::string | getName () const |
std::string | getResponse () |
int | getResponseIndex () |
bool | hasFinished () const |
int | paramNumber () const |
void | run () |
Private Member Functions | |
std::vector< std::string > | getParameters () const |
Private Attributes | |
bool | done |
std::string | message |
std::string | name |
std::vector< std::string > | options |
bwi_msgs::QuestionDialog | req |
float | timeOut |
TYPE | type |
bwi_krexec::CallGUI::CallGUI | ( | const std::string & | name, |
const TYPE | type, | ||
const std::string & | message, | ||
float | timeOut = 0.0f , |
||
const std::vector< std::string > & | options = std::vector<std::string>() |
||
) |
Definition at line 12 of file CallGUI.cpp.
virtual actasp::Action* bwi_krexec::CallGUI::clone | ( | ) | const [inline, virtual] |
Implements actasp::Action.
actasp::Action * bwi_krexec::CallGUI::cloneAndInit | ( | const actasp::AspFluent & | fluent | ) | const [virtual] |
Implements actasp::Action.
Definition at line 67 of file CallGUI.cpp.
std::string bwi_krexec::CallGUI::getName | ( | ) | const [inline, virtual] |
Implements actasp::Action.
std::vector<std::string> bwi_krexec::CallGUI::getParameters | ( | ) | const [inline, private, virtual] |
Implements actasp::Action.
string bwi_krexec::CallGUI::getResponse | ( | ) |
Definition at line 49 of file CallGUI.cpp.
Definition at line 58 of file CallGUI.cpp.
bool bwi_krexec::CallGUI::hasFinished | ( | ) | const [inline, virtual] |
Implements actasp::Action.
int bwi_krexec::CallGUI::paramNumber | ( | ) | const [inline, virtual] |
Implements actasp::Action.
void bwi_krexec::CallGUI::run | ( | ) | [virtual] |
Implements actasp::Action.
Definition at line 23 of file CallGUI.cpp.
bool bwi_krexec::CallGUI::done [private] |
std::string bwi_krexec::CallGUI::message [private] |
std::string bwi_krexec::CallGUI::name [private] |
std::vector<std::string> bwi_krexec::CallGUI::options [private] |
bwi_msgs::QuestionDialog bwi_krexec::CallGUI::req [private] |
float bwi_krexec::CallGUI::timeOut [private] |
TYPE bwi_krexec::CallGUI::type [private] |