SimObjectCloneFactory< T > Class Template Reference

This class provides the functionality for cloning SimObject instances. More...

#include <SimObjectCloneFactory.h>

Inheritance diagram for SimObjectCloneFactory< T >:

Inheritance graph
[legend]
Collaboration diagram for SimObjectCloneFactory< T >:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 SimObjectCloneFactory (T &src)
 SimObjectCloneFactory (void)
virtual ~SimObjectCloneFactory ()
virtual SimObjectcreate (void) const
virtual SimObjectcreate (RandomEngine *) const
virtual object_type_t getObjectTypeID () const

Protected Attributes

source


Detailed Description

template<class T>
class SimObjectCloneFactory< T >

This class provides the functionality for cloning SimObject instances.

Definition at line 8 of file SimObjectCloneFactory.h.


Constructor & Destructor Documentation

template<class T>
SimObjectCloneFactory< T >::SimObjectCloneFactory ( T &  src  )  [inline]

Definition at line 13 of file SimObjectCloneFactory.h.

template<class T>
SimObjectCloneFactory< T >::SimObjectCloneFactory ( void   )  [inline]

Definition at line 16 of file SimObjectCloneFactory.h.

template<class T>
virtual SimObjectCloneFactory< T >::~SimObjectCloneFactory (  )  [inline, virtual]

Definition at line 19 of file SimObjectCloneFactory.h.


Member Function Documentation

template<class T>
virtual SimObject* SimObjectCloneFactory< T >::create ( void   )  const [inline, virtual]

Reimplemented from SimObjectFactory.

Definition at line 22 of file SimObjectCloneFactory.h.

References SimObjectCloneFactory< T >::source.

template<class T>
virtual SimObject* SimObjectCloneFactory< T >::create ( RandomEngine  )  const [inline, virtual]

Reimplemented from SimObjectFactory.

Definition at line 27 of file SimObjectCloneFactory.h.

References SimObjectCloneFactory< T >::source.

template<class T>
virtual object_type_t SimObjectCloneFactory< T >::getObjectTypeID (  )  const [inline, virtual]

Reimplemented from SimObjectFactory.

Definition at line 32 of file SimObjectCloneFactory.h.


Member Data Documentation

template<class T>
T SimObjectCloneFactory< T >::source [protected]

Definition at line 35 of file SimObjectCloneFactory.h.

Referenced by SimObjectCloneFactory< T >::create().


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

Generated on Wed Jul 9 16:34:53 2008 for PCSIM by  doxygen 1.5.5