Aimsun Next Scripting  24.0
Public Member Functions | List of all members
GKObjectConnectionDelCmd Class Reference

Public Member Functions

 GKObjectConnectionDelCmd ()
 
virtual bool init (GKObject *, GKObject *)
 

Detailed Description

The mainly difference with the generic delete command (GKObjectDelCmd) is method init, which requires the pointers to both connected objects

A sample code for deleting a connection between object1 and object2 would look like:

cmd.init( object1, object2 )
model.getCommander().addCommand( cmd )
virtual bool init(GKObject *, GKObject *)

Constructor & Destructor Documentation

◆ GKObjectConnectionDelCmd()

GKObjectConnectionDelCmd::GKObjectConnectionDelCmd ( )

Member Function Documentation

◆ init()

virtual bool GKObjectConnectionDelCmd::init ( GKObject ,
GKObject  
)
virtual

sets the pointers to both connected objects. The pointers are adopted

© Aimsun SLU
Aimsun ®