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

Public Member Functions | |
| DtEmbarkationConfigurationDialog (QWidget *parent) | |
| virtual | ~DtEmbarkationConfigurationDialog () |
| virtual bool | init (const DtOccupancyDirectorDescriptor *) |
| DtOccupancyDirectorDescriptor * | descriptor () const |
Static Public Member Functions | |
| static void | addEntityType (const QString &, const DtRangedObjectType &) |
| Factory methods for adding types that are possible to add to an embarkation slot. | |
| static void | removeEntityType (const QString &) |
| static void | removeEntityType (const DtRangedObjectType &) |
| static void | clearEntityTypes () |
| static DtRangedObjectType | objectTypeFor (const QString &) |
| static QString | entityTypeText (const DtRangedObjectType &) |
| static QHash< QString, DtRangedObjectType > & | entityTypes () |
Protected Slots | |
| virtual void | clear () |
| virtual void | selectedEntityTypeChanged () |
| virtual void | addEntityType () |
| virtual void | removeSelectedSlot () |
Protected Member Functions | |
| virtual void | createComplexCanvas () |
| virtual void | createEmbarkationConfigurationCanvas (const DtOccupancyDirectorDescriptor *desc) |
| virtual bool | isComplex (const DtOccupancyDirectorDescriptor *desc) const |
| virtual bool | isComplex (const DtRwTemplatedListPtr< DtLoadPoint > &) const |
| virtual bool | isComplex (const DtLoadPoint *) const |
| virtual bool | isComplex (const DtEmbarkationSlotEntry *) const |
| A slot is complex if it's location is not 0, 0, 0. | |
| virtual void | createEntityTypesList (QWidget *parent, const DtOccupancyDirectorDescriptor *) |
| virtual QWidget * | createLoadList (QWidget *parent, const QString &title, DtUiLoadPositionElement *&position) |
| virtual void | validateEmbarkationButtons () |
| virtual QListWidgetItem * | addSlot (const DtEmbarkationSlotEntry *) |
| If this slot is at 0, 0, 0, adds it as an entry. | |
| virtual void | removeSlot (DtOccupancyDirectorDescriptor *desc, DtEmbarkationSlotEntry *) |
| Removes the slot from the list and internal structures. | |
| virtual void | addSlot (DtOccupancyDirectorDescriptor *desc, const DtRangedObjectType &) |
| Creates and adds a new slot entry and one ingress and one egress point for the slot. | |
| virtual int | slotIndex (const DtOccupancyDirectorDescriptor *, const DtEmbarkationSlotEntry *) const |
| virtual DtLoadPoint * | pointFor (const DtOccupancyDirectorDescriptor *, const DtEmbarkationSlotEntry *, const DtRwTemplatedListPtr< DtLoadPoint > &) const |
| virtual QListWidgetItem * | itemFor (const DtEmbarkationSlotEntry *) const |
| virtual void | reworkPointsFrom (int iSlotIndex, const DtRwTemplatedListPtr< DtLoadPoint > &) const |
| And supported slot greater than the supplied slot index will have it's value decreased by 1. | |
Static Protected Member Functions | |
| static void | initializeEntityTypes () |
Protected Attributes | |
| QWidget * | myCanvas |
| QPushButton * | myOK |
| DtOccupancyDirectorDescriptor * | myDescriptor |
| QListWidget * | myEntityTypes |
| QPushButton * | myAddType |
| QPushButton * | myRemoveType |
| DtUiLoadPositionElement * | myIngressPosition |
| DtUiLoadPositionElement * | myEgressPosition |
Static Protected Attributes | |
| static QHash< QString, DtRangedObjectType > | gEntityTypes |
| virtual DtEmbarkationConfigurationDialog::~DtEmbarkationConfigurationDialog | ( | ) | [virtual] |
| virtual bool DtEmbarkationConfigurationDialog::init | ( | const DtOccupancyDirectorDescriptor * | ) | [virtual] |
| DtOccupancyDirectorDescriptor * DtEmbarkationConfigurationDialog::descriptor | ( | ) | const [inline] |
References myDescriptor.
| static void DtEmbarkationConfigurationDialog::addEntityType | ( | const QString & | , |
| const DtRangedObjectType & | |||
| ) | [static] |
Factory methods for adding types that are possible to add to an embarkation slot.
| static void DtEmbarkationConfigurationDialog::removeEntityType | ( | const QString & | ) | [static] |
| static void DtEmbarkationConfigurationDialog::removeEntityType | ( | const DtRangedObjectType & | ) | [static] |
| static void DtEmbarkationConfigurationDialog::clearEntityTypes | ( | ) | [static] |
| static DtRangedObjectType DtEmbarkationConfigurationDialog::objectTypeFor | ( | const QString & | ) | [static] |
| static QString DtEmbarkationConfigurationDialog::entityTypeText | ( | const DtRangedObjectType & | ) | [static] |
| static QHash<QString, DtRangedObjectType>& DtEmbarkationConfigurationDialog::entityTypes | ( | ) | [static] |
| virtual void DtEmbarkationConfigurationDialog::createComplexCanvas | ( | ) | [protected, virtual] |
| virtual void DtEmbarkationConfigurationDialog::createEmbarkationConfigurationCanvas | ( | const DtOccupancyDirectorDescriptor * | desc | ) | [protected, virtual] |
| virtual bool DtEmbarkationConfigurationDialog::isComplex | ( | const DtOccupancyDirectorDescriptor * | desc | ) | const [protected, virtual] |
| virtual bool DtEmbarkationConfigurationDialog::isComplex | ( | const DtRwTemplatedListPtr< DtLoadPoint > & | ) | const [protected, virtual] |
| virtual bool DtEmbarkationConfigurationDialog::isComplex | ( | const DtLoadPoint * | ) | const [protected, virtual] |
| virtual bool DtEmbarkationConfigurationDialog::isComplex | ( | const DtEmbarkationSlotEntry * | ) | const [protected, virtual] |
A slot is complex if it's location is not 0, 0, 0.
| virtual void DtEmbarkationConfigurationDialog::createEntityTypesList | ( | QWidget * | parent, |
| const DtOccupancyDirectorDescriptor * | |||
| ) | [protected, virtual] |
| virtual QWidget* DtEmbarkationConfigurationDialog::createLoadList | ( | QWidget * | parent, |
| const QString & | title, | ||
| DtUiLoadPositionElement *& | position | ||
| ) | [protected, virtual] |
| virtual void DtEmbarkationConfigurationDialog::validateEmbarkationButtons | ( | ) | [protected, virtual] |
| virtual QListWidgetItem* DtEmbarkationConfigurationDialog::addSlot | ( | const DtEmbarkationSlotEntry * | ) | [protected, virtual] |
If this slot is at 0, 0, 0, adds it as an entry.
Checks the factory to see if it is in ther, and, if not, adds the string representation of the ranged object type;
| virtual void DtEmbarkationConfigurationDialog::removeSlot | ( | DtOccupancyDirectorDescriptor * | desc, |
| DtEmbarkationSlotEntry * | |||
| ) | [protected, virtual] |
Removes the slot from the list and internal structures.
Also removes the ingress/egress point for that slot. As an effect of this, will need to rework other ingress/egress points and slots to reference new slot numbers
| virtual void DtEmbarkationConfigurationDialog::addSlot | ( | DtOccupancyDirectorDescriptor * | desc, |
| const DtRangedObjectType & | |||
| ) | [protected, virtual] |
Creates and adds a new slot entry and one ingress and one egress point for the slot.
The slot is created at the default of 0, 0, 0
| virtual int DtEmbarkationConfigurationDialog::slotIndex | ( | const DtOccupancyDirectorDescriptor * | , |
| const DtEmbarkationSlotEntry * | |||
| ) | const [protected, virtual] |
| static void DtEmbarkationConfigurationDialog::initializeEntityTypes | ( | ) | [static, protected] |
| virtual DtLoadPoint* DtEmbarkationConfigurationDialog::pointFor | ( | const DtOccupancyDirectorDescriptor * | , |
| const DtEmbarkationSlotEntry * | , | ||
| const DtRwTemplatedListPtr< DtLoadPoint > & | |||
| ) | const [protected, virtual] |
| virtual QListWidgetItem* DtEmbarkationConfigurationDialog::itemFor | ( | const DtEmbarkationSlotEntry * | ) | const [protected, virtual] |
| virtual void DtEmbarkationConfigurationDialog::reworkPointsFrom | ( | int | iSlotIndex, |
| const DtRwTemplatedListPtr< DtLoadPoint > & | |||
| ) | const [protected, virtual] |
And supported slot greater than the supplied slot index will have it's value decreased by 1.
| virtual void DtEmbarkationConfigurationDialog::clear | ( | ) | [protected, virtual, slot] |
| virtual void DtEmbarkationConfigurationDialog::selectedEntityTypeChanged | ( | ) | [protected, virtual, slot] |
| virtual void DtEmbarkationConfigurationDialog::addEntityType | ( | ) | [protected, virtual, slot] |
| virtual void DtEmbarkationConfigurationDialog::removeSelectedSlot | ( | ) | [protected, virtual, slot] |
QWidget* DtEmbarkationConfigurationDialog::myCanvas [protected] |
QPushButton* DtEmbarkationConfigurationDialog::myOK [protected] |
Referenced by descriptor().
QListWidget* DtEmbarkationConfigurationDialog::myEntityTypes [protected] |
QPushButton* DtEmbarkationConfigurationDialog::myAddType [protected] |
QHash<QString, DtRangedObjectType> DtEmbarkationConfigurationDialog::gEntityTypes [static, protected] |