SingletonMeta
#
- class ansys.geometry.core.misc.measurements.SingletonMeta#
Bases:
type
Provides a thread-safe implementation of a singleton design pattern.
Overview#
Return a single instance of the class. |
Import detail#
from ansys.geometry.core.misc.measurements import SingletonMeta
Method detail#
- SingletonMeta.__call__(*args, **kwargs)#
Return a single instance of the class.
Possible changes to the value of the
__init__
argument do not affect the returned instance.