PyANGKernel.GKSimulatedObject

class GKSimulatedObject

Base class for simulated objects. * * They are copies of normal objects ( GKObject ), called master, used by the simulation and the assignment modules.

Details

UnknownCommandGKObjects

Inheritance diagram of PyANGKernel.GKSimulatedObject

Synopsis

Methods

Virtual 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

__init__()
__init__(master[, connection=None])
Parameters:
getConnection()
Return type:

GKModelConnection

getExtendedId()
Return type:

str

getType()
Return type:

GKType

Returns the master object’s type. Refer to the getMaster() function to get the master object.

isA(atype)
Parameters:

atypeGKType

Return type:

bool

Returns true if the master object is an instance of a type (or a subtype of it). Refer to the getMaster() function to get the master object.

isA(typeName)
Parameters:

typeName – str

Return type:

bool

Returns true if this object is an instance of a type (or a subtype of it). Refer to the getMaster() function to get the master object.

setConnection(connection)
Parameters:

connectionGKModelConnection

setMaster(master)
Parameters:

masterGKObject