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

Public Member Functions | |
| DtBasePlanWidgetLogic (makVrv::DtDe &de, DtPlanWidgetInterface *iFace) | |
| CTOR. | |
| virtual | ~DtBasePlanWidgetLogic () |
| virtual DTOR | |
| virtual void | requestPlan (const std::vector< std::string > &)=0 |
| Sends message to back-end to request plan for specific entities. | |
| virtual bool | sendPlan (bool reregister=true)=0 |
| Sends plan to back-end for all entities. | |
| virtual void | planSelectionChanged ()=0 |
| virtual void | restartPlan ()=0 |
| virtual void | abandonPlan ()=0 |
| virtual void | replacePlan ()=0 |
| virtual void | enableReplacePlan ()=0 |
| virtual bool | planIsModified () const =0 |
| virtual bool | deleteStatement (const DtPlanListBoxItem *)=0 |
| virtual void | deleteAllStatements ()=0 |
| virtual void | addSetRequest (const DtSetDataRequest &)=0 |
| virtual void | addTaskRequest (const DtSimTask &)=0 |
| virtual void | addCommandRequest (DtSimCommand &)=0 |
| virtual void | addConditional (const DtSimStatement &stmt)=0 |
| virtual void | editCurrentPlanStatement (const std::vector< makVrv::DtSimEntry * > &)=0 |
| virtual void | finalizeObjectCreation (const DtEntityType &, std::string name, int, const std::vector< DtVector > &, double, bool, bool)=0 |
| virtual void | printPlan () |
| Prints plan. | |
| virtual void | copyPlan () |
| Copies plan to clipboard. | |
| virtual void | setPlanName (const QString &) |
| virtual QString | planName () const |
| virtual void | cancel (bool force=false) |
| Cancels contents of dialog. | |
| virtual void | accept () |
| Accepts contents of dialog. | |
| virtual void | connectSignals (const std::vector< makVrv::DtSimEntry * > &s) |
| Connects up watch on deletion signal from simData and then watches deletions. | |
| virtual void | setTitle () |
Protected Member Functions | |
| virtual void | receivedPlanCallback (DtSimMessage *) |
| virtual void | processReceivePlan (const DtString &name, bool isGlobal, const DtList &statements)=0 |
| virtual void | receivedPlanStatementCallback (DtSimMessage *) |
| virtual void | processPlanStatement (const DtString &name, bool isGlobal, DtPlanStatus status)=0 |
| virtual void | processReceiveCurrentStatement (const DtString &name, bool isGlobal, DtPlanStatus status)=0 |
| virtual void | processReceivePlanComplete (const DtString &name, bool isGlobal)=0 |
| virtual DtPlanListBoxItem * | findItemByIndex (int statementIndex) |
| Returns the list box item which represents the statement refered to by the provided index number. | |
| DtPlanListBoxItem * | findLastItemByIndex (int statementIndex) |
| Returns the last item in the list that has the specified statement index. | |
| virtual void | addStatementsToPlan (const DtList &statements, bool append) |
| Adds the statements from the statement list to myPlan. | |
| virtual void | displayPlan () |
| virtual void | displayStatement (const DtStmtIndex &stmt, const DtPlanListBoxItem *parentItem) |
| virtual void | displayBlock (DtSimBlock *block, const DtPlanListBoxItem *parentItem) |
| virtual void | clearDisplay () |
| virtual void | clearAllStatements () |
| virtual void | displayPlanStatusString (DtPlanStatus status) |
| Puts the appropriate string in the "Plan Status" label on the window. | |
| virtual void | slot_objectAboutToBeRemoved (makVrv::DtSimObjectEntry &) |
Protected Attributes | |
| makVrv::DtDe & | myDe |
| DtPlanWidgetInterface * | myInterface |
| DtPlan * | myPlan |
| QString | myName |
| std::vector< makVrv::DtSimEntry * > | myConnectedTo |
| makVrf::DtBasePlanWidgetLogic::DtBasePlanWidgetLogic | ( | makVrv::DtDe & | de, |
| DtPlanWidgetInterface * | iFace | ||
| ) |
CTOR.
| virtual makVrf::DtBasePlanWidgetLogic::~DtBasePlanWidgetLogic | ( | ) | [virtual] |
virtual DTOR
| virtual void makVrf::DtBasePlanWidgetLogic::requestPlan | ( | const std::vector< std::string > & | ) | [pure virtual] |
Sends message to back-end to request plan for specific entities.
Implemented in makVrf::DtIssueEntityPlanWidgetLogic, and makVrf::DtEditPlanWidgetLogic.
| virtual bool makVrf::DtBasePlanWidgetLogic::sendPlan | ( | bool | reregister = true | ) | [pure virtual] |
Sends plan to back-end for all entities.
Implemented in makVrf::DtEditEntityPlanWidgetLogic, makVrf::DtEditGlobalPlanWidgetLogic, and makVrf::DtIssueEntityPlanWidgetLogic.
| virtual void makVrf::DtBasePlanWidgetLogic::planSelectionChanged | ( | ) | [pure virtual] |
Implemented in makVrf::DtEditPlanWidgetLogic.
| virtual void makVrf::DtBasePlanWidgetLogic::restartPlan | ( | ) | [pure virtual] |
Implemented in makVrf::DtEditEntityPlanWidgetLogic, and makVrf::DtEditGlobalPlanWidgetLogic.
| virtual void makVrf::DtBasePlanWidgetLogic::abandonPlan | ( | ) | [pure virtual] |
Implemented in makVrf::DtEditEntityPlanWidgetLogic, and makVrf::DtEditGlobalPlanWidgetLogic.
| virtual void makVrf::DtBasePlanWidgetLogic::replacePlan | ( | ) | [pure virtual] |
Implemented in makVrf::DtEditPlanWidgetLogic.
| virtual void makVrf::DtBasePlanWidgetLogic::enableReplacePlan | ( | ) | [pure virtual] |
Implemented in makVrf::DtEditPlanWidgetLogic.
| virtual bool makVrf::DtBasePlanWidgetLogic::planIsModified | ( | ) | const [pure virtual] |
Implemented in makVrf::DtEditPlanWidgetLogic.
| virtual bool makVrf::DtBasePlanWidgetLogic::deleteStatement | ( | const DtPlanListBoxItem * | ) | [pure virtual] |
Implemented in makVrf::DtEditPlanWidgetLogic.
| virtual void makVrf::DtBasePlanWidgetLogic::deleteAllStatements | ( | ) | [pure virtual] |
Implemented in makVrf::DtEditPlanWidgetLogic.
| virtual void makVrf::DtBasePlanWidgetLogic::addSetRequest | ( | const DtSetDataRequest & | ) | [pure virtual] |
Implemented in makVrf::DtEditPlanWidgetLogic.
| virtual void makVrf::DtBasePlanWidgetLogic::addTaskRequest | ( | const DtSimTask & | ) | [pure virtual] |
Implemented in makVrf::DtEditPlanWidgetLogic.
| virtual void makVrf::DtBasePlanWidgetLogic::addCommandRequest | ( | DtSimCommand & | ) | [pure virtual] |
Implemented in makVrf::DtEditPlanWidgetLogic.
| virtual void makVrf::DtBasePlanWidgetLogic::addConditional | ( | const DtSimStatement & | stmt | ) | [pure virtual] |
Implemented in makVrf::DtEditPlanWidgetLogic.
| virtual void makVrf::DtBasePlanWidgetLogic::editCurrentPlanStatement | ( | const std::vector< makVrv::DtSimEntry * > & | ) | [pure virtual] |
Implemented in makVrf::DtEditPlanWidgetLogic.
| virtual void makVrf::DtBasePlanWidgetLogic::finalizeObjectCreation | ( | const DtEntityType & | , |
| std::string | name, | ||
| int | , | ||
| const std::vector< DtVector > & | , | ||
| double | , | ||
| bool | , | ||
| bool | |||
| ) | [pure virtual] |
Implemented in makVrf::DtEditPlanWidgetLogic.
| virtual void makVrf::DtBasePlanWidgetLogic::printPlan | ( | ) | [virtual] |
Prints plan.
| virtual void makVrf::DtBasePlanWidgetLogic::copyPlan | ( | ) | [virtual] |
Copies plan to clipboard.
| virtual void makVrf::DtBasePlanWidgetLogic::setPlanName | ( | const QString & | ) | [virtual] |
| virtual QString makVrf::DtBasePlanWidgetLogic::planName | ( | ) | const [virtual] |
| virtual void makVrf::DtBasePlanWidgetLogic::cancel | ( | bool | force = false | ) | [virtual] |
Cancels contents of dialog.
Reimplemented in makVrf::DtEditPlanWidgetLogic.
| virtual void makVrf::DtBasePlanWidgetLogic::accept | ( | ) | [virtual] |
Accepts contents of dialog.
| virtual void makVrf::DtBasePlanWidgetLogic::connectSignals | ( | const std::vector< makVrv::DtSimEntry * > & | s | ) | [virtual] |
Connects up watch on deletion signal from simData and then watches deletions.
Reimplemented in makVrf::DtEditGlobalPlanWidgetLogic.
| virtual void makVrf::DtBasePlanWidgetLogic::setTitle | ( | ) | [virtual] |
| virtual void makVrf::DtBasePlanWidgetLogic::receivedPlanCallback | ( | DtSimMessage * | ) | [protected, virtual] |
| virtual void makVrf::DtBasePlanWidgetLogic::processReceivePlan | ( | const DtString & | name, |
| bool | isGlobal, | ||
| const DtList & | statements | ||
| ) | [protected, pure virtual] |
Implemented in makVrf::DtEditPlanWidgetLogic.
| virtual void makVrf::DtBasePlanWidgetLogic::receivedPlanStatementCallback | ( | DtSimMessage * | ) | [protected, virtual] |
| virtual void makVrf::DtBasePlanWidgetLogic::processPlanStatement | ( | const DtString & | name, |
| bool | isGlobal, | ||
| DtPlanStatus | status | ||
| ) | [protected, pure virtual] |
Implemented in makVrf::DtEditPlanWidgetLogic.
| virtual void makVrf::DtBasePlanWidgetLogic::processReceiveCurrentStatement | ( | const DtString & | name, |
| bool | isGlobal, | ||
| DtPlanStatus | status | ||
| ) | [protected, pure virtual] |
Implemented in makVrf::DtEditPlanWidgetLogic.
| virtual void makVrf::DtBasePlanWidgetLogic::processReceivePlanComplete | ( | const DtString & | name, |
| bool | isGlobal | ||
| ) | [protected, pure virtual] |
Implemented in makVrf::DtEditPlanWidgetLogic.
| virtual DtPlanListBoxItem* makVrf::DtBasePlanWidgetLogic::findItemByIndex | ( | int | statementIndex | ) | [protected, virtual] |
Returns the list box item which represents the statement refered to by the provided index number.
| DtPlanListBoxItem* makVrf::DtBasePlanWidgetLogic::findLastItemByIndex | ( | int | statementIndex | ) | [protected] |
Returns the last item in the list that has the specified statement index.
| virtual void makVrf::DtBasePlanWidgetLogic::addStatementsToPlan | ( | const DtList & | statements, |
| bool | append | ||
| ) | [protected, virtual] |
Adds the statements from the statement list to myPlan.
If append it true, they are added to the end, else they replace the existing statements.
| virtual void makVrf::DtBasePlanWidgetLogic::displayPlan | ( | ) | [protected, virtual] |
Reimplemented in makVrf::DtEditEntityPlanWidgetLogic.
| virtual void makVrf::DtBasePlanWidgetLogic::displayStatement | ( | const DtStmtIndex & | stmt, |
| const DtPlanListBoxItem * | parentItem | ||
| ) | [protected, virtual] |
| virtual void makVrf::DtBasePlanWidgetLogic::displayBlock | ( | DtSimBlock * | block, |
| const DtPlanListBoxItem * | parentItem | ||
| ) | [protected, virtual] |
| virtual void makVrf::DtBasePlanWidgetLogic::clearDisplay | ( | ) | [protected, virtual] |
| virtual void makVrf::DtBasePlanWidgetLogic::clearAllStatements | ( | ) | [protected, virtual] |
| virtual void makVrf::DtBasePlanWidgetLogic::displayPlanStatusString | ( | DtPlanStatus | status | ) | [protected, virtual] |
Puts the appropriate string in the "Plan Status" label on the window.
Reimplemented in makVrf::DtIssueEntityPlanWidgetLogic.
| virtual void makVrf::DtBasePlanWidgetLogic::slot_objectAboutToBeRemoved | ( | makVrv::DtSimObjectEntry & | ) | [protected, virtual] |
makVrv::DtDe& makVrf::DtBasePlanWidgetLogic::myDe [protected] |
DtPlan* makVrf::DtBasePlanWidgetLogic::myPlan [protected] |
QString makVrf::DtBasePlanWidgetLogic::myName [protected] |
std::vector<makVrv::DtSimEntry*> makVrf::DtBasePlanWidgetLogic::myConnectedTo [protected] |