SST/macro
Public Member Functions | List of all members
sstmac::hw::clone_factory< CloneType, CloneArg1 > Class Template Referenceabstract

#include <clonable.h>

Collaboration diagram for sstmac::hw::clone_factory< CloneType, CloneArg1 >:
Collaboration graph

Public Member Functions

virtual CloneType clone (const CloneArg1 &arg1) const =0
 
virtual ~clone_factory ()
 

Detailed Description

template<class CloneType, class CloneArg1>
class sstmac::hw::clone_factory< CloneType, CloneArg1 >

Definition at line 9 of file clonable.h.

Constructor & Destructor Documentation

template<class CloneType , class CloneArg1 >
virtual sstmac::hw::clone_factory< CloneType, CloneArg1 >::~clone_factory ( )
inlinevirtual

Definition at line 20 of file clonable.h.

Member Function Documentation

template<class CloneType , class CloneArg1 >
virtual CloneType sstmac::hw::clone_factory< CloneType, CloneArg1 >::clone ( const CloneArg1 &  arg1) const
pure virtual
Parameters
arg1A parameter for creating the clone
Returns
The cloned object
Exceptions
sprockit::value_errorIf invalid parameter passed in

The documentation for this class was generated from the following file: