Aimsun Next Scripting: GKGUISystem Class Reference
Aimsun Next Scripting  22
Public Member Functions | Static Public Member Functions | List of all members
GKGUISystem Class Reference

Public Member Functions

 GKGUISystem ()
 
GGuigetActiveGui () const
 

Static Public Member Functions

static GKGUISystemgetGUISystem ()
 

Detailed Description

The class hold only GUI shared data. For the non GUI equivalent see GKSystem class.

In order to access the unique instance of GKSystem the following code will be used:

The class GKGUISystem is a singleton class (only one instance of this class exists) that holds all th...
Definition: GKGUISystem.sip:41
static GKGUISystem & getGUISystem()
Singleton !

The current implementation shared the same drawer for an object and a view type. That is, for all the 2D Views only one 2D drawer is created by object, and only one 3D drawer by objects for all the 3D Views.

When the user GUI for a new drawer it will create it only if no drawer for this object exits. Drawers are deleted when the object is removed from the geomodel and not when no view is available.

Drawers for layers are NOT shared as they contains settings that can change from view to view.

Constructor & Destructor Documentation

◆ GKGUISystem()

GKGUISystem::GKGUISystem ( )

Member Function Documentation

◆ getActiveGui()

GGui * GKGUISystem::getActiveGui ( ) const

◆ getGUISystem()

static GKGUISystem & GKGUISystem::getGUISystem ( )
static

Singleton !

© Aimsun SLU
Aimsun ®