torc-master
|
Encapsulation of a tile within a device tile map. More...
#include <TileInfo.hpp>
Public Member Functions | |
TileInfo (void) | |
Null constructor. More... | |
~TileInfo (void) | |
Non-virtual destructor. More... | |
const TileTypeIndex & | getTypeIndex (void) const |
Returns the tile type index for this tile. More... | |
const TileRow & | getRow (void) const |
Returns the row for this tile. More... | |
const TileCol & | getCol (void) const |
Returns the column for this tile. More... | |
const char * | getName (void) const |
Returns the name for this tile. More... | |
Protected Types | |
typedef boost::uint32_t | uint32_t |
Imported type name. More... | |
typedef boost::int32_t | int32_t |
Imported type name. More... | |
typedef xilinx::TileTypeIndex | TileTypeIndex |
Imported type name. More... | |
typedef xilinx::TileRow | TileRow |
Imported type name. More... | |
typedef xilinx::TileCol | TileCol |
Imported type name. More... | |
Protected Member Functions | |
void | set (const TileTypeIndex &inTypeIndex, const TileRow &inRow, const TileCol &inCol, const char *inName) |
Protected initializer intended for use by the Tiles class. More... | |
TileInfo (const TileInfo &) | |
Disabled copy constructor. More... | |
Protected Attributes | |
TileTypeIndex | mTypeIndex |
The tile type index for this tile. More... | |
TileRow | mRow |
The row for this tile. More... | |
TileCol | mCol |
The column for this tile. More... | |
const char * | mName |
The name for this tile. More... | |
Friends | |
class | Tiles |
The Tiles class has access to our protected members. More... | |
class | torc::architecture::architecture::TileInfoUnitTest |
Our unit test has direct access to our internals. More... | |
uint32_t | manhattanDistance (const TileInfo &inA, const TileInfo &inB) |
Returns the Manhattan distance between two tiles. More... | |
Encapsulation of a tile within a device tile map.
Definition at line 33 of file TileInfo.hpp.
|
protected |
Imported type name.
Definition at line 42 of file TileInfo.hpp.
|
protected |
Imported type name.
Definition at line 45 of file TileInfo.hpp.
|
protected |
Imported type name.
Definition at line 44 of file TileInfo.hpp.
|
protected |
Imported type name.
Definition at line 43 of file TileInfo.hpp.
|
protected |
Imported type name.
Definition at line 41 of file TileInfo.hpp.
|
inlineprotected |
Disabled copy constructor.
Definition at line 74 of file TileInfo.hpp.
|
inline |
Null constructor.
Definition at line 78 of file TileInfo.hpp.
|
inline |
Non-virtual destructor.
Definition at line 80 of file TileInfo.hpp.
|
inline |
Returns the column for this tile.
Definition at line 96 of file TileInfo.hpp.
|
inline |
Returns the name for this tile.
Definition at line 98 of file TileInfo.hpp.
|
inline |
Returns the row for this tile.
Definition at line 94 of file TileInfo.hpp.
|
inline |
Returns the tile type index for this tile.
Definition at line 92 of file TileInfo.hpp.
|
inlineprotected |
Protected initializer intended for use by the Tiles class.
inTypeIndex | The tile type index. |
inRow | The tile row. |
inCol | The tile column. |
inName | The tile name. |
Definition at line 61 of file TileInfo.hpp.
Returns the Manhattan distance between two tiles.
Definition at line 86 of file TileInfo.hpp.
|
friend |
The Tiles class has access to our protected members.
Definition at line 36 of file TileInfo.hpp.
|
friend |
Our unit test has direct access to our internals.
Definition at line 38 of file TileInfo.hpp.
|
protected |
The column for this tile.
Definition at line 52 of file TileInfo.hpp.
|
protected |
The name for this tile.
Definition at line 54 of file TileInfo.hpp.
|
protected |
The row for this tile.
Definition at line 50 of file TileInfo.hpp.
|
protected |
The tile type index for this tile.
Definition at line 48 of file TileInfo.hpp.