gem5  v20.1.0.0
Classes | Functions | Variables
cxx_config.hh File Reference
#include <map>
#include <string>
#include <vector>
#include "sim/sim_object.hh"

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...
 

Detailed Description

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.

Function Documentation

◆ cxxConfigInit()

void cxxConfigInit ( )

Initialise cxx_config_directory.

This is defined in the auto-generated .../cxx_config/init.cc

Variable Documentation

◆ cxx_config_directory

std::map<std::string, CxxConfigDirectoryEntry *> cxx_config_directory

Directory of all SimObject classes config details.

Definition at line 43 of file cxx_config.cc.

Referenced by CxxConfigManager::findObjectType().


Generated on Wed Sep 30 2020 14:02:19 for gem5 by doxygen 1.8.17