![]() |
VR-Forces Developer's Guide
|
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.

Public Member Functions | |
| DtAskIfCanTaskDialog (makVrv::DtDe &, QWidget *parent) | |
| virtual | ~DtAskIfCanTaskDialog () override |
| virtual std::vector< DtUUID > | askIfCanTask (const std::vector< DtUUID > &names, const DtSimTask &newTask) |
| virtual int | exec () |
Public Attributes | |
| boost::signals2::signal< void()> | signal_accept |
| boost::signals2::signal< void()> | signal_reject |
| QWidget * | myWaitingFrame |
| QLabel * | myWaitingLabel |
| QPushButton * | myCancel |
Protected Types | |
| typedef std::map< DtUUID, QString > | NeedToAskMap |
Protected Slots | |
| virtual void | accept () |
| virtual void | reject () |
| virtual void | askToTask () |
| virtual void | timerCheck () |
| virtual void | hideMe () |
| virtual bool | shouldInterruptTask (DtSimObjectReference) |
| virtual bool | shouldAbandonPlan (DtSimObjectReference) |
Protected Member Functions | |
| virtual void | setupGui () |
| virtual void | receiveCurrentTasks (const DtUUID &, const DtVrfCurrentTaskManager::EntityTaskInformation &) |
| virtual DtVrfCurrentTaskManager::DtSimTaskSharedPtr | willBlock (const DtSimTask *newTask, const DtVrfCurrentTaskManager::EntityTaskInformation &tasks) const |
| virtual void | timeout () |
| virtual void | closeEvent (QCloseEvent *) override |
Protected Attributes | |
| makVrv::DtDe & | myDe |
| QVector< DtUUID > | myAskingToTask |
| std::vector< DtUUID > | myToTask |
| DtSimTask * | myNewTask |
| NeedToAskMap | myNeedToAsk |
| QTimer * | myCheckTimer |
| QTime | myElapsedTimer |
| int | mySelectedInterruptAll |
| int | mySelectedAbandonAll |
| QRect | myGeometry |
| int | myResult = -1 |
|
protected |
| makVrf::DtAskIfCanTaskDialog::DtAskIfCanTaskDialog | ( | makVrv::DtDe & | , |
| QWidget * | parent | ||
| ) |
|
overridevirtual |
|
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.
|
overrideprotectedvirtual |
|
protectedvirtualslot |
|
protectedvirtualslot |
|
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.
| boost::signals2::signal<void ()> makVrf::DtAskIfCanTaskDialog::signal_accept |
| boost::signals2::signal<void ()> makVrf::DtAskIfCanTaskDialog::signal_reject |
| QWidget* makVrf::DtAskIfCanTaskDialog::myWaitingFrame |
| QLabel* makVrf::DtAskIfCanTaskDialog::myWaitingLabel |
| QPushButton* makVrf::DtAskIfCanTaskDialog::myCancel |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |