gem5
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Classes | Functions | Variables
cxx_config.hh File Reference

C++-only configuration and instantiation support. More...

#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

void cxxConfigInit ( )

Initialise cxx_config_directory.

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

Variable Documentation

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


Generated on Fri Jun 9 2017 13:03:59 for gem5 by doxygen 1.8.6