![]() |
VR-Forces 4.3.1 Class Documentation
|

Public Member Functions | |
| DtTaskNbcAttackDialog (makVrv::DtDe &de, QWidget *parent, const DtString &nbcCategory, const DtEntityType &nbcEntityType, const Qt::WindowFlags &flags=0) | |
| virtual | ~DtTaskNbcAttackDialog () |
| virtual DtString | agentType () const |
| The agent type used in the attack. | |
| virtual void | setAgentType (const DtString &) |
| virtual DtEntityType | contaminationAreaType () const |
| The contamination area type which will be created a result of this attack. | |
| virtual DtVector | targetLocation () const |
| The center location of the NBC attack. | |
| virtual void | setTargetLocation (const DtVector &) |
Public Member Functions inherited from makVrf::DtBaseTaskSetDialogInterface | |
| DtBaseTaskSetDialogInterface (makVrv::DtDe &de, QWidget *parent, const Qt::WindowFlags &flags=0) | |
| virtual | ~DtBaseTaskSetDialogInterface () |
| virtual void | run (const std::vector< makVrv::DtSimEntry * > &) |
| Calls setupGui and shows the dialog. | |
| virtual void | setOKEnabled (bool) |
| Enables/disables OK button. | |
| int | accepted () const |
| 0 - Closed without pressing cancel or ok 1 - Closed by ok 2 - Closed by cancel | |
Public Member Functions inherited from makVrf::DtTaskSetDialogInterface | |
| DtTaskSetDialogInterface (makVrv::DtDe &de, QWidget *parent, const Qt::WindowFlags &flags=0) | |
| virtual | ~DtTaskSetDialogInterface () |
| virtual void | connectSignals (const std::vector< makVrv::DtSimEntry * > &) |
| Setup signals to cancel dialog if all objects deleted that this dialog is representing. | |
| virtual void | setSendToRemoteController (bool b) |
| Set to true to send the message immediately to the remote controller given the currently selected entities when the dialog was created. | |
| virtual bool | sendToRemoteController () const |
| virtual void | selectionChanged (const QString &selection) |
| Notify dialog of selection changes from attached dialogs. | |
| virtual void | sendSetRequest (std::vector< std::string > names, const DtSetDataRequest &) |
| Sends signal to send out set. | |
| virtual bool | insertMapFocusHandler (DtMapFocusHandler *, int index=-1) |
| If a dialog has manages map focus handlers, inserts this map focus handler into the chain. | |
| virtual void | initializeFromAction (DtVrfTaskSetAction *) |
| Intializes contents from action as an action could have relevant properties assigned to it containing additional data. | |
| virtual void | sendTaskRequest (std::vector< std::string > names, const DtSimTask &) |
| Sends signal to send out task. | |
| virtual std::vector< std::string > | names () const |
| virtual void | setPartOfPlan (int b) |
| 0 - Not part of plan dialog 1 - Part of plan dialog 2 - Part of command widget 3 - Part of embedded entity menu | |
| int | partOfPlan () const |
| virtual void | cancel () |
| Sends out cancel signal. | |
| virtual QWidget * | widget () |
| Returns the widget. | |
| const std::vector < makVrv::DtSimEntry * > & | connectedTo () const |
Public Member Functions inherited from makVrf::DtCommandDialogExtensionInterface | |
| virtual | ~DtCommandDialogExtensionInterface () |
| virtual bool | initiallyBroadcast () const |
| Whether or not to initially set to broadcast. Default is false. | |
| virtual void | onCancel ()=0 |
| virtual makVrv::DtUnicode | broadcastTitle () const |
Public Attributes | |
| QWidget * | myCanvas |
| QGridLayout * | myGridLayout |
| DtLocationEntryWidget * | myTargetLocation |
| QLabel * | myAgentTypeLabel |
| QComboBox * | myAgentType |
| DtString | myNbcCategory |
| DtEntityType | myNbcEntityType |
Public Attributes inherited from makVrf::DtBaseTaskSetDialogInterface | |
| QVBoxLayout * | myMasterLayout |
| QHBoxLayout * | myButtonLayout |
| QPushButton * | myOKButton |
| QPushButton * | myCancelButton |
| char | myAccepted |
Protected Member Functions | |
| virtual QWidget * | contents (const std::vector< makVrv::DtSimEntry * > &data) |
| Creates set dialog contents. Called from setupGui. | |
| virtual void | setupStatement (const DtSimStatement *stmt) |
| virtual void | sendRequest () |
| Override to send the set or task request. | |
| virtual void | setupFrom (const std::vector< makVrv::DtSimEntry * > &d) |
| Sets up dialog by asking logic to do it. | |
| virtual bool | valid () const |
| Override to return whether or not extension is valid. | |
Protected Member Functions inherited from makVrf::DtBaseTaskSetDialogInterface | |
| virtual void | setupGui (const std::vector< makVrv::DtSimEntry * > &) |
| Sets up the ok/cancel buttons. | |
| virtual void | postGuiSetup (const std::vector< makVrv::DtSimEntry * > &data) |
| Called after setupGui to set up other items in the gui (fill combo boxes, initial text edit, etc) | |
| virtual void | initializeItems (const std::vector< makVrv::DtSimEntry * > &data) |
| Override for dialogs that need item initialization. | |
| virtual void | closeEvent (QCloseEvent *) |
| Figure out if a cancelled signal needs to be sent. | |
| virtual bool | editStatement (const std::vector< makVrv::DtSimEntry * > &, const DtSimStatement *) |
| Edits the current statement. Return true if the statement can be edited. | |
| virtual bool | wantsSelectionOfObjectInCommandMode () const |
| Override to return false if, when this task is used as part of a simulation command, it does not want to allow to choose an object to apply the command to. | |
| virtual void | sendSetRequest (const DtSetDataRequest &) |
| virtual void | sendTaskRequest (const DtSimTask &) |
| virtual void | sendCommandRequest (const DtSimCommandObjectWrapper &) |
| Sends signal to send out command. | |
Protected Member Functions inherited from makVrf::DtTaskSetDialogInterface | |
| virtual void | slot_objectAboutToBeRemoved (makVrv::DtSimObjectEntry &) |
| virtual std::vector< std::string > | commandDialogFiltersFor (const std::vector< makVrv::DtSimEntry * > &data, const DtSimStatement *stmt, int &initialSelection) const |
| If part of a command dialog the filters to use for the command dialog selection. | |
Additional Inherited Members | |
Protected Slots inherited from makVrf::DtBaseTaskSetDialogInterface | |
| virtual void | onOk () |
| virtual void | onCancel () |
Protected Attributes inherited from makVrf::DtTaskSetDialogInterface | |
| makVrv::DtDe & | myDe |
| int | myPartOfPlan |
| std::vector< makVrv::DtSimEntry * > | myConnectedTo |
| bool | mySendToRemoteController |
| makVrf::DtTaskNbcAttackDialog::DtTaskNbcAttackDialog | ( | makVrv::DtDe & | de, |
| QWidget * | parent, | ||
| const DtString & | nbcCategory, | ||
| const DtEntityType & | nbcEntityType, | ||
| const Qt::WindowFlags & | flags = 0 |
||
| ) |
|
virtual |
|
virtual |
The agent type used in the attack.
|
virtual |
|
virtual |
The contamination area type which will be created a result of this attack.
This is a function of the selected agent type.
|
virtual |
The center location of the NBC attack.
|
virtual |
|
protectedvirtual |
Creates set dialog contents. Called from setupGui.
Implements makVrf::DtBaseTaskSetDialogInterface.
|
protectedvirtual |
Reimplemented from makVrf::DtBaseTaskSetDialogInterface.
|
protectedvirtual |
Override to send the set or task request.
Implements makVrf::DtBaseTaskSetDialogInterface.
|
protectedvirtual |
Sets up dialog by asking logic to do it.
Reimplemented from makVrf::DtBaseTaskSetDialogInterface.
|
protectedvirtual |
Override to return whether or not extension is valid.
Reimplemented from makVrf::DtBaseTaskSetDialogInterface.
| QWidget* makVrf::DtTaskNbcAttackDialog::myCanvas |
| QGridLayout* makVrf::DtTaskNbcAttackDialog::myGridLayout |
| DtLocationEntryWidget* makVrf::DtTaskNbcAttackDialog::myTargetLocation |
| QLabel* makVrf::DtTaskNbcAttackDialog::myAgentTypeLabel |
| QComboBox* makVrf::DtTaskNbcAttackDialog::myAgentType |
| DtString makVrf::DtTaskNbcAttackDialog::myNbcCategory |
| DtEntityType makVrf::DtTaskNbcAttackDialog::myNbcEntityType |