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

Public Member Functions | |
| DtSetFormationDialog (makVrv::DtDe &de, QWidget *parent, const Qt::WindowFlags &flags=0) | |
| virtual | ~DtSetFormationDialog () |
Protected Types | |
| typedef std::map< std::string, makVrv::DtSimEntry * > | AwaitingFormations |
Protected Member Functions | |
| virtual bool | editStatement (const std::vector< makVrv::DtSimEntry * > &states, const DtSimStatement *s) |
| Edits the current statement. Return true if the statement can be edited. | |
| virtual QWidget * | contents (const std::vector< makVrv::DtSimEntry * > &data) |
| Creates set dialog contents. Called from setupGui. | |
| virtual void | sendRequest () |
| Override to send the set or task request. | |
| virtual void | setupStatement (const std::vector< makVrv::DtSimEntry * > &data, const DtSimStatement *stmt) |
| virtual void | setupFrom (const std::vector< makVrv::DtSimEntry * > &data) |
| Sets up dialog by asking logic to do it. | |
| virtual void | initializeItems (const std::vector< makVrv::DtSimEntry * > &data) |
| Override for dialogs that need item initialization. | |
| virtual void | setupGui (const std::vector< makVrv::DtSimEntry * > &data) |
| Sets up the ok/cancel buttons. | |
| virtual void | merge (const std::vector< std::string > &, QStringList &) const |
| virtual void | slot_receivedFormations (const std::string &) |
| Called when the formation requestor receives formation. | |
Protected Attributes | |
| AwaitingFormations | myAwaitingFormations |
| makVrv::DtSignalConnectionManager | myConnections |
typedef std::map<std::string, makVrv::DtSimEntry*> makVrf::DtSetFormationDialog::AwaitingFormations [protected] |
| makVrf::DtSetFormationDialog::DtSetFormationDialog | ( | makVrv::DtDe & | de, |
| QWidget * | parent, | ||
| const Qt::WindowFlags & | flags = 0 |
||
| ) |
| virtual makVrf::DtSetFormationDialog::~DtSetFormationDialog | ( | ) | [virtual] |
| virtual bool makVrf::DtSetFormationDialog::editStatement | ( | const std::vector< makVrv::DtSimEntry * > & | states, |
| const DtSimStatement * | s | ||
| ) | [protected, virtual] |
Edits the current statement. Return true if the statement can be edited.
Reimplemented from makVrf::DtBaseTaskSetDialogInterface.
Reimplemented in makVrf::DtTaskMoveIntoFormationDialog.
| virtual QWidget* makVrf::DtSetFormationDialog::contents | ( | const std::vector< makVrv::DtSimEntry * > & | data | ) | [protected, virtual] |
Creates set dialog contents. Called from setupGui.
Reimplemented from makVrf::DtBaseComboTaskSetDialog.
Reimplemented in makVrf::DtTaskMoveIntoFormationDialog.
| virtual void makVrf::DtSetFormationDialog::sendRequest | ( | ) | [protected, virtual] |
Override to send the set or task request.
Implements makVrf::DtBaseTaskSetDialogInterface.
Reimplemented in makVrf::DtTaskMoveIntoFormationDialog.
| virtual void makVrf::DtSetFormationDialog::setupStatement | ( | const std::vector< makVrv::DtSimEntry * > & | data, |
| const DtSimStatement * | stmt | ||
| ) | [protected, virtual] |
Reimplemented in makVrf::DtTaskMoveIntoFormationDialog.
| virtual void makVrf::DtSetFormationDialog::setupFrom | ( | const std::vector< makVrv::DtSimEntry * > & | ) | [protected, virtual] |
Sets up dialog by asking logic to do it.
Reimplemented from makVrf::DtBaseTaskSetDialogInterface.
| virtual void makVrf::DtSetFormationDialog::initializeItems | ( | const std::vector< makVrv::DtSimEntry * > & | data | ) | [protected, virtual] |
Override for dialogs that need item initialization.
Reimplemented from makVrf::DtBaseTaskSetDialogInterface.
Reimplemented in makVrf::DtTaskMoveIntoFormationDialog.
| virtual void makVrf::DtSetFormationDialog::setupGui | ( | const std::vector< makVrv::DtSimEntry * > & | ) | [protected, virtual] |
Sets up the ok/cancel buttons.
Reimplemented from makVrf::DtBaseTaskSetDialogInterface.
Reimplemented in makVrf::DtTaskMoveIntoFormationDialog.
| virtual void makVrf::DtSetFormationDialog::merge | ( | const std::vector< std::string > & | , |
| QStringList & | |||
| ) | const [protected, virtual] |
Reimplemented in makVrf::DtTaskMoveIntoFormationDialog.
| virtual void makVrf::DtSetFormationDialog::slot_receivedFormations | ( | const std::string & | ) | [protected, virtual] |
Called when the formation requestor receives formation.
Check to see if it is one this is waiting for, and, if so, fill in the dialog