dragon.mpbridge.sharedctypes.DragonRawValue

class DragonRawValue

Bases: Value

A ctype raw value co-located on the same node by default as the creating process

__init__(typecode_or_type, value: int = 0, *, ctx: None = None, raw: bool = True)

Initialize the mpbridge RawValue 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 raw: bool, optional :type raw: sets whether lock is used or not

Methods

__init__(typecode_or_type[, value, ctx, raw])

Initialize the mpbridge RawValue object.

Attributes

item_type

subclass_types

tuple_type_list

value

Get the current value.

__init__(typecode_or_type, value: int = 0, *, ctx: None = None, raw: bool = True)

Initialize the mpbridge RawValue 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 raw: bool, optional :type raw: sets whether lock is used or not

item_type = None
subclass_types = None
tuple_type_list = None
property value: object

Get the current value.

Returns:

The current value

Return type:

object