SST/macro
|
#include <factory.h>
Public Types | |
typedef SpktBuilder< T, Args... > | builder_t |
typedef T | element_type |
typedef std::map< std::string, builder_t * > | builder_map |
typedef std::map< std::string, std::list< std::string > > | alias_map |
Static Public Member Functions | |
static void | register_alias (const std::string &oldname, const std::string &newname) |
static void | clean_up () |
static void | register_name (const std::string &name, builder_t *descr) |
static void | add_to_map (const std::string &namestr, builder_t *desc, std::map< std::string, builder_t * > *descr_map, std::map< std::string, std::list< std::string > > *alias_map) |
static T * | get_value (const std::string &valname, sim_parameters *params, const Args &...args) |
static T * | get_extra_param (const std::string ¶m_name, sim_parameters *params, const Args &...args) |
static T * | get_param (const std::string ¶m_name, sim_parameters *params, const Args &...args) |
static T * | get_optional_param (const std::string ¶m_name, const std::string &defval, sim_parameters *params, const Args &...args) |
Static Public Attributes | |
static builder_map * | builder_map_ |
static alias_map * | alias_map_ |
static const char * | name_ |
Static Protected Member Functions | |
static T * | _get_value (const std::string &valname, sprockit::sim_parameters *params, const Args &...args) |
typedef std::map<std::string, std::list<std::string> > sprockit::Factory< T, Args >::alias_map |
typedef std::map<std::string, builder_t*> sprockit::Factory< T, Args >::builder_map |
typedef SpktBuilder<T,Args...> sprockit::Factory< T, Args >::builder_t |
typedef T sprockit::Factory< T, Args >::element_type |
|
inlinestaticprotected |
Definition at line 139 of file factory.h.
References spkt_throw_printf.
|
inlinestatic |
Definition at line 108 of file factory.h.
References pst::BasicStringTokenizer::tokenize(), and sprockit::trim_str().
|
inlinestatic |
Definition at line 85 of file factory.h.
Referenced by sprockit::CleanupFactory< Factory >::~CleanupFactory().
|
inlinestatic |
Definition at line 182 of file factory.h.
References get_param().
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
Definition at line 175 of file factory.h.
Referenced by sprockit::template_factory< T, Factory >::build(), and sprockit::template_factory2< T, Factory >::build().
|
inlinestatic |
|
inlinestatic |
Definition at line 97 of file factory.h.
Referenced by sprockit::SpktBuilderImpl< Child, Factory< Parent, Args... > >::SpktBuilderImpl().
|
static |
|
static |
|
static |