torc-master
Main Page
Related Pages
Namespaces
Data Structures
Files
File List
Globals
All
Data Structures
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Pages
DeviceSiteTypePin.hpp
Go to the documentation of this file.
1
// Torc - Copyright 2011-2013 University of Southern California. All Rights Reserved.
2
// $HeadURL$
3
// $Id$
4
5
// This program is free software: you can redistribute it and/or modify it under the terms of the
6
// GNU General Public License as published by the Free Software Foundation, either version 3 of the
7
// License, or (at your option) any later version.
8
//
9
// This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
10
// without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See
11
// the GNU General Public License for more details.
12
//
13
// You should have received a copy of the GNU General Public License along with this program. If
14
// not, see <http://www.gnu.org/licenses/>.
15
16
/// \file
17
/// \brief Header for the DeviceSiteTypePin class.
18
19
#ifndef TORC_PLACER_DEVICESITETYPEPIN_HPP
20
#define TORC_PLACER_DEVICESITETYPEPIN_HPP
21
22
#include <string>
23
24
namespace
torc {
25
namespace
placer {
26
27
class
DeviceSiteTypePin
{
28
protected
:
29
std::string
mName
;
30
31
int
mRowOffset
;
// these offsets tell you where the pin actually lives relative to the tile index of the site
32
int
mColOffset
;
33
//int mTileOffset; // these offsets tell you where the pin actually lives relative to the tile index of the site
34
35
public
:
36
DeviceSiteTypePin
(
std::string
& inName,
int
inRowOffset,
int
inColOffset) :
37
mName
(inName),
mRowOffset
(inRowOffset),
mColOffset
(inColOffset)
38
//PlacerSiteTypePin(std::string& inName, int inTileOffset) :
39
// mName(inName), mTileOffset(inTileOffset)
40
{ }
41
~DeviceSiteTypePin
() {}
42
std::string
&
getName
() {
43
return
mName
;
44
}
45
//int getOffset() {
46
// return mTileOffset;
47
//}
48
int
getRowOffset
() {
49
return
mRowOffset
;
50
}
51
int
getColOffset
() {
52
return
mColOffset
;
53
}
54
55
};
//class DeviceSiteTypePin
56
}
// namespace placer
57
}
// namespace torc
58
#endif // TORC_PLACER_DEVICESITETYPEPIN_HPP
torc::placer::DeviceSiteTypePin::getRowOffset
int getRowOffset()
Definition:
DeviceSiteTypePin.hpp:48
torc::placer::DeviceSiteTypePin::~DeviceSiteTypePin
~DeviceSiteTypePin()
Definition:
DeviceSiteTypePin.hpp:41
torc::placer::DeviceSiteTypePin::getColOffset
int getColOffset()
Definition:
DeviceSiteTypePin.hpp:51
torc::placer::DeviceSiteTypePin::DeviceSiteTypePin
DeviceSiteTypePin(std::string &inName, int inRowOffset, int inColOffset)
Definition:
DeviceSiteTypePin.hpp:36
torc::placer::DeviceSiteTypePin::getName
std::string & getName()
Definition:
DeviceSiteTypePin.hpp:42
torc::bitstream::string
std::string string
Definition:
LibGenFactory.hpp:35
torc::placer::DeviceSiteTypePin::mColOffset
int mColOffset
Definition:
DeviceSiteTypePin.hpp:32
torc::placer::DeviceSiteTypePin::mName
std::string mName
Definition:
DeviceSiteTypePin.hpp:29
torc::placer::DeviceSiteTypePin::mRowOffset
int mRowOffset
Definition:
DeviceSiteTypePin.hpp:31
torc::placer::DeviceSiteTypePin
Definition:
DeviceSiteTypePin.hpp:27
src
torc
placer
DeviceSiteTypePin.hpp
Generated on Thu Dec 18 2014 16:30:36 for torc-master by
1.8.6