gem5  v21.1.0.2
Public Member Functions | Static Public Member Functions | Private Member Functions | Static Private Member Functions | Private Attributes | List of all members
gem5::EmbeddedPyBind Class Reference

#include <init.hh>

Public Member Functions

 EmbeddedPyBind (const char *_name, void(*init_func)(pybind11::module_ &), const char *_base)
 
 EmbeddedPyBind (const char *_name, void(*init_func)(pybind11::module_ &))
 

Static Public Member Functions

static void initAll ()
 

Private Member Functions

bool depsReady () const
 
void init (pybind11::module_ &m)
 

Static Private Member Functions

static std::map< std::string, EmbeddedPyBind * > & getMap ()
 

Private Attributes

void(* initFunc )(pybind11::module_ &)
 
bool registered
 
const std::string name
 
const std::string base
 

Detailed Description

Definition at line 84 of file init.hh.

Constructor & Destructor Documentation

◆ EmbeddedPyBind() [1/2]

gem5::EmbeddedPyBind::EmbeddedPyBind ( const char *  _name,
void(*)(pybind11::module_ &)  init_func,
const char *  _base 
)

◆ EmbeddedPyBind() [2/2]

gem5::EmbeddedPyBind::EmbeddedPyBind ( const char *  _name,
void(*)(pybind11::module_ &)  init_func 
)

Member Function Documentation

◆ depsReady()

bool gem5::EmbeddedPyBind::depsReady ( ) const
private

Definition at line 182 of file init.cc.

References base, and getMap().

Referenced by initAll().

◆ getMap()

std::map< std::string, EmbeddedPyBind * > & gem5::EmbeddedPyBind::getMap ( )
staticprivate

Definition at line 188 of file init.cc.

Referenced by depsReady(), and initAll().

◆ init()

void gem5::EmbeddedPyBind::init ( pybind11::module_ &  m)
private

Definition at line 171 of file init.cc.

References gem5::cprintf(), initFunc, gem5::ArmISA::m, name, and registered.

Referenced by initAll().

◆ initAll()

void gem5::EmbeddedPyBind::initAll ( )
static

Member Data Documentation

◆ base

const std::string gem5::EmbeddedPyBind::base
private

Definition at line 108 of file init.hh.

Referenced by depsReady().

◆ initFunc

void(* gem5::EmbeddedPyBind::initFunc) (pybind11::module_ &)
private

Definition at line 101 of file init.hh.

Referenced by init().

◆ name

const std::string gem5::EmbeddedPyBind::name
private

Definition at line 107 of file init.hh.

Referenced by init().

◆ registered

bool gem5::EmbeddedPyBind::registered
private

Definition at line 106 of file init.hh.

Referenced by init().


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

Generated on Tue Sep 21 2021 12:27:30 for gem5 by doxygen 1.8.17