![]() |
VR-Forces 4.8 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 More... | |
| virtual | ~DtIfUserQuestionOperation () |
| destructor More... | |
| DtIfUserQuestionOperation (const DtIfUserQuestionOperation &orig) | |
| copy constructor More... | |
| DtIfUserQuestionOperation & | operator= (const DtIfUserQuestionOperation &orig) |
| assignment operator More... | |
| virtual int | type () const |
| Returns the type of Interface Content; DtRemoveEntityMessageName. More... | |
| 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. More... | |
| virtual int | operation () const |
| virtual void | setQuestionRespondingTo (const DtString &scriptId, const DtUUID &entity, int questionId) |
| Sets the script id and question id that this operation represents. More... | |
| virtual void | questionRespondingTo (DtString &scriptId, DtUUID &entity, int &questionId) const |
| virtual const DtString & | scriptId () const |
| virtual int | questionId () const |
| virtual const DtUUID & | entity () const |
| virtual void | setResponse (const DtScriptedTaskTask &) |
| Sets the values that are used as a response to this question. More... | |
| virtual const DtScriptedTaskTask & | response () const |
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 | |
| int | myOperation |
| DtString | myScriptId |
| int | myQuestionId |
| DtUUID | myEntity |
| DtScriptedTaskTask | myResponse |
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 |
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.
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 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 |