gem5
|
C++-only configuration and instantiation support. More...
Go to the source code of this file.
Classes | |
class | CxxConfigDirectoryEntry |
Config details entry for a SimObject. More... | |
class | CxxConfigDirectoryEntry::ParamDesc |
class | CxxConfigDirectoryEntry::PortDesc |
Similar to ParamDesc to describe ports. More... | |
class | CxxConfigParams |
Base for peer classes of SimObjectParams derived classes with parameter modifying member functions. More... | |
class | CxxConfigFileBase |
Config file wrapper providing a common interface to CxxConfigManager. More... | |
Functions | |
void | cxxConfigInit () |
Initialise cxx_config_directory. More... | |
Variables | |
std::map< std::string, CxxConfigDirectoryEntry * > | cxx_config_directory |
Directory of all SimObject classes config details. More... | |
C++-only configuration and instantiation support.
This allows a config to be read back from a .ini and instantiated without Python. Useful if you want to embed gem5 within a larger system without carrying the integration cost of the fully-featured configuration system.
This file contains definitions needed to store summaries of a SimObject's parameter structure
Definition in file cxx_config.hh.
void cxxConfigInit | ( | ) |
Initialise cxx_config_directory.
This is defined in the auto-generated .../cxx_config/init.cc
std::map<std::string, CxxConfigDirectoryEntry *> cxx_config_directory |
Directory of all SimObject classes config details.
Definition at line 45 of file cxx_config.cc.
Referenced by CxxConfigManager::findObjectType().