![]() |
VR-Forces 4.3 Class Documentation
|
The DtIfUserQuestionOperation class will be used to either cancel a user question or supply a response to a user question. More...

Public Member Functions | |
| DtIfUserQuestionOperation () | |
| default constructor | |
| virtual | ~DtIfUserQuestionOperation () |
| destructor | |
| DtIfUserQuestionOperation (const DtIfUserQuestionOperation &orig) | |
| copy constructor | |
| DtIfUserQuestionOperation & | operator= (const DtIfUserQuestionOperation &orig) |
| assignment operator | |
| virtual int | type () const |
| Returns the type of Interface Content; DtRemoveEntityMessageName. | |
| 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 | setOperation (int) |
| Sets the operation. | |
| virtual int | operation () const |
| 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 int | questionId () const |
| virtual const DtString & | entityName () const |
| virtual void | setResponse (const DtScriptedTaskTask &) |
| Sets the values that are used as a response to this question. | |
| virtual const DtScriptedTaskTask & | response () const |
Static Public Member Functions | |
| static DtSimInterfaceContent * | creator () |
Protected Attributes | |
| int | myOperation |
| DtString | myScriptId |
| int | myQuestionId |
| DtString | myEntityName |
| DtScriptedTaskTask | myResponse |
The DtIfUserQuestionOperation class will be used to either cancel a user question or supply a response to a user question.
While the response to the question allows for a complex response to be included in the message, currently (in 4.3 of VR-Forces) only a single operation response is allowed. This will be a DtRwInt that contains the selection with the RW name "UserQuestionResponse"
| DtIfUserQuestionOperation::DtIfUserQuestionOperation | ( | ) |
default constructor
|
virtual |
destructor
| DtIfUserQuestionOperation::DtIfUserQuestionOperation | ( | const DtIfUserQuestionOperation & | orig | ) |
copy constructor
| DtIfUserQuestionOperation& DtIfUserQuestionOperation::operator= | ( | const DtIfUserQuestionOperation & | orig | ) |
assignment operator
|
virtual |
Returns the type of Interface Content; DtRemoveEntityMessageName.
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
static |
|
virtual |
Sets the operation.
Values can be: 0 - Cancel question 1 - Question response 2 - Request all outstanding messages of either the entity or all entities (blank entity name), and optional script id
|
virtual |
|
virtual |
Sets the script id and question id that this operation represents.
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
Sets the values that are used as a response to this question.
It is in the form of a scripted task task reader/writer item
|
virtual |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |