Aimsun Next Scripting  24.0
Public Member Functions | List of all members
GKObjectDelMultipleCmd Class Reference
Inheritance diagram for GKObjectDelMultipleCmd:
GKCommand

Public Member Functions

 GKObjectDelMultipleCmd ()
 
bool contains (GKObject *obj) const
 
void add (GKObjectDelCmd *acmd)
 
int size ()
 
void doit ()
 
void undoit ()
 
- Public Member Functions inherited from GKCommand
 if (base)
 
Py_END_ALLOW_THREADS End GKCommand ()
 
void setName (const QString &)
 
const QString & getName () const
 
void setModel (GKModel *)
 
GKModelgetModel () const
 
virtual GKCommandReportinit (GKModel *)
 
virtual bool isEqual (GKCommand *) const
 
virtual void merge (GKCommand *)
 
virtual void doit ()=0
 
virtual void undoit ()=0
 
void setUndoable (bool)
 
bool isUndoable () const
 
bool isDone () const
 
virtual void setDone (bool)
 
virtual void commandToBeDone ()
 
virtual void commandDone ()
 
virtual void commandToBeUndone ()
 
virtual void commandUndone ()
 
virtual GKObjectcreatedObject () const
 
virtual bool createdObjectRequiresEdition () const
 
virtual QVector< int > getTargets () const
 

Additional Inherited Members

- Public Attributes inherited from GKCommand
ConvertToSubClassCode Py_BEGIN_ALLOW_THREADS GKCommandbase = (GKCommand*)sipCpp
 
 sipType = 0
 

Constructor & Destructor Documentation

◆ GKObjectDelMultipleCmd()

GKObjectDelMultipleCmd::GKObjectDelMultipleCmd ( )

Member Function Documentation

◆ add()

void GKObjectDelMultipleCmd::add ( GKObjectDelCmd acmd)

Adds a del command for an object. It checks that this object hasn't a del command already.

◆ contains()

bool GKObjectDelMultipleCmd::contains ( GKObject obj) const

Returns true of this multi del comand already has a del command for this object. This method requires that all the GKObjectDelCmd have a deleted object (GKObjectDelCmd::getObject())

◆ doit()

void GKObjectDelMultipleCmd::doit ( )
virtual

Do not use this function. Available just for compatibility issues.

Implements GKCommand.

◆ size()

int GKObjectDelMultipleCmd::size ( )

number of subcommands on it

◆ undoit()

void GKObjectDelMultipleCmd::undoit ( )
virtual

Do not use this function. Available just for compatibility issues.

Implements GKCommand.

© Aimsun SLU
Aimsun ®