torc-master
 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 
17 
18 namespace torc {
19 namespace generic {
20 
22  mDesignator = inSource;
23 }
24 
25 /**
26  * Set the pointer to the simulate.
27  *
28  * @param[in] inSource Pointer to the simulate
29  */
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  */
40  mTiming = inSource;
41 }
42 
44  mSimulate(), mTiming() {}
45 
47 
48 } // namespace generic
49 } // namespace torc
void setSimulate(const SimulateSharedPtr &inSource)
Represents all classes that can hold user comments.
Definition: Commentable.hpp:36
Represents class that can hold userData.
boost::shared_ptr< Simulate > SimulateSharedPtr
std::string string
void setDesignator(const std::string &inSource)
void setTiming(const TimingSharedPtr &inSource)
boost::shared_ptr< Timing > TimingSharedPtr