dragon.native.value
The Dragon native value is an ctypes object allocated from shared memory. The return value is a synchronized wrapper for the object, and the object itself can be accessed via the value attribute of a Value.
value = dragon.native.value.Value(typecode_or_type = ctypes.c_char, value = 0)
Classes
This class implements Dragon value resides in the Dragon channel. |
|
An enumeration. |
- class Value
Bases:
object
This class implements Dragon value resides in the Dragon channel.
- __init__(typecode_or_type, value: object | None = None, m_uid: int = 4611686018427387904)
Initialize a value object. :param typecode_or_type: the typecode or type is returned from the dictionary, _TYPECODE_TO_TYPE :type typecode_or_type: str or ctypes, required :param value: the value for the object :type value: int, optional :param m_uid: memory pool to create the channel in and message to write value and typecode_or_type in managed memory, defaults to _DEF_MUID :type m_uid: int, optional
- subclass_types = None
- tuple_type_list = None
- item_type = None