gem5  v20.1.0.0
Public Member Functions | Static Public Member Functions | Private Member Functions | Static Private Member Functions | Private Attributes | List of all members
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 81 of file init.hh.

Constructor & Destructor Documentation

◆ EmbeddedPyBind() [1/2]

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

◆ EmbeddedPyBind() [2/2]

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

Member Function Documentation

◆ depsReady()

bool EmbeddedPyBind::depsReady ( ) const
private

Definition at line 180 of file init.cc.

References base, and getMap().

Referenced by initAll().

◆ getMap()

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

Definition at line 186 of file init.cc.

Referenced by depsReady(), and initAll().

◆ init()

void EmbeddedPyBind::init ( pybind11::module &  m)
private

Definition at line 169 of file init.cc.

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

Referenced by initAll().

◆ initAll()

void EmbeddedPyBind::initAll ( )
static

Member Data Documentation

◆ base

const std::string EmbeddedPyBind::base
private

Definition at line 105 of file init.hh.

Referenced by depsReady().

◆ initFunc

void(* EmbeddedPyBind::initFunc) (pybind11::module &)
private

Definition at line 98 of file init.hh.

Referenced by init().

◆ name

const std::string EmbeddedPyBind::name
private

Definition at line 104 of file init.hh.

Referenced by init().

◆ registered

bool EmbeddedPyBind::registered
private

Definition at line 103 of file init.hh.

Referenced by init().


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

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