![]() |
VR-Forces 4.1.1 Class Documentation
|
Dialog that will present the names of the tasks/plans to be interrupted. More...

Public Member Functions | |
| DtAskIfCanTaskDialog (makVrv::DtDe &, QWidget *parent) | |
| virtual | ~DtAskIfCanTaskDialog () |
| virtual std::vector< std::string > | askIfCanTask (const std::vector< std::string > &names, const DtSimTask &newTask) |
| Returns a list of names that are available to task. | |
| virtual int | exec () |
| Starts process of asking to interrupt task/plan. | |
Public Attributes | |
| QWidget * | myWaitingFrame |
| QLabel * | myWaitingLabel |
| QPushButton * | myCancel |
Protected Types | |
| typedef std::map< std::string, QString > | NeedToAskMap |
Protected Slots | |
| virtual void | askToTask () |
| Asks to task the next available entity in the queue. | |
| virtual void | timerCheck () |
| Called to see if tasks have come in for those items that this dialog is awaiting task information on. | |
| virtual void | hideMe () |
| Hides this dialog. | |
| virtual bool | shouldInterruptTask (DtVrfVrlinkDataInterfacePtr) |
| Returns true if this object should have it's task interrupted. | |
| virtual bool | shouldAbandonPlan (DtVrfVrlinkDataInterfacePtr) |
| Returns true if this object should have it's plan abandoned. | |
Protected Member Functions | |
| virtual void | setupGui () |
| Sets up gui elements of dialog. | |
| virtual void | receiveCurrentTasks (std::string, const DtVrfCurrentTaskManager::EntityTaskInformation &) |
| Called in response to a current task request. | |
| virtual DtVrfCurrentTaskManager::DtSimTaskSharedPtr | willBlock (const DtSimTask *newTask, const DtVrfCurrentTaskManager::EntityTaskInformation &tasks) const |
| Returns a ask that will be blocked because of the task that wants to be executed. | |
| virtual void | timeout () |
| Called when operations for retrieving current taskshave timed out. Abort current asking. | |
Protected Attributes | |
| makVrv::DtDe & | myDe |
| QVector< std::string > | myAskingToTask |
| std::vector< std::string > | myToTask |
| DtSimTask * | myNewTask |
| NeedToAskMap | myNeedToAsk |
| QTimer * | myCheckTimer |
| QTime | myElapsedTimer |
| int | mySelectedInterruptAll |
| int | mySelectedAbandonAll |
| QRect | myGeometry |
Dialog that will present the names of the tasks/plans to be interrupted.
Will ask user if it is ok to continue, and, provide a check box to never ask again
|
protected |
| makVrf::DtAskIfCanTaskDialog::DtAskIfCanTaskDialog | ( | makVrv::DtDe & | , |
| QWidget * | parent | ||
| ) |
|
virtual |
|
virtual |
Returns a list of names that are available to task.
|
virtual |
Starts process of asking to interrupt task/plan.
|
protectedvirtual |
Sets up gui elements of dialog.
|
protectedvirtual |
Called in response to a current task request.
|
protectedvirtual |
Returns a ask that will be blocked because of the task that wants to be executed.
|
protectedvirtual |
Called when operations for retrieving current taskshave timed out. Abort current asking.
|
protectedvirtualslot |
Asks to task the next available entity in the queue.
|
protectedvirtualslot |
Called to see if tasks have come in for those items that this dialog is awaiting task information on.
|
protectedvirtualslot |
Hides this dialog.
|
protectedvirtualslot |
Returns true if this object should have it's task interrupted.
|
protectedvirtualslot |
Returns true if this object should have it's plan abandoned.
| QWidget* makVrf::DtAskIfCanTaskDialog::myWaitingFrame |
| QLabel* makVrf::DtAskIfCanTaskDialog::myWaitingLabel |
| QPushButton* makVrf::DtAskIfCanTaskDialog::myCancel |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |