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
InterfaceAttributes.cpp
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
#include "
torc/generic/InterfaceAttributes.hpp
"
17
18
namespace
torc {
19
namespace
generic {
20
21
void
InterfaceAttributes::setDesignator
(
const
std::string
& inSource) {
22
mDesignator
= inSource;
23
}
24
25
/**
26
* Set the pointer to the simulate.
27
*
28
* @param[in] inSource Pointer to the simulate
29
*/
30
void
InterfaceAttributes::setSimulate
(
const
SimulateSharedPtr
& inSource) {
31
mSimulate
= inSource;
32
}
33
34
/**
35
* Set the pointer to the timing object
36
*
37
* @param[in] inSource Pointer to the timing object
38
*/
39
void
InterfaceAttributes::setTiming
(
const
TimingSharedPtr
& inSource) {
40
mTiming
= inSource;
41
}
42
43
InterfaceAttributes::InterfaceAttributes
() :
Commentable
(),
UserDataContainer
(), mDesignator(),
44
mSimulate(), mTiming() {}
45
46
InterfaceAttributes::~InterfaceAttributes
() throw () {}
47
48
}
// namespace generic
49
}
// namespace torc
torc::generic::InterfaceAttributes::setSimulate
void setSimulate(const SimulateSharedPtr &inSource)
Definition:
InterfaceAttributes.cpp:30
torc::generic::InterfaceAttributes::mDesignator
std::string mDesignator
Definition:
InterfaceAttributes.hpp:85
torc::generic::InterfaceAttributes::mTiming
TimingSharedPtr mTiming
Definition:
InterfaceAttributes.hpp:87
torc::generic::InterfaceAttributes::~InterfaceAttributes
~InterfaceAttributes()
Definition:
InterfaceAttributes.cpp:46
torc::generic::Commentable
Represents all classes that can hold user comments.
Definition:
Commentable.hpp:36
InterfaceAttributes.hpp
torc::generic::UserDataContainer
Represents class that can hold userData.
Definition:
UserDataContainer.hpp:35
torc::generic::SimulateSharedPtr
boost::shared_ptr< Simulate > SimulateSharedPtr
Definition:
PointerTypes.hpp:182
torc::bitstream::string
std::string string
Definition:
LibGenFactory.hpp:35
torc::generic::InterfaceAttributes::InterfaceAttributes
InterfaceAttributes()
Definition:
InterfaceAttributes.cpp:43
torc::generic::InterfaceAttributes::setDesignator
void setDesignator(const std::string &inSource)
Definition:
InterfaceAttributes.cpp:21
torc::generic::InterfaceAttributes::setTiming
void setTiming(const TimingSharedPtr &inSource)
Definition:
InterfaceAttributes.cpp:39
torc::generic::InterfaceAttributes::mSimulate
SimulateSharedPtr mSimulate
Definition:
InterfaceAttributes.hpp:86
torc::generic::TimingSharedPtr
boost::shared_ptr< Timing > TimingSharedPtr
Definition:
PointerTypes.hpp:226
src
torc
generic
InterfaceAttributes.cpp
Generated on Thu Dec 18 2014 16:30:37 for torc-master by
1.8.6