SST/macro
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
sstmac
hardware
common
clonable.h
Go to the documentation of this file.
1
#ifndef CLONABLE_H
2
#define CLONABLE_H
3
4
5
namespace
sstmac
{
6
namespace
hw {
7
8
template
<
class
CloneType,
class
CloneArg1>
9
class
clone_factory
{
10
public
:
11
12
/**
13
@param arg1 A parameter for creating the clone
14
@return The cloned object
15
@throws sprockit::value_error If invalid parameter passed in
16
*/
17
virtual
CloneType
18
clone
(
const
CloneArg1& arg1)
const
= 0;
19
20
virtual
~clone_factory
() {}
21
};
22
23
}
24
}
25
26
#endif // CLONABLE_H
27
sstmac
SUMI = Simulator unified messagine interface It is also the name for a solid ink in Japanese - i...
Definition:
parallel_runtime.h:18
sstmac::hw::clone_factory::~clone_factory
virtual ~clone_factory()
Definition:
clonable.h:20
sstmac::hw::clone_factory::clone
virtual CloneType clone(const CloneArg1 &arg1) const =0
sstmac::hw::clone_factory
Definition:
clonable.h:9
Generated by
1.8.11