![]() |
VR-Forces 5.0.2 Developer's Guide
|
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".

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 |
| 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 |