Aimsun Next Scripting
22
|
Public Member Functions | |
GKCommandReport (int, const QString &) | |
Public Attributes | |
int | errorCode |
QString | description |
A command report is created in the GKCommand::init method to tell the caller that a problem happen with the command. If the errorCode is greater than 0 means that was an error and the command will be discarded (not executed and deleted). If the errorCode is 0 that means that was a warning and the command will be executed.
A possible reasons to issue a command report is when trying to manipulate an object that cannot be modified.
GKCommandReport::GKCommandReport | ( | int | , |
const QString & | |||
) |
QString GKCommandReport::description |
Error description, if errorCode == 0 then is a warning (the command has been executed)
int GKCommandReport::errorCode |
0 means no error, > 0 error code command dependand