![]() |
VR-Forces 4.0.4 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
typedef std::map<std::string, QString> makVrf::DtAskIfCanTaskDialog::NeedToAskMap [protected] |
| makVrf::DtAskIfCanTaskDialog::DtAskIfCanTaskDialog | ( | makVrv::DtDe & | , |
| QWidget * | parent | ||
| ) |
| virtual makVrf::DtAskIfCanTaskDialog::~DtAskIfCanTaskDialog | ( | ) | [virtual] |
| virtual std::vector<std::string> makVrf::DtAskIfCanTaskDialog::askIfCanTask | ( | const std::vector< std::string > & | names, |
| const DtSimTask & | newTask | ||
| ) | [virtual] |
Returns a list of names that are available to task.
| virtual int makVrf::DtAskIfCanTaskDialog::exec | ( | ) | [virtual] |
Starts process of asking to interrupt task/plan.
| virtual void makVrf::DtAskIfCanTaskDialog::setupGui | ( | ) | [protected, virtual] |
Sets up gui elements of dialog.
| virtual void makVrf::DtAskIfCanTaskDialog::receiveCurrentTasks | ( | std::string | , |
| const DtVrfCurrentTaskManager::EntityTaskInformation & | |||
| ) | [protected, virtual] |
Called in response to a current task request.
| virtual DtVrfCurrentTaskManager::DtSimTaskSharedPtr makVrf::DtAskIfCanTaskDialog::willBlock | ( | const DtSimTask * | newTask, |
| const DtVrfCurrentTaskManager::EntityTaskInformation & | tasks | ||
| ) | const [protected, virtual] |
Returns a ask that will be blocked because of the task that wants to be executed.
| virtual void makVrf::DtAskIfCanTaskDialog::timeout | ( | ) | [protected, virtual] |
Called when operations for retrieving current taskshave timed out. Abort current asking.
| virtual void makVrf::DtAskIfCanTaskDialog::askToTask | ( | ) | [protected, virtual, slot] |
Asks to task the next available entity in the queue.
| virtual void makVrf::DtAskIfCanTaskDialog::timerCheck | ( | ) | [protected, virtual, slot] |
Called to see if tasks have come in for those items that this dialog is awaiting task information on.
| virtual void makVrf::DtAskIfCanTaskDialog::hideMe | ( | ) | [protected, virtual, slot] |
Hides this dialog.
| virtual bool makVrf::DtAskIfCanTaskDialog::shouldInterruptTask | ( | DtVrfVrlinkDataInterfacePtr | ) | [protected, virtual, slot] |
Returns true if this object should have it's task interrupted.
| virtual bool makVrf::DtAskIfCanTaskDialog::shouldAbandonPlan | ( | DtVrfVrlinkDataInterfacePtr | ) | [protected, virtual, slot] |
Returns true if this object should have it's plan abandoned.
makVrv::DtDe& makVrf::DtAskIfCanTaskDialog::myDe [protected] |
QVector<std::string> makVrf::DtAskIfCanTaskDialog::myAskingToTask [protected] |
std::vector<std::string> makVrf::DtAskIfCanTaskDialog::myToTask [protected] |
DtSimTask* makVrf::DtAskIfCanTaskDialog::myNewTask [protected] |
QTimer* makVrf::DtAskIfCanTaskDialog::myCheckTimer [protected] |
QTime makVrf::DtAskIfCanTaskDialog::myElapsedTimer [protected] |
int makVrf::DtAskIfCanTaskDialog::mySelectedInterruptAll [protected] |
int makVrf::DtAskIfCanTaskDialog::mySelectedAbandonAll [protected] |
QRect makVrf::DtAskIfCanTaskDialog::myGeometry [protected] |