A standard shared variable.
More...
|
def | __init__ (self, initial_value=None) |
| Constructs a shared variable. More...
|
|
def | write (self, item) |
| Updates the value of the shared variable. More...
|
|
def | read (self) |
| Access the value of the shared variable. More...
|
|
def | __init__ (self, initial_value=None) |
| Constructs a shared variable. More...
|
|
def | write (self, item) |
| Updates the value of the shared variable. More...
|
|
def | read (self) |
| Access the value of the shared variable. More...
|
|
def | __init__ (self, initial_value=None) |
| Constructs a shared variable. More...
|
|
def | write (self, item) |
| Updates the value of the shared variable. More...
|
|
def | read (self) |
| Access the value of the shared variable. More...
|
|
def | __init__ (self, initial_value=None) |
| Constructs a shared variable. More...
|
|
def | write (self, item) |
| Updates the value of the shared variable. More...
|
|
def | read (self) |
| Access the value of the shared variable. More...
|
|
def | __init__ (self, initial_value=None) |
| Constructs a shared variable. More...
|
|
def | write (self, item) |
| Updates the value of the shared variable. More...
|
|
def | read (self) |
| Access the value of the shared variable. More...
|
|
A standard shared variable.
Values can be accessed with .read() or changed with .write()
◆ __init__() [1/5]
def shares.Share.__init__ |
( |
|
self, |
|
|
|
initial_value = None |
|
) |
| |
Constructs a shared variable.
- Parameters
-
initial_value | An optional initial value for the shared variable. |
◆ __init__() [2/5]
def shares.Share.__init__ |
( |
|
self, |
|
|
|
initial_value = None |
|
) |
| |
Constructs a shared variable.
- Parameters
-
initial_value | An optional initial value for the shared variable. |
◆ __init__() [3/5]
def shares.Share.__init__ |
( |
|
self, |
|
|
|
initial_value = None |
|
) |
| |
Constructs a shared variable.
- Parameters
-
initial_value | An optional initial value for the shared variable. |
◆ __init__() [4/5]
def shares.Share.__init__ |
( |
|
self, |
|
|
|
initial_value = None |
|
) |
| |
Constructs a shared variable.
- Parameters
-
initial_value | An optional initial value for the shared variable. |
◆ __init__() [5/5]
def shares.Share.__init__ |
( |
|
self, |
|
|
|
initial_value = None |
|
) |
| |
Constructs a shared variable.
- Parameters
-
initial_value | An optional initial value for the shared variable. |
◆ read() [1/5]
def shares.Share.read |
( |
|
self | ) |
|
Access the value of the shared variable.
- Returns
- The value of the shared variable
◆ read() [2/5]
def shares.Share.read |
( |
|
self | ) |
|
Access the value of the shared variable.
- Returns
- The value of the shared variable
◆ read() [3/5]
def shares.Share.read |
( |
|
self | ) |
|
Access the value of the shared variable.
- Returns
- The value of the shared variable
◆ read() [4/5]
def shares.Share.read |
( |
|
self | ) |
|
Access the value of the shared variable.
- Returns
- The value of the shared variable
◆ read() [5/5]
def shares.Share.read |
( |
|
self | ) |
|
Access the value of the shared variable.
- Returns
- The value of the shared variable
◆ write() [1/5]
def shares.Share.write |
( |
|
self, |
|
|
|
item |
|
) |
| |
Updates the value of the shared variable.
- Parameters
-
item | The new value for the shared variable |
◆ write() [2/5]
def shares.Share.write |
( |
|
self, |
|
|
|
item |
|
) |
| |
Updates the value of the shared variable.
- Parameters
-
item | The new value for the shared variable |
◆ write() [3/5]
def shares.Share.write |
( |
|
self, |
|
|
|
item |
|
) |
| |
Updates the value of the shared variable.
- Parameters
-
item | The new value for the shared variable |
◆ write() [4/5]
def shares.Share.write |
( |
|
self, |
|
|
|
item |
|
) |
| |
Updates the value of the shared variable.
- Parameters
-
item | The new value for the shared variable |
◆ write() [5/5]
def shares.Share.write |
( |
|
self, |
|
|
|
item |
|
) |
| |
Updates the value of the shared variable.
- Parameters
-
item | The new value for the shared variable |
The documentation for this class was generated from the following files: