Public Member Functions | |
| TupleSpace () | |
| The TupleSpace constructor. | |
| ~TupleSpace () | |
| The TupleSpace destructor. | |
| void | _out (Tuple t) |
| Output a tuple to the tuplespace. | |
| Tuple | _in (Template t) |
| Destructively read a tuple from the tuplespace. | |
| Tuple | _rd (Template t) |
| Non-destructively read a tuple from the tuplespace. | |
| Tuple | _inp (Template t) |
| Destructively read a tuple from the tuplespace. | |
| Tuple | _rdp (Template t) |
| Non-destructively read a tuple from the tuplespace. | |
| int | collect (TupleSpace dest, Template t) |
| Move all tuples matching the template to another tuplespace. | |
| int | copy_collect (TupleSpace dest, Template t) |
| Copy all tuples matching the template to another tuplespace. | |
Creating an instance of this class creates a new tuplespace in the linda network.
|
|
The TupleSpace constructor. Creates a new tuplespace, to give other processes access to this tuplespace output the reference in a tuple. |
|
|
The TupleSpace destructor. Deletes this reference to the tuplespace. |
|
|
Destructively read a tuple from the tuplespace.
The template should be a tuple containing either actual parameters, or formals. An actual paramater is a real value like 1, "abc" or 1.0. A formal parameter is a type which matched any value of that type. For example int will match 1, 2, 3 etc. linda.TupleSpace will match any tuplespace reference. |
|
|
Destructively read a tuple from the tuplespace.
See linda::TupleSpace::_in for details on the format of the template |
|
|
Output a tuple to the tuplespace.
|
|
|
Non-destructively read a tuple from the tuplespace.
See linda::TupleSpace::_in for details on the format of the template |
|
|
Non-destructively read a tuple from the tuplespace.
See linda::TupleSpace::_in for details on the format of the template |
|
||||||||||||
|
Move all tuples matching the template to another tuplespace.
See linda::TupleSpace::_in for details on the format of the template |
|
||||||||||||
|
Copy all tuples matching the template to another tuplespace.
See linda::TupleSpace::_in for details on the format of the template |
1.3.7