Public Types | Public Member Functions | Private Member Functions | Private Attributes
bwi_krexec::CallGUI Class Reference

#include <CallGUI.h>

Inheritance diagram for bwi_krexec::CallGUI:
Inheritance graph
[legend]

List of all members.

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::Actionclone () const
actasp::ActioncloneAndInit (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

Detailed Description

Definition at line 14 of file CallGUI.h.


Member Enumeration Documentation

Enumerator:
DISPLAY 
CHOICE_QUESTION 
TEXT_QUESTION 

Definition at line 17 of file CallGUI.h.


Constructor & Destructor Documentation

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.


Member Function Documentation

virtual actasp::Action* bwi_krexec::CallGUI::clone ( ) const [inline, virtual]

Implements actasp::Action.

Definition at line 41 of file CallGUI.h.

Implements actasp::Action.

Definition at line 67 of file CallGUI.cpp.

std::string bwi_krexec::CallGUI::getName ( ) const [inline, virtual]

Implements actasp::Action.

Definition at line 29 of file CallGUI.h.

std::vector<std::string> bwi_krexec::CallGUI::getParameters ( ) const [inline, private, virtual]

Implements actasp::Action.

Definition at line 45 of file CallGUI.h.

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.

Definition at line 37 of file CallGUI.h.

int bwi_krexec::CallGUI::paramNumber ( ) const [inline, virtual]

Implements actasp::Action.

Definition at line 27 of file CallGUI.h.

void bwi_krexec::CallGUI::run ( ) [virtual]

Implements actasp::Action.

Definition at line 23 of file CallGUI.cpp.


Member Data Documentation

bool bwi_krexec::CallGUI::done [private]

Definition at line 54 of file CallGUI.h.

std::string bwi_krexec::CallGUI::message [private]

Definition at line 51 of file CallGUI.h.

std::string bwi_krexec::CallGUI::name [private]

Definition at line 49 of file CallGUI.h.

std::vector<std::string> bwi_krexec::CallGUI::options [private]

Definition at line 53 of file CallGUI.h.

bwi_msgs::QuestionDialog bwi_krexec::CallGUI::req [private]

Definition at line 56 of file CallGUI.h.

Definition at line 52 of file CallGUI.h.

Definition at line 50 of file CallGUI.h.


The documentation for this class was generated from the following files:


bwi_kr_execution
Author(s): Matteo Leonetti, Piyush Khandelwal
autogenerated on Thu Jun 6 2019 17:57:37