|
Aimsun Next Scripting
24.0
|
Public Member Functions | |
| GKObjectKernelAction () | |
| ~GKObjectKernelAction () | |
| bool | canExecute (QVector< GKObject * > target, QString id) const |
| bool | execute (QVector< GKObject * > target, QString id, QString taskId) |
| QVector< GKKernelActionEntry > | getActions (GKObject *target=nullptr) const |
Public Member Functions inherited from GKKernelAction | |
| 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 |
| GKObjectKernelAction::GKObjectKernelAction | ( | ) |
| GKObjectKernelAction::~GKObjectKernelAction | ( | ) |
|
virtual |
Tests if an action can be executed (the selection is valid, the action exists, the resources are available...)
Implements GKKernelAction.
|
virtual |
Executes a kernel action over a set of objects. Returns true if the action was found.
Implements GKKernelAction.
|
virtual |
List all possible the actions. The target parameter is deprecated.
Implements GKKernelAction.
1.9.4