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

Public Member Functions | |
| DtEditPlanWidgetLogic (makVrv::DtDe &de, DtPlanWidgetInterface *iFace) | |
| CTOR. | |
| virtual | ~DtEditPlanWidgetLogic () |
| virtual DTOR | |
Protected Member Functions | |
| virtual void | requestPlan (const std::vector< std::string > &) |
| Sends message to back-end to request plan for specific entities. | |
| virtual void | setPlanIsModified (bool) |
| virtual void | registerPlanCallbacks (const std::vector< std::string > &names) |
| virtual void | unregisterPlanCallbacks (const std::vector< std::string > &names) |
| virtual bool | planIsModified () const |
| virtual void | processReceivePlan (const DtString &name, bool isGlobal, const DtList &statements) |
| virtual void | processReceiveCurrentStatement (const DtString &name, bool isGlobal, DtPlanStatus status) |
| virtual void | processReceivePlanComplete (const DtString &name, bool isGlobal) |
| virtual void | processPlanStatement (const DtString &name, bool isGlobal, DtPlanStatus status) |
| virtual bool | isWatching (const std::string &) const |
| Returns true if we have registered to watch for this entity. | |
| virtual void | addStatementAfter (DtSimStatement *stmt, const DtPlanListBoxItem *listItem) |
| Add a new statement after another statement. | |
| virtual void | addConditional (const DtSimStatement &stmt) |
| Clones statement then adds it after current statement. | |
| virtual void | planRequestComplete () |
| Called following a requestPlan after a complete plan has been received. | |
| virtual void | planSelectionChanged () |
| virtual void | replacePlan () |
| virtual void | enableReplacePlan () |
| virtual bool | deleteStatement (const DtPlanListBoxItem *) |
| virtual void | deleteAllStatements () |
| virtual void | addSetRequest (const DtSetDataRequest &) |
| virtual void | addTaskRequest (const DtSimTask &) |
| virtual void | addCommandRequest (DtSimCommand &) |
| virtual void | replaceStatement (DtSimStatement *stmt, DtPlanListBoxItem *listItem) |
| virtual bool | statementIsEditable (DtSimStatement *stmt) const |
| virtual void | editCurrentPlanStatement (const std::vector< makVrv::DtSimEntry * > &) |
| virtual bool | editPlanStatement (const std::vector< makVrv::DtSimEntry * > &, DtSimStatement *stmt) |
| virtual bool | editConditionalExpression (int type, const DtSimCondExpr *stmt, const std::vector< makVrv::DtSimEntry * > &data) |
| virtual void | editPlanStatementFor (const DtEntityType &t, const DtCreateObjectCommand *simStmt) |
| virtual void | editPlanStatementForTacticalGraphic (const DtCreateObjectCommand *simStmt) |
| virtual void | editPlanStatementForEntity (const DtCreateObjectCommand *simStmt) |
| virtual void | finalizeObjectCreation (const DtEntityType &, std::string name, int, const std::vector< DtVector > &, double, bool, bool) |
| virtual void | slot_stoppedObjectCreation () |
| virtual void | finalizeTacticalGraphicObjectCreation (const DtEntityType &t, int f, const std::vector< DtVector > &p, const QString &name) |
| virtual void | finalizeEntityObjectCreation (const DtEntityType &t, int f, const std::vector< DtVector > &p, double entityHeading, bool isClampedToGround, bool isAggregated, const QString &name) |
| virtual void | slot_onConditionEditingComplete (const DtSimStatement &) |
| virtual void | slot_onEditSimCommandRequest (const DtSimCommandObjectWrapper &) |
| Slot called when a sim command has been edited. | |
| virtual void | slot_objectCreateComplete () |
| virtual bool | globalPlan () const |
| virtual void | cancel (bool force=false) |
| Called to cancel. Force, it true, will force the cancel to happen even if plan is modified. | |
Protected Attributes | |
| bool | myRequestingPlan |
| bool | myPlanModified |
| bool | myPlanEditMode |
| int | myCurrentStatement |
| DtPlanStatus | myPlanStatus |
| std::vector< std::string > | myRegisteredNames |
| makVrf::DtEditPlanWidgetLogic::DtEditPlanWidgetLogic | ( | makVrv::DtDe & | de, |
| DtPlanWidgetInterface * | iFace | ||
| ) |
CTOR.
| virtual makVrf::DtEditPlanWidgetLogic::~DtEditPlanWidgetLogic | ( | ) | [virtual] |
virtual DTOR
| virtual void makVrf::DtEditPlanWidgetLogic::requestPlan | ( | const std::vector< std::string > & | ) | [protected, virtual] |
Sends message to back-end to request plan for specific entities.
Implements makVrf::DtBasePlanWidgetLogic.
Reimplemented in makVrf::DtIssueEntityPlanWidgetLogic.
| virtual void makVrf::DtEditPlanWidgetLogic::setPlanIsModified | ( | bool | ) | [protected, virtual] |
| virtual void makVrf::DtEditPlanWidgetLogic::registerPlanCallbacks | ( | const std::vector< std::string > & | names | ) | [protected, virtual] |
Reimplemented in makVrf::DtEditEntityPlanWidgetLogic, and makVrf::DtEditGlobalPlanWidgetLogic.
| virtual void makVrf::DtEditPlanWidgetLogic::unregisterPlanCallbacks | ( | const std::vector< std::string > & | names | ) | [protected, virtual] |
Reimplemented in makVrf::DtEditEntityPlanWidgetLogic, and makVrf::DtEditGlobalPlanWidgetLogic.
| virtual bool makVrf::DtEditPlanWidgetLogic::planIsModified | ( | ) | const [inline, protected, virtual] |
Implements makVrf::DtBasePlanWidgetLogic.
| virtual void makVrf::DtEditPlanWidgetLogic::processReceivePlan | ( | const DtString & | name, |
| bool | isGlobal, | ||
| const DtList & | statements | ||
| ) | [protected, virtual] |
Implements makVrf::DtBasePlanWidgetLogic.
| virtual void makVrf::DtEditPlanWidgetLogic::processReceiveCurrentStatement | ( | const DtString & | name, |
| bool | isGlobal, | ||
| DtPlanStatus | status | ||
| ) | [protected, virtual] |
Implements makVrf::DtBasePlanWidgetLogic.
| virtual void makVrf::DtEditPlanWidgetLogic::processReceivePlanComplete | ( | const DtString & | name, |
| bool | isGlobal | ||
| ) | [protected, virtual] |
Implements makVrf::DtBasePlanWidgetLogic.
| virtual void makVrf::DtEditPlanWidgetLogic::processPlanStatement | ( | const DtString & | name, |
| bool | isGlobal, | ||
| DtPlanStatus | status | ||
| ) | [protected, virtual] |
Implements makVrf::DtBasePlanWidgetLogic.
| virtual bool makVrf::DtEditPlanWidgetLogic::isWatching | ( | const std::string & | ) | const [protected, virtual] |
Returns true if we have registered to watch for this entity.
Reimplemented in makVrf::DtIssueEntityPlanWidgetLogic.
| virtual void makVrf::DtEditPlanWidgetLogic::addStatementAfter | ( | DtSimStatement * | stmt, |
| const DtPlanListBoxItem * | listItem | ||
| ) | [protected, virtual] |
Add a new statement after another statement.
| virtual void makVrf::DtEditPlanWidgetLogic::addConditional | ( | const DtSimStatement & | stmt | ) | [protected, virtual] |
Clones statement then adds it after current statement.
Implements makVrf::DtBasePlanWidgetLogic.
| virtual void makVrf::DtEditPlanWidgetLogic::planRequestComplete | ( | ) | [protected, virtual] |
Called following a requestPlan after a complete plan has been received.
(Remember, plans can arrive in multiple messages)
| virtual void makVrf::DtEditPlanWidgetLogic::planSelectionChanged | ( | ) | [protected, virtual] |
Implements makVrf::DtBasePlanWidgetLogic.
| virtual void makVrf::DtEditPlanWidgetLogic::replacePlan | ( | ) | [protected, virtual] |
Implements makVrf::DtBasePlanWidgetLogic.
| virtual void makVrf::DtEditPlanWidgetLogic::enableReplacePlan | ( | ) | [protected, virtual] |
Implements makVrf::DtBasePlanWidgetLogic.
| virtual bool makVrf::DtEditPlanWidgetLogic::deleteStatement | ( | const DtPlanListBoxItem * | ) | [protected, virtual] |
Implements makVrf::DtBasePlanWidgetLogic.
| virtual void makVrf::DtEditPlanWidgetLogic::deleteAllStatements | ( | ) | [protected, virtual] |
Implements makVrf::DtBasePlanWidgetLogic.
| virtual void makVrf::DtEditPlanWidgetLogic::addSetRequest | ( | const DtSetDataRequest & | ) | [protected, virtual] |
Implements makVrf::DtBasePlanWidgetLogic.
| virtual void makVrf::DtEditPlanWidgetLogic::addTaskRequest | ( | const DtSimTask & | ) | [protected, virtual] |
Implements makVrf::DtBasePlanWidgetLogic.
| virtual void makVrf::DtEditPlanWidgetLogic::addCommandRequest | ( | DtSimCommand & | ) | [protected, virtual] |
Implements makVrf::DtBasePlanWidgetLogic.
| virtual void makVrf::DtEditPlanWidgetLogic::replaceStatement | ( | DtSimStatement * | stmt, |
| DtPlanListBoxItem * | listItem | ||
| ) | [protected, virtual] |
| virtual bool makVrf::DtEditPlanWidgetLogic::statementIsEditable | ( | DtSimStatement * | stmt | ) | const [protected, virtual] |
Reimplemented in makVrf::DtEditEntityPlanWidgetLogic.
| virtual void makVrf::DtEditPlanWidgetLogic::editCurrentPlanStatement | ( | const std::vector< makVrv::DtSimEntry * > & | ) | [protected, virtual] |
Implements makVrf::DtBasePlanWidgetLogic.
| virtual bool makVrf::DtEditPlanWidgetLogic::editPlanStatement | ( | const std::vector< makVrv::DtSimEntry * > & | , |
| DtSimStatement * | stmt | ||
| ) | [protected, virtual] |
Reimplemented in makVrf::DtEditEntityPlanWidgetLogic.
| virtual bool makVrf::DtEditPlanWidgetLogic::editConditionalExpression | ( | int | type, |
| const DtSimCondExpr * | stmt, | ||
| const std::vector< makVrv::DtSimEntry * > & | data | ||
| ) | [protected, virtual] |
| virtual void makVrf::DtEditPlanWidgetLogic::editPlanStatementFor | ( | const DtEntityType & | t, |
| const DtCreateObjectCommand * | simStmt | ||
| ) | [protected, virtual] |
| virtual void makVrf::DtEditPlanWidgetLogic::editPlanStatementForTacticalGraphic | ( | const DtCreateObjectCommand * | simStmt | ) | [protected, virtual] |
| virtual void makVrf::DtEditPlanWidgetLogic::editPlanStatementForEntity | ( | const DtCreateObjectCommand * | simStmt | ) | [protected, virtual] |
| virtual void makVrf::DtEditPlanWidgetLogic::finalizeObjectCreation | ( | const DtEntityType & | , |
| std::string | name, | ||
| int | , | ||
| const std::vector< DtVector > & | , | ||
| double | , | ||
| bool | , | ||
| bool | |||
| ) | [protected, virtual] |
Implements makVrf::DtBasePlanWidgetLogic.
| virtual void makVrf::DtEditPlanWidgetLogic::slot_stoppedObjectCreation | ( | ) | [protected, virtual] |
| virtual void makVrf::DtEditPlanWidgetLogic::finalizeTacticalGraphicObjectCreation | ( | const DtEntityType & | t, |
| int | f, | ||
| const std::vector< DtVector > & | p, | ||
| const QString & | name | ||
| ) | [protected, virtual] |
| virtual void makVrf::DtEditPlanWidgetLogic::finalizeEntityObjectCreation | ( | const DtEntityType & | t, |
| int | f, | ||
| const std::vector< DtVector > & | p, | ||
| double | entityHeading, | ||
| bool | isClampedToGround, | ||
| bool | isAggregated, | ||
| const QString & | name | ||
| ) | [protected, virtual] |
| virtual void makVrf::DtEditPlanWidgetLogic::slot_onConditionEditingComplete | ( | const DtSimStatement & | ) | [protected, virtual] |
| virtual void makVrf::DtEditPlanWidgetLogic::slot_onEditSimCommandRequest | ( | const DtSimCommandObjectWrapper & | ) | [protected, virtual] |
Slot called when a sim command has been edited.
| virtual void makVrf::DtEditPlanWidgetLogic::slot_objectCreateComplete | ( | ) | [protected, virtual] |
| virtual bool makVrf::DtEditPlanWidgetLogic::globalPlan | ( | ) | const [protected, virtual] |
Reimplemented in makVrf::DtEditGlobalPlanWidgetLogic.
| virtual void makVrf::DtEditPlanWidgetLogic::cancel | ( | bool | force = false | ) | [protected, virtual] |
Called to cancel. Force, it true, will force the cancel to happen even if plan is modified.
Reimplemented from makVrf::DtBasePlanWidgetLogic.
bool makVrf::DtEditPlanWidgetLogic::myRequestingPlan [protected] |
bool makVrf::DtEditPlanWidgetLogic::myPlanModified [protected] |
bool makVrf::DtEditPlanWidgetLogic::myPlanEditMode [protected] |
int makVrf::DtEditPlanWidgetLogic::myCurrentStatement [protected] |
std::vector<std::string> makVrf::DtEditPlanWidgetLogic::myRegisteredNames [protected] |