![]() |
VR-Forces 4.6.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 DtUUID &entity, int questionId) |
| Sets the script id and question id that this operation represents. | |
| virtual void | questionRespondingTo (DtString &scriptId, DtUUID &entity, int &questionId) const |
| virtual const DtString & | scriptId () const |
| virtual const DtUUID & | entity () 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 () |
Public Member Functions inherited from DtSimInterfaceContent | |
| virtual | ~DtSimInterfaceContent () |
| virtual bool | update (const DtSimInterfaceContent *data) |
| virtual char * | netRep () |
| virtual void | printContentType (DtString &str) |
| virtual void | setUseSessionId (bool yesNo) |
| virtual bool | useSessionId () const |
Static Public Member Functions | |
| static DtSimInterfaceContent * | creator () |
Static Public Member Functions inherited from DtSimInterfaceContent | |
| static DtSimInterfaceContent * | createInterfaceContent (int type) |
| static void | addInterfaceContentCreatorFcn (int type, DtInterfaceContentCreatorFcn fcn) |
| static void | setFactory (DtInterfaceContentFactory *factory) |
| static DtInterfaceContentFactory * | factory () |
| static void | registerContentTypePrinter (DtSimInterfaceContentTypePrinterFcn printFcn) |
Protected Attributes | |
| DtRwUserQuestion | myUserQuestion |
| DtUUID | myEntity |
Protected Attributes inherited from DtSimInterfaceContent | |
| char * | myNetRep |
| bool | myUseSessionId |
Additional Inherited Members | |
Protected Member Functions inherited from DtSimInterfaceContent | |
| DtSimInterfaceContent () | |
| DtSimInterfaceContent (const DtSimInterfaceContent &orig) | |
| const DtSimInterfaceContent & | operator= (const DtSimInterfaceContent &orig) |
| virtual char * | createNetworkBuffer () |
Static Protected Attributes inherited from DtSimInterfaceContent | |
| static DtInterfaceContentFactory * | myFactory |
| static DtSimInterfaceContentTypePrinterFcn | theContentTypePrinterFcn |
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 |
Implements DtSimInterfaceContent.
|
virtual |
Implements DtSimInterfaceContent.
|
virtual |
Reimplemented from DtSimInterfaceContent.
|
virtual |
Reimplemented from DtSimInterfaceContent.
|
virtual |
Reimplemented from DtSimInterfaceContent.
|
virtual |
Reimplemented from DtSimInterfaceContent.
|
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 |