PyMacroKernelPlugin.CMacroUserClass

class CMacroUserClass

Inheritance diagram of PyMacroKernelPlugin.CMacroUserClass

Synopsis

Methods

Note

This documentation may contain snippets that were automatically translated from C++ to Python. We always welcome contributions to the snippet translation. If you see an issue with the translation, you can also let us know by creating a ticket on https:/bugreports.qt.io/projects/PYSIDE

Detailed Description

The macro representation of a GKUserClass when doing a static assignment

__init__(iUserClass, _connection)
Parameters:
  • iUserClassGKUserClass

  • _connectionGKModelConnection

getPCUs()
Return type:

float

Gets the PCUs of the macro user class. The user class PCUs are the same from the vehicle type contained in the user class.

getTripPurpose()
Return type:

CMacroTripPurpose

Gets the purpose of the macro user class

getVehicle()
Return type:

CMacroVehicleType

Gets the vehicle type of the macro user class