gem5
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
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 83 of file init.hh.

Constructor & Destructor Documentation

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

Member Function Documentation

bool EmbeddedPyBind::depsReady ( ) const
private

Definition at line 181 of file init.cc.

References base, and getMap().

Referenced by initAll().

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

Definition at line 187 of file init.cc.

Referenced by depsReady(), and initAll().

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

Definition at line 170 of file init.cc.

References cprintf(), initFunc, name, and registered.

Referenced by initAll().

void EmbeddedPyBind::initAll ( )
static

Member Data Documentation

const std::string EmbeddedPyBind::base
private

Definition at line 103 of file init.hh.

Referenced by depsReady().

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

Definition at line 96 of file init.hh.

Referenced by init().

const std::string EmbeddedPyBind::name
private

Definition at line 102 of file init.hh.

Referenced by init().

bool EmbeddedPyBind::registered
private

Definition at line 101 of file init.hh.

Referenced by init().


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

Generated on Fri Jun 9 2017 13:04:09 for gem5 by doxygen 1.8.6