Aimsun Next Scripting  22
Public Member Functions | Public Attributes | List of all members
GKCommandReport Class Reference

Public Member Functions

 GKCommandReport (int, const QString &)
 

Public Attributes

int errorCode
 
QString description
 

Detailed 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.

Constructor & Destructor Documentation

◆ GKCommandReport()

GKCommandReport::GKCommandReport ( int  ,
const QString &   
)

Member Data Documentation

◆ description

QString GKCommandReport::description

Error description, if errorCode == 0 then is a warning (the command has been executed)

◆ errorCode

int GKCommandReport::errorCode

0 means no error, > 0 error code command dependand

© Aimsun SLU
Aimsun ®