orca-sim
|
This file is part of project URSA. More...
#include <NetworkTile.h>
Public Member Functions | |
NetworkTile (uint32_t x, uint32_t y) | |
This file is part of project URSA. More... | |
~NetworkTile () | |
NetBridge * | GetSocket () |
std::string | ToString () |
HermesRouter * | GetRouter () |
Get current router of the PE. More... | |
Signal< uint32_t > * | GetSignalId () |
Get current signal for tile ID. More... | |
std::string | GetName () |
Get current tile name. More... | |
void | SetName (std::string) |
Set a name to this tile. More... | |
Private Attributes | |
std::string | _name |
NetBridge * | _socket |
This file is part of project URSA.
More information on the project can be found at URSA's repository at GitHub
http://https://github.com/andersondomingues/ursa
Copyright (C) 2018 Anderson Domingues, ti.an ders ondom ingu es@gm ail. com
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
Definition at line 45 of file NetworkTile.h.
NetworkTile::NetworkTile | ( | uint32_t | x, |
uint32_t | y | ||
) |
This file is part of project URSA.
More information on the project can be found at URSA's repository at GitHub
http://https://github.com/andersondomingues/ursa
Copyright (C) 2018 Anderson Domingues, ti.an ders ondom ingu es@gm ail. com
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. Default constructor. Instantiate and bind internal hardware to each other.
Definition at line 38 of file NetworkTile.cpp.
NetworkTile::~NetworkTile | ( | ) |
Definition at line 50 of file NetworkTile.cpp.
|
inherited |
Get current tile name.
|
inherited |
Get current router of the PE.
|
inherited |
NetBridge * NetworkTile::GetSocket | ( | ) |
Definition at line 55 of file NetworkTile.cpp.
|
inherited |
Set a name to this tile.
name | Name to be given to the tile. Please note that the name is autogenerated in accordance to the structure of the tile, so updating the name of the tile may not reflect on the naming of internal structures (to fix) |
std::string NetworkTile::ToString | ( | ) |
Definition at line 59 of file NetworkTile.cpp.
|
private |
Definition at line 49 of file NetworkTile.h.
|
private |
Definition at line 50 of file NetworkTile.h.