SST/macro
Public Member Functions | Private Attributes | List of all members
sprockit::template_factory2< T, Factory > Class Template Reference

#include <factory.h>

Inheritance diagram for sprockit::template_factory2< T, Factory >:
Inheritance graph
Collaboration diagram for sprockit::template_factory2< T, Factory >:
Collaboration graph

Public Member Functions

 template_factory2 (const std::string &param_name)
 
T * build (sim_parameters *params, sprockit::factory_type *ft)
 
- Public Member Functions inherited from sprockit::factory2< T >
virtual ~factory2 ()
 

Private Attributes

std::string param_name_
 

Detailed Description

template<class T, class Factory>
class sprockit::template_factory2< T, Factory >

Definition at line 266 of file factory.h.

Constructor & Destructor Documentation

template<class T , class Factory >
sprockit::template_factory2< T, Factory >::template_factory2 ( const std::string &  param_name)
inline

Definition at line 269 of file factory.h.

Member Function Documentation

template<class T , class Factory >
T* sprockit::template_factory2< T, Factory >::build ( sim_parameters *  params,
sprockit::factory_type ft 
)
inlinevirtual

Implements sprockit::factory2< T >.

Definition at line 274 of file factory.h.

References sprockit::Factory< T, Args >::get_value().

Here is the call graph for this function:

Member Data Documentation

template<class T , class Factory >
std::string sprockit::template_factory2< T, Factory >::param_name_
private

Definition at line 281 of file factory.h.


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