Logo SoCRocket

Transaction-Level Modeling Framework for Space Applications

Public Types | Public Member Functions | Static Public Member Functions | List of all members
SrModuleRegistry Class Reference

#include <sr_registry.h>

Collaboration diagram for SrModuleRegistry:

Public Types

typedef std::map< std::string,
SrModuleRegistry * > 
map_t
 
typedef std::map< std::string,
map_t
map_map_t
 
typedef sc_core::sc_object *(* factory_f )(sc_core::sc_module_name)
 
typedef bool(* isinstance_f )(sc_core::sc_object *obj)
 

Public Member Functions

 SrModuleRegistry (std::string group, std::string type, factory_f factory, isinstance_f isinstance, std::string file)
 
void included ()
 

Static Public Member Functions

static sc_core::sc_object * create_object_by_name (std::string group, std::string type, std::string name)
 
static bool is_type (std::string group, std::string type, sc_core::sc_object *obj)
 
static std::set< std::string > get_module_files (std::string group)
 
static std::set< std::string > get_module_names (std::string group)
 
static std::set< std::string > get_group_names ()
 

Member Typedef Documentation

typedef sc_core::sc_object*(* SrModuleRegistry::factory_f)(sc_core::sc_module_name)
typedef bool(* SrModuleRegistry::isinstance_f)(sc_core::sc_object *obj)
typedef std::map<std::string, map_t> SrModuleRegistry::map_map_t
typedef std::map<std::string, SrModuleRegistry *> SrModuleRegistry::map_t

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