|
IRON 1.0
|

Public Member Functions | |
| __init__ (self, PlacementTile|None tile) | |
| None | place (self, Tile tile) |
| PlacementTile|None | tile (self) |
Protected Attributes | |
| _tile | |
Private Attributes | |
| __class__ | |
Placeable is a base class of an object that might be Placed by a Placer.
| iron.placeable.Placeable.__init__ | ( | self, | |
| PlacementTile | None | tile | ||
| ) |
Initialize a Placeable object.
Args:
tile (PlacementTile): A placeable object has a tile. This may be None during construction.
Reimplemented in iron.worker.Worker, iron.dataflow.objectfifo.ObjectFifoLink, iron.runtime.endpoint.RuntimeEndpoint, and iron.globalbuffer.GlobalBuffer.
| None iron.placeable.Placeable.place | ( | self, | |
| Tile | tile | ||
| ) |
Place the object by assigning the object to a Tile.
Args:
tile (Tile): The placement tile.
Raises:
AlreadyPlacedError: If the object's tile is already set to a Tile object.
Reimplemented in iron.worker.Worker.
| PlacementTile | None iron.placeable.Placeable.tile | ( | self | ) |
Return the tile of the placeable object.
Returns:
PlacementTile: The current placement of the object.
|
private |
|
protected |