Aimsun Next Scripting
22
|
Public Member Functions | |
GKKernelAction () | |
virtual | ~GKKernelAction () |
virtual QVector< GKKernelActionEntry > | getActions (GKObject *target=nullptr) const =0 |
virtual bool | canExecute (QVector< GKObject * > target, QString id) const =0 |
virtual bool | execute (QVector< GKObject * > target, QString id, QString taskId)=0 |
virtual QString | getTaskId () const |
This class is the non-GUI equivalent of the GKActionMenu
GKKernelAction::GKKernelAction | ( | ) |
GKKernelAction constructor.
|
virtual |
GKKernelAction destructor.
|
pure virtual |
Tests if an action can be executed (the selection is valid, the action exists, the resources are available...)
Implemented in GKObjectKernelAction.
|
pure virtual |
Executes a kernel action over a set of objects. Returns true if the action was found.
Implemented in GKObjectKernelAction.
|
pure virtual |
List all possible the actions. The target parameter is deprecated.
Implemented in GKObjectKernelAction.
|
virtual |
If the execute command generated a task, its id.