![]() |
VR-Forces 4.3.1 Class Documentation
|
DtIfAskUserQuestion class will allow the back-end to send a message to the front end to ask the user a question based on the supplied script id and question id. More...

Public Member Functions | |
| DtIfAskUserQuestion () | |
| default constructor | |
| virtual | ~DtIfAskUserQuestion () |
| destructor | |
| DtIfAskUserQuestion (const DtIfAskUserQuestion &orig) | |
| copy constructor | |
| DtIfAskUserQuestion & | operator= (const DtIfAskUserQuestion &orig) |
| assignment operator | |
| virtual int | type () const |
| virtual DtSimInterfaceContent * | clone () const |
| virtual int | netRepSize () const |
| virtual bool | setFromNet (const char *contentBuffer, unsigned contentSize) |
| virtual bool | setToNet () |
| virtual void | printDataToString (DtString &str) |
| virtual void | setQuestionRespondingTo (const DtString &scriptId, const DtString &entityName, int questionId) |
| Sets the script id and question id that this operation represents. | |
| virtual void | questionRespondingTo (DtString &scriptId, DtString &entityName, int &questionId) const |
| virtual const DtString & | scriptId () const |
| virtual const DtString & | entityName () const |
| virtual int | questionId () const |
| virtual void | setOptions (const std::vector< DtRwTranslatableStringObject > &) |
| Sets the options to display to the user. | |
| virtual std::vector < DtRwTranslatableStringObject > | options () const |
| virtual void | setTitle (const DtRwTranslatableStringObject &) |
| Message box title accessors. | |
| virtual const DtRwTranslatableStringObject & | title () const |
| virtual void | setMessage (const DtRwTranslatableStringObject &) |
| Message box message body accessors. | |
| virtual const DtRwTranslatableStringObject & | message () const |
| virtual void | setDisplayFlags (int) |
| Display flag accessors. | |
| virtual int | displayFlags () const |
| const DtRwUserQuestion & | question () const |
| Returns the user question class. | |
| DtRwUserQuestion & | question () |
Static Public Member Functions | |
| static DtSimInterfaceContent * | creator () |
Protected Attributes | |
| DtRwUserQuestion | myUserQuestion |
| DtString | myEntityName |
DtIfAskUserQuestion class will allow the back-end to send a message to the front end to ask the user a question based on the supplied script id and question id.
The front-end will display this message in the object console and the user can select the question to answer
| DtIfAskUserQuestion::DtIfAskUserQuestion | ( | ) |
default constructor
|
virtual |
destructor
| DtIfAskUserQuestion::DtIfAskUserQuestion | ( | const DtIfAskUserQuestion & | orig | ) |
copy constructor
| DtIfAskUserQuestion& DtIfAskUserQuestion::operator= | ( | const DtIfAskUserQuestion & | orig | ) |
assignment operator
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
static |
|
virtual |
Sets the script id and question id that this operation represents.
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
Sets the options to display to the user.
|
virtual |
|
virtual |
Message box title accessors.
|
virtual |
|
virtual |
Message box message body accessors.
|
virtual |
|
virtual |
Display flag accessors.
Values currently supported are 0 - Buttons 1 - Radio buttons 2 - Combo box
|
virtual |
|
inline |
Returns the user question class.
|
inline |
|
protected |
|
protected |